• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

  • 0
Sign in to follow this  

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

Question

perochan    150

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

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
+fusi0n    2,047

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

Share this post


Link to post
Share on other sites
  • 0
perochan    150
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?

Share this post


Link to post
Share on other sites
  • 0
+fusi0n    2,047
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.