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


Powered by WordPress

eXTReMe Tracker