Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

AFAIK a style.css for Wordpress needs some comments at the top to be properly recognized, like:

/* Theme Name: Cool Theme
 Theme URI:     http://www.example.com
 Description:   Super cool theme */

Are there any restrictions regarding content? I've also seen people writing stuff in there like

@author Michael Jordan
@copyright 1990 by me

What's up with that?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

There is no reason to add something not listed in WP_Theme class $file_headers array because it simply will not be recognized.

private static $file_headers = array(
        'Name'        => 'Theme Name',
        'ThemeURI'    => 'Theme URI',
        'Description' => 'Description',
        'Author'      => 'Author',
        'AuthorURI'   => 'Author URI',
        'Version'     => 'Version',
        'Template'    => 'Template',
        'Status'      => 'Status',
        'Tags'        => 'Tags',
        'TextDomain'  => 'Text Domain',
        'DomainPath'  => 'Domain Path',
);
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.