Wordpress Stylesheet

/ Published in: CSS
Save to your folder(s)

In addition to CSS style information for your theme, style.css provides details about the Theme in the form of comments. The stylesheet must provide details about the Theme in the form of comments. No two Themes are allowed to have the same details listed in their comment headers, as this will lead to problems in the Theme selection dialog. If you make your own Theme by copying an existing one, make sure you change this information first.

The following is an example of the first few lines of the stylesheet, called the stylesheet header, for the Theme "Twenty Ten":

Copy this code and paste it in your HTML
  1. /*
  2. Theme Name: Twenty Ten
  3. Theme URI: http://wordpress.org/
  4. Description: The 2010 default theme for WordPress.
  5. Author: the WordPress team
  6. Version: 1.0
  7. Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu (optional)
  9. License:
  10. License URI:
  12. General comments (optional).
  13. */

URL: http://codex.wordpress.org/Theme_Development#Theme_Stylesheet

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.