Test a new theme in Wordpress without losing the previous theme changes

Asked

Viewed 3,032 times

5

Hello, I recently created a wordpress blog, I liked the theme, until a few days ago, but now I’m starting to think that it is not very blog guy. I’m using the oblique theme. The blog is already in the air, however, in this theme I changed a lot in php directly.

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

From now on, thank you.

2 answers

5


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

No. Wordpress allows you to move between themes without any problem, assuming that the same has been developed following the the general rules for the development of themes. What you can "lose" are hardcodes that you did right into the subject, like <h1> Meu Blog lindão </h1>, but this is restored 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 form of display content, and not for storing it. With this in mind, its development will become more coherent.

  • Ah got it. In my case, I’m using oblique but it’s not Child Theme. Now, if I want to test another theme, can I test Child Theme over it? How do I know if the theme I want is a Child Theme? Sorry for the delay, I was studying the possibilities.

  • 1

    Child themes are for you to make changes to themes without you need to change the original. If you are using this oblique, and want to test another, just activate the other. Child themes can be identified by the name of your folder. If you want to make a Child of this oblique, just create a theme in a folder called oblique-child

  • I get it, you’ve really enlightened me. Thank you ;)

3

I will make available two methods that I think are appropriate to the issue:

First Method: There are several possibilities that can be used in this case, one of which may be easier is to use a plugin, there are several plugins for the effect of backups, in these plugins will be sent to your email the backup of your website as it is at the time the backup is made, then in case you want to go back to the old theme just go back to the 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 various reasons. I advise a Backup Manual, using the FTP tool, for example the program Filezilla FTP, the ftp features of your website are made available by the hosting provider in its control panel. Already inside the FTP, You can copy all the files and save them to a folder on your computer, keep that same folder saved. Then you can change the theme if you want to go back just 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 store changes to the theme in their backups. when restore it keeps these changes and has nothing of the later theme that put.

(An extra, if you want to search some plugins for this subject or other subjects, you can do it in Wordpress Plugins).

I hope I’ve helped. Regards.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.