• 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

3 answers to this question

Recommended Posts

  • 0
  On 02/11/2016 at 19:18, 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.. 

Expand  

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?

  • 0
  On 02/11/2016 at 21:21, 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?

Expand  
 
 
 
 

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
This topic is now closed to further replies.
  • Posts

    • Some help with this plz.
    • Yeah, this was a major miss by MS. Having no way (without 3rd party software or running commands) to see the system time in seconds is just dumb. I get that is uses more battery power, so that is way it was on the notification screen instead of the taskbar itself, that screen isn't up all that often.
    • I totally agree. I may not love Windows 11, but I agree (and often point out) that the anti-11 hype is way over blown. I kind of suspect that as people are forced off Windows 10 onto the (likely) Windows 11 25H2 we will hear a ton of people acting like Windows 11 is finally usable for the first time. Hey, if that is their opinion, fine, but I can't help but wonder if they would have had the same option had they been forced onto version 23H2 or 24H2.
    • I have often thought this as well!! Why make a menu when 80% of the time Uninstall is the only option, and the other 20% of the time Repair is the only other option? That UI has plenty of room for those to appear as buttons...which would be more touch friendly too, something MS claims to care about.
    • People might assume I am a Win11 fan/supporter because I frequently call out what I preserve to either be exaggerations or misinformation about Windows 11. I try not to ever take sides. Just because I disagree with a statement made, doesn't mean I agree with the opposition, or even disagree with the sentiment behind the person making the statement. I have on occasion gotten in disagreements with people making overly glossy statements about Windows 11 or Windows in general, just like I have (on other forums) gotten into political disagreements with people who are on my side (to the extent having a "side" is even a thing when it comes to complex issues). Like any human, I am far from perfect, but I try my best to not be dogmatic with my thoughts.
  • Recent Achievements

    • Apprentice
      Wireless wookie went up a rank
      Apprentice
    • Week One Done
      bukro earned a badge
      Week One Done
    • One Year In
      Wulle earned a badge
      One Year In
    • One Month Later
      Wulle earned a badge
      One Month Later
    • One Month Later
      Simmo3D earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      610
    2. 2
      ATLien_0
      283
    3. 3
      +FloatingFatMan
      179
    4. 4
      Michael Scrip
      151
    5. 5
      Steven P.
      112
  • Tell a friend

    Love Neowin? Tell a friend!