Describing your theme

We very briefly discussed this in Chapter 3, just to get our development going, but let's review exactly what kind of information you can place into your stylesheet which will show up in the WordPress Theme Administration Panel. Essentially, the first 18 lines of the style.css sheet are commented out and without changing anything that comes before a colon (:), you can fill out the following information about your template:

1. Theme Name: This is where you'll put the full name of your theme.

2. Theme URI: Here you'll place the location from where the theme can be downloaded.

3. Description: It's a quick description of what the theme looks like, any specific purpose it's best suited for, and/or any other theme it's based on or inspired by.

4. Version: If this is your theme's debut, you may want to put 1.0. If the theme has been changed, had bug fixes, or been reincarnated in any way, you may feel a higher version is appropriate. As this is essentially the same theme I've created for another project, I've just changed its color scheme, graphics, and reduced its functionality. I've numbered it version 1.3 (for the three major visual revision processes it's gone through).

5. Author: Your name as the theme's author goes here.

6. Author URI: It's a URL to a page where people can find out more about you.

7. The CSS, XHTML, and design are released under_: This is optional. You can use this area to describe any licensing conditions you want for your theme. The WordPress Administration Panel will not display it though; only people who've downloaded your theme and viewed the style.css file will see it.

Links in the Themes tab:

WordPress works some impressive "PHP magic" to run through that comment and parse the URI links into the appropriate places. You can also add your own URL's by hand-coding <a href> links into comments. Just test the output in the Administrator | Themes area (or Administrator | Design | Themes in 2.5+x, Administrator | Presentation | Themes in version 2.3.x) to ensure your link syntax is correct and not broken!

Was this article helpful?

0 0
Top 100 Wordpress Plugins

Top 100 Wordpress Plugins

The bulk of the plugins featured are free and available from the website. However, a few commercial plugins are featured in the Plugin Showcase within this guide. The five plugins in the Plugin Showcase aren’t rated. Less information about them is offered because, in many cases, information such as the last time the plugin was updated isn’t available.

Get My Free Ebook

Post a comment