Theme Description for WordPress Blog Lies in the Stylesheet

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.

11 thoughts on “Theme Description for WordPress Blog Lies in the Stylesheet”

  1. thank you very much i have been searching for this for a while. i think i did not use the right keywords for search.

  2. Hello,

    I’v been trying to modify the theme details for a wordpress theme that I have but for the life of me I cannot figure out where the image is in the folder that is being used.

    When I goto my theme area on wordpress website and I can activate or deactivate themes I need to change a particular image displayed for a theme to a custom picture but cannot figure where the image is located to change it.

    Any help is much apprecaited

  3. Hello Qaysar,
    Once you select a theme for your site via Appearance -> Themes, you can use the editor to make changes to the active theme. Pay attention to the text that describes the theme on the Themes page. There usually is a line that states the location of the theme files. For instance, the Twenty Ten theme provided with WordPress states this, “All of this theme’s files are located in /themes/twentyten.” So, in this example you would look in the folder called “twentyten” for some hint to the location of the image that you want to change.

    Not all themes are so well documented, so you could try to find the image file in “../wp-content/themes/your-theme-folder”. If you’re lucky, there will be an images folder inside the theme directory.

    Once you activate a theme, changes to the files that make up the theme can be made via Appearance -> Editor.

    Hope that helps. Let us know!

  4. Thanks for the information! Never though that the theme info was located on the .css file lol! Thanks again!

  5. Hi Jasper!
    I know what you mean, it took me a while to find it, too!
    Good luck with your sites.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">