A question from a reader has prompted this post. What makes a WordPress Theme Framework? I say, any WordPress theme can be a theme framework.
I’m researching Thematic and would really like some clarification on child themes. You say several places to use a child theme but I couldn’t find a list — is Junction the only one? I’m very interested in your comment that “if you’re starting with a Child Theme any WordPress theme becomes a blank framework”. But how? Could you explain a bit? Maybe a step-by-step explanation? Do you install Thematic, then the child theme, then how does “any Wordpress theme” come into play? Valerie
So is it true? Yep. I’ll tell you how, why and what it means.
How To Make Any WordPress Theme A Blank Framework
Here’s how to make a Child Theme and make any WordPress theme your blank framework. Create a unique directory in your Themes folder. Let’s say it’s “supersample” for a Child Theme called “Super Sample”. Save a file to “supersample” called style.css. Put the following at the top of your style.css file:
/*
Theme Name: Super Sample
Theme URI: http://yourdomain.com/
Description: Testing WordPress Child Themes
Author: Your Name
Author URI: http://yourdomain.com/
Template: name-a-parent-theme-here
Version: 1.0
*/Just like any other theme right? Sort of. Note the template parameter:
Template: name-a-parent-theme-hereThe template parameter could take anyone of the following settings (as long as the Parent Theme defined is actually in your themes directory):
-
Template: thematic -
Template: cutline -
Template: sandbox -
Template: default
Now we get to my point: the template parameter turns any theme into a Parent Theme—a blank framework—when you make that Child Theme the active one. All you have to do is select that new Child Theme in the themes panel of your WordPress admin. The Child Theme is now using all the template files—header.php, index,php, sidebar.php, etc.—from the defined Parent Theme and none of the CSS of the Parent. WordPress looks for the CSS in the Child Theme directory. Try it yourself. It works right now in WordPress and let’s you modify any theme with CSS alone.
In WordPress 2.7 any template file you add to your Child Theme will override the parent template and new custom templates from the Child Theme directory will become available. This has radical implications. Right now though, you can still interact with the Parent Theme templates through functions.php in your Child Theme—but that’s a whole ‘nother story.
If you’re looking for examples of Parent-Child themes, my themes Acamas and Travailler, along with the theme you see here on ThemeShaper, and Pat Dryburgh’s Junction, are all Child Themes of Thematic. Justin Tadlock has several Child Themes available, and more coming, for his themes on Theme Hybrid. All the designs entered in the Sandbox Design Competition are Child Themes of The Sandbox.
And I think you’ll be seeing a lot more Parent Child Themes soon.
All Frameworks Are Not Created Equal
One caveat. The extent to which a blank theme framework can be a good Parent Theme depends on the support for the theme and the markup. A good theme framework needs to keep up with WordPress development. Technically, this makes the Default WordPress theme a good framework. But only technically. I don’t know if the markup really lends itself to that good use as a theme framework. Good, lean markup that lets you create hundreds of different popular layouts is rare in the WordPress theme world.
Rare too are semantic class names. No one wants to float a div named “sidebar-left” to the right of their layout. And what if you’re not going to use it as a sidebar?
What does this mean? While you can use any WordPress theme as a blank framework, not every theme makes the best blank framework. But! If all you’re looking for is a blank canvas, well, you’ve got that when you select any WordPress theme as your next theme’s Parent Theme.
More Information on WordPress Theme Frameworks
For more information check out the following posts on ThemeShaper:
- How I used a WordPress Child Theme To Redesign My Blog The Smart Way
- How To Protect Your WordPress Theme Against Upgrades
- A Revolution in Theming: WordPress Theme Frameworks
Themes To Consider as WordPress Theme Frameworks
- K2
- The Sandbox
- Structure
- Tarski
- Thematic
- Leave a comment suggesting another theme and I’ll take a look at adding it to this list.

7 Comments
I’m just excited about all the work you and a few others have been putting behind child themes, and I definitely think we’ll see a lot more theme authors going this route once the concept catches on.
As you said, “All Frameworks Are Not Created Equal.” It takes a lot of careful planning to really put something together that can be used in a lot of ways.
Brilliant. I’ve read this many times and experimented, but this was the lightbulb moment when I realized that maybe we don’t really need Starkers, Naked, et al. Of course what will all this mean for WP 2.7? Will/should we rely on just Child-Theming the Default theme since it will most likely be the one that has all the updated template tags and new features built in?
@Kel: You could use the default theme for Child Theming. And I suspect a lot of people will—but I wouldn’t. There would be just too much I would have to override. Which is why I maintain Thematic. ;)
Hi Ian… between what you’re doing with’ Thematic’, Justin’s very clean themes like ‘Bliss’ and Ben’s ‘Tarski’ theme, this opens up so many possibilities. Having a rock solid framework that’s maintained and upgraded to build upon is a dream come true for blog designers.
So many WP themes have quirks or aren’t built on a solid foundation. When I put together blogs for clients they don’t just want it to look “hot”, they expect it to work without constant, ongoing problems.
I can see how with just a few, well thought out and well designed themes like what you’re doing here with Thematic will make everything we love about WordPress even better.
Hey Ian — thanks for your response to my question. I followed your instructions and got the child theme installed and ready to customize for a client. I like how it’s based on the 960 grid, so I’ll be able to change the layout around when the client wants it (they will). And since there’s a real possibility that I’ll be maintaining this site for my client, upgrading will be much much better.
It is fun to think of the possibilities child themes open up for Wordpress.
Thanks again!
K2 and Cutline both make great parent themes. Unfortunately (for me), I can’t think of even one of my themes that could be used as a framework! I am hoping the collaborative theme called Aligned I am working on (currently on my site) will be packaged with the emphasis on cleaning up the XHTML.
Very interesting, and something I wasn’t even aware of. Thanks for bringing this to my attention.
Going off of what Kel said, I am a bit worried about how child themes could be abused. I like the idea of child themes being available for Sandbox, etc., but too many child themes being made for too many current themes could get…messy.
Thanks again.
3 Trackbacks
[…] How To Make Any WordPress Theme A Blank Framework (ThemeShaper) What the framework concept is all about. (tags: wordpress) […]
[…] read over at ThemeShaper. I wasn’t even aware of child themes and this sort of use. Awesome. Posted to Asides | Tagged Child Themes, Ian Stewart, ThemeShaper | « Review of […]
[…] Any WordPress Theme Can Be a Blank Framework […]