First Ten Percent – Make themes out of old styles.
Starting today, I will be posting one cool tip a day. Any guesses as to why it is going to be filed under the “Ten Percent for the Day” category?
Today’s tip comes from Ryan :
The 1.2 styles can be turned into themes that inherit the classic theme’s templates. Just add a theme header that specifies where to get the templates.
/*
Theme Name: Inherit
Theme URI: http://wordpress.org/
Description: A theme that inherits the classic theme templates.
Version: 1.5
Author: Me
Author URI: http://me.me/
Template: classic
*/Rename the stylesheet to style.css and put it in a subdirectory of wp-content/themes. The “Template:” field specifies the theme directory to look in for templates. Use “classic” to get classic theme templates and “default” to get default theme templates.
7 Comments
RSS feed for comments on this post.
Sorry, the comment form is closed at this time.

This is very helpful!!!
Comment by Kerim Friedman — 3/6/2005 @ 12:55 am
Great tip!
Any idea how to get a different look for each category?
Comment by ShadyCraig — 3/7/2005 @ 1:40 pm
Here’s the answer, ShadyCraig.
Comment by Carthik — 3/7/2005 @ 2:39 pm
You can see this tip in context here – http://codex.wordpress.org/Upgrade_1.2_to_1.5
Comment by Tom Raftery — 3/7/2005 @ 5:05 pm
Hi Carthik and Tom, thanks for the help but that wan’t what I was looking for. My fault, I should ahve been more specific.
I already have a different layout for some categories. What I’m looking for now is to be able to style them differently by using a different CSS file for each category.
When I find this out I’ll post the answer here.
Thanks again.
Comment by ShadyCraig — 3/10/2005 @ 9:57 am
Hi All,
I’ve now solved the puzzle, to my satisfaction at least! Check here for the details:
http://www.devineprojects.org/blog/index.php/archives/2005/03/wordpress-category-styles/
See ya,
ShadyCraig
Comment by ShadyCraig — 3/14/2005 @ 1:00 pm
WordPress: Category Styles
Defining customised CSS files according to the post category…
Trackback by Shady Goings On — 3/14/2005 @ 1:09 pm