Solved

Two versions of the same theme in Wordpress.

Posted on 2015-01-13
3
271 Views
Last Modified: 2015-02-04
having a wordpress theme installed on my website, along with a child theme, I have made some alterations to the parent theme as well  to the child theme. I would like to start from scratch again, and keeping the option to use the old theme, when I am not working on the new one. Is it possible to have multiple versions of the same theme, ie. is it possible to install another "instance" of the existing pair of child and parent themes so that WP will allow me to switsch from the old set of themes to the new set, so that visitors to the theme will only experience downtime og reduced functionality while I am actually working on the new theme.

I suspect that I would be able to install another child theme, and name it differently in the child version of the style.css, but I am afraid that I have made some changes to the parent theme as well. So what I am asking is really if it is possible to install the existing parent theme with another name, and reference that name in a new child theme.

I do not see why not, but if my "experience" in this field has told me anything, it must be that I should trust the ideas, I believe to be obvious
0
Comment
Question by:Lars Ploug
3 Comments
 
LVL 35

Accepted Solution

by:
Kimputer earned 500 total points
ID: 40546190
Themes are stored in folders inside wp-content\themes (each theme has its own folder)
Just copying a folder will directly show it in the themes setup (another theme is added). So yes, you can have multiple themes, copies of each other, or having slight changes. Just name it properly so you don't get confused.
So besides the proper folder name, also edit this line in the style.css file inside that folder:

Theme Name: xxx

Open in new window


(Otherwise you will have two same theme names inside Wordpress, and you will definitely get confused)
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40546768
Kimputer is correct and I agree that should work.  The only possible problem I can foresee is if the theme author did something dumb and hard coded the original theme folder name in a path to something.  This shouldn't be the case, though.
0
 
LVL 7

Expert Comment

by:Alicia St Rose
ID: 40550104
Alternatively, you can install wordpress in a subdomain, a sort of sandbox, and work on that site, then move the themes to the live site when you're ready.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Read about why website design really matters in today's demanding market.
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now