Test a new theme in WordPress without missing the changes of the previous theme [closed]

closed. this question is out of scope and is not currently accepting answers.

want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 5 years ago .

improve this question

Hello, I recently created a blog on wordpress, I liked the theme, until a few days ago, but now I'm starting to find that it is not very blog-like. I'm using the oblique theme. We blog is already in the air, however, in this topic I changed a lot in php directly.

I would like to know if I install another theme on my wordpress that is already online, if I run the risk of losing what I already have in case I want to go back to the previous theme. And if I make changes to test on the new theme, how it saves the changes in the same database, whether it will interfere with the previous theme.

Right now, thank you.

Author: Miguel Soeiro, 2015-12-28

2 answers

I would like to know if I install another theme on my wordpress that is already online, if I run the risk of losing what I already have in case I want to go back to the previous theme

No. WordPress allows you to transition between themes without any problem, assuming that it has been developed following the general rules of theme development . What you can "miss" are hardcodes that you made straight into the theme, like <h1> Meu Blog lindão </h1>, but this restores itself when you reactivate your theme.

My advice is that you consider child themes when you want to make any changes to a theme, even to keep it consistent with possible updates. Also, themes serve to change the shape of display content, and not for storage of the same. With this in mind, your development will become more coherent.

 5
Author: Caio Felipe Pereira, 2015-12-29 09:54:55

I will make available 2 methods that I think are suitable for the Question:

First Method: There are several possibilities that can be used in this case, one of them that may be the easiest is to use a plugin, there are several plugins for the purpose of backups, in these plugins will be sent to your email the backup of your website as it is at the time when the backup is made, then if back to backup done.

Second Method: But the way I advise is not this, since during the process of backups there may be some errors, which may be due to several reasons. I advise a manual backup, using the FTP tool, for example the program Filezilla FTP, the ftp features of your website are made available by the hosting provider, in your control panel. Already inside the FTP , you can copy all the files and save to a folder on your computer, stay with that same folder saved. Then you can change the theme, if you want to go back enough, go back to FTP and delete all the files and restore all the files that were in the backup folder on your computer.

These two methods will save changes to the theme in your backups. when reset it keeps those changes and has nothing of the later theme it put.

(an extra, in case you want to search for some plugins for this or other subject, you can do so in WordPress Plugins ).

I hope I helped. greetings.

 3
Author: Miguel Soeiro, 2015-12-29 00:40:46