[…] themes in WordPress. From How To Protect Your WordPress Theme Against Upgrades (via Parent Child Themes and How I used a WordPress Child Theme To Redesign My Blog The Smart Way): Problem: You’ve […]
[…] So the dreaded word “framework” creeps into the WordPress discussion […]
[…] même des thèmes. Personnellement, j’attends de voir ce que ça va donner avec impatience. On a pas mal entendu parler de ces thèmes “enfants” ces dernières semaines et il paraît que c’est vraiment quelque chose de nouveau… Je demande donc à voir […]
Thanks for pointing out this fine demonstration of how to achieve the parent-child theming which allows, among other things, to do more advanced customizing in the menu zone.
From what I read in the article and related articles it is best used for CSS and PHP changes to a theme so that if/when you upgrade the theme you don’t have to redo the changes you may have customized. http://themeshaper.com/how-to-.....-upgrades/
The inheritance is achieved by adding the “Template:” line in the css.
rtfm @ http://codex.wordpress.org/The.....tyle_Sheet
You are not the only one that didn’t know it existed but I agree with what Luna but other then that, I don’t really see a point.
Actually all designs you can download for the Sandbox theme is child themes of Sandbox.
The way I know it, child theme uses all its parent’s PHP theme files (thus its functionalities), while it only provides the CSS and images. If you take a look inside a child theme folder, you will only see a style.css file (plus optional images), without all the usual php stuff.
So like what Kristin above explains, all the designs for Sandbox theme are child themes of Sandbox: they use all of Sandbox’s functionalities, only providing different look.
The templates of a child theme needs to much html for me. Zen garden ist beautiful, but this is nothing for css beginners
And all designs at Zen garden are Child Themes.
Most of this themes – Sandbox too- are really *div layouts*
more div container than content
Monika
Definitely check out the Sandbox theme and all the assorted sub-themes. They’ve been using this parent-child scheme for quite a while. You install the sandbox theme first, and then any of the themed-sandboxes. Most of the subthemes are just CSS.
going to have to seriously look into this. Very interesting, Thank You for the info.
one caveat: You cannot create “page template” with child theme scheme, WP only looks for template files inside parent directory.