• 0

Wordpress: How do I develop/configure a new theme without touching current theme?


Question

HI,

I have an existing wordpress theme that is live and want to install a new theme and switch it when it is configure ready. However, I don't want to create a local wordpress for development and want to do it on the fly in the production site. I understand that the site needs to flip to the new theme in order to configure it but I don't want that yet until I have everything configured.

 

So how do I develop/configure a new wordpress theme behind the scene and switch to the new theme when it is ready? Do I need to install some kind of plugin? 

 

Thx

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
2 hours ago, fusi0n said:

I usually make a subdomain then use wpclone to move it over. There isn't a way to work on a non-live theme.. 

I see.

Then, I can probably create a local enviorment and develop there and use WPclone to clone the theme into live site and activate it and will look exactly the same as my local?

Link to comment
Share on other sites

  • 0
8 minutes ago, perochan said:

I see.

Then, I can probably create a local enviorment and develop there and use WPclone to clone the theme into live site and activate it and will look exactly the same as my local?

 
 
 
 

Yes. You'll also need to make some rewrite rules in your wp-config.php after change over. What will happen, all the links will be subdomain.domain.com instead of domain.com
Enter this afterwards, with of course your real domain.
define('WP_HOME','http://example.com');

define('WP_SITEURL','http://example.com');

Also, don't use wpclone, I forgot I had issues with it, and it might not be updated anymore.. But, I started using "All-in-One WP Migration" and it works a lot better.. Also great for backing up your site you don't want to FTP/Export the mysql table manually.. But, your webhost my do backups for you.. I highly recommend using a VPS and install the LAMP stack. When you have that, you can use memcached from the w3 plugin.. Really helps the Google Page Insights speed test that help with SEO reasons. 

Edited by fusi0n
Link to comment
Share on other sites

This topic is now closed to further replies.