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
Cash For Blogging

Cash For Blogging

There are sites that will pay you upfront, pay you a percentage of the revenue that your content makes, and sites that will hire you to write or blog for them. You can start earning money per article or blog post in as little as a few days with some of these sites.

Get My Free Ebook

Post a comment