-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Topic Idea: Transfer staging site design and layout to the live site without losing current data from the live site. #1983
Comments
Isn't this basically designing a block theme on a staging area (local or cloud)? Then, when finished, uploading the new theme to the live site so it can be used? |
@DjWellz is the process that @askdesign is describing what you are looking for? So
|
@jonathanbossenger This sounds like an Advanced WordPress User / Developer lesson -- is this something you're considering in the current learning pathways or could be for a new course? |
@Piyopiyo-Kitsune, thanks for tagging me here. We cover how to use Create Block theme to export themes to an installable zip in this lesson so I'm inclined to close this for now. Anyone who feels that this should still be added somewhere can re-open it and provide more context. |
I apologize for the late reply. I'm an end user who has been struggling to understand why a staging site can't maintain and sync data (posts, sales info, comments, etc.) with the live site at all times. This would allow the staging site to be activated once the design is complete, without any data loss. |
Hi @DjWellz I'm also sorry to only reply so late, but I've been on leave for 2 weeks.
The reason this happens is that a staging site will usually have its own database, and when it's created, it will simply be a copy of the existing data from the live site. This is done intentionally, as you wouldn't want any testing data from the staging site to be populated over to the live site. As mentioned earlier, it is currently possible to design the layout on the staging site and then export it as a custom theme to be populated to the live site using something like the Create Block Theme plugin. @westnz Does the above sound like something that might make sense as part of the advanced user learning pathway? Perhaps you've already planning a module on this? |
Yes, we do plan to cover that in the Advanced user learning pathway 😃 |
@jonathanbossenger I'm sure that others with similar situations to mine would very much appreciate a tutorial showing the process for going from classic theme to block theme with minimal loss. All the best, |
It looks like this is planned for the Advanced user learning pathway, my guess would be this lesson on Create Block Theme, so I'm going to close this issue again, while that lesson is in development. |
Details
For example, on the live site we install the new block theme to match the one used on the staging site, and then when ready, activate it, and then import the design/layout info from the staging site so that the live site now looks the same as the staging site but it also remains up to date since the current data on the live site would not be overwritten.
Related Resources
Next steps for SMEs
Please follow the team handbook "Vetting topic ideas" to vet this topic.
The text was updated successfully, but these errors were encountered: