Solved

Two versions of the same theme in Wordpress.

Posted on 2015-01-13
3
267 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
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…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

744 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

9 Experts available now in Live!

Get 1:1 Help Now