A weblog authored by Carthik about the latest in the WordPress world.

Saturday, March 05, 2005

First Ten Percent – Make themes out of old styles.

Filed under: — Carthik @ 6:47 pm

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.

From the forums


  1. This is very helpful!!!

    Comment by Kerim Friedman — 3/6/2005 @ 12:55 am

  2. Great tip!
    Any idea how to get a different look for each category?

    Comment by ShadyCraig — 3/7/2005 @ 1:40 pm

  3. Here’s the answer, ShadyCraig.

    Comment by Carthik — 3/7/2005 @ 2:39 pm

  4. 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

  5. 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

  6. Hi All,
    I’ve now solved the puzzle, to my satisfaction at least! Check here for the details:

    See ya,

    Comment by ShadyCraig — 3/14/2005 @ 1:00 pm

  7. WordPress: Category Styles
    Defining customised CSS files according to the post category…

    Trackback by Shady Goings On — 3/14/2005 @ 1:09 pm

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.


Powered by WordPress

eXTReMe Tracker