Wordpress theme metadata and CSS

Each Wordpress theme metadata (such as author, theme name, version, etc.) is actually contained at the very beginning of the main style sheet of your theme. For example:

/*   
Theme Name: Rose
Theme URI: the-theme's-homepage
Description: a-brief-description
Author: your-name
Author URI: your-URI
Template: use-this-to-define-a-parent-theme--optional
Version: a-number--optional
.
General comments/License Statement if any.
.
*/

Providing this information is essential because it allows the Wordpress core to show all the details provided with your theme. If your don't specify this metadata, Wordpress won't show any information while you try to select and activate your theme.

Leave a Reply

Note: Only a member of this blog may post a comment.