Tagged: cloning themes, preservation of tweaks
- This topic has 3 replies, 2 voices, and was last updated 12 years, 8 months ago by
Sebastian.
Author | Posts |
---|---|
vargula
July 18, 2012 at 11:44 am
|
Heads up! this post was created when Microthemer was at version 1. The current version is 7. Some references to the interface may be out of date. Hi Sebastian, so the story so far: this great tool called Microthemer allowed me to tweak all of the problems out of my site with the forum Q&A help – a task that would have been impossible by any other route. That is fantastic, thanks. I’m now in a different phase, where I need to “clone” my design and essentially begin again on a second “companion” site, retaining all of the design tweaks (originally evolved from the Twenty Eleven theme). I am concerned about “breaking”anything and also the fact that I learned too late that I should have had a child theme in place to prevent WP upgrades losing all of the key design change decisions. So my problem is… how can I “preserve” a heavily tweaked theme (as now operating at http://www.miconsent.org) in a CLEAN way – i.e. so I can use the design as a basis for re-population of the design with different content. As mentioned I forgot to do the child theme trick (didn’t know about it) so ideally I would like to fix that problem in the process, i.e. when I begin again try and get the advantages of updated WP versions as time goes on (without losing hard-won tweaks). Many thanks for your sage advice. Do let me know how I can legitimately help promote Microthemer it really is the best thing since sliced bread. Ed |
Sebastian
July 18, 2012 at 12:17 pm
|
Hi Ed, It’s great to hear that you’re still enjoying using Microthemer. 1. To create a child theme for Twenty Eleven, you just need to create a directory in /wp-content/themes/ called “mychild” (for instance). Then, you copy style.css from the /wp-content/themes/twentyeleven/ directory to your mychild directory, open style.css and then change the meta info at the top to: /* You can then activate your child theme via WordPress. Now WordPress will use the stylesheet in your child Theme instead of the stylesheet in Twenty Eleven – but it will use all of the other (mainly PHP) files in /wp-content/themes/twentyeleven/. Out of curiosity, what changes did you lose when you updated Twenty Eleven? If you applied all of your design tweaks via Microthemer, they should have been preserved through the update. 2. To clone the design you created in Microthemer over to another WordPress install, do the following: – In the Microthemer UI, export your settings as a Micro Theme by checking the “Export to Theme” checkbox. I hope that helps. If you want to help promote Microthemer please tell your friends! Cheers, Sebastian |
vargula
August 1, 2012 at 8:35 am
|
Hi This has led to a different problem, so I’ll start another thread. Thanks for tips above – in my tips archive! Re differences on upgrade that didn’t happen with current site (I’m too scared to update it ;-). I just remember when first learning WP that my tweaks reset to default (because I hadn’t made the child theme presumably). Microthemer wasn’t in my toolbox then 😉 Ed |
Sebastian
August 1, 2012 at 10:34 am
|
OK, thanks for posting back. |