Theme Description for WordPress Blog Lies in the Stylesheet

Posted on 21 February 2008 by LizzyFin

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

So, you’ve embarked on creating your first WordPress theme. Lots of questions arise, like “Where the heck do I put a description for my new theme?

Open up the stylesheet, style.css, and insert several commented lines at the beginning like so:

/*
Theme Name: My First WordPress Theme
Theme URI: http://computeraxe.com/
Description: This is my first wordpress theme.
Version: 0.1
Author: LizzyFin
Author URI:
http://computeraxe.com/
*/

Everything after the “:” is cataloged by WordPress as theme metadata, or information about your theme.

The theme name, description and version will appear in the Admin/Presentation/Themes panel to describe the WP theme. A separate screenshot of the functioning theme completes this picture.

The author’s name and URI, as well as the theme URI where one can see the theme in action, are important details to include at the top of every WordPress stylesheet.

Leave a Reply