331

professional dilettante

Numbers don't work as wordpress theme names

If you’re creating your own wordpress theme, say for a site, it will not recognize the theme if the Theme name consists only of integers. For your theme to distinct from other themes, you have to provide a name in your “style.css” file. E.g., /* Theme Name: 1234 */ The above name will not work. [...]

If you’re creating your own wordpress theme, say for a site, it will not recognize the theme if the Theme name consists only of integers. For your theme to distinct from other themes, you have to provide a name in your “style.css” file. E.g.,

/*
Theme Name: 1234
*/

The above name will not work. Took me about 20 mins of messing around to realize what was wrong. You can append that title with text and it will work. E.g.

/*
Theme Name: 1234 <em>foo</em>
*/

One Response

You can follow the comments for this article with the RSS 2.0 feed.

[...] the original: Numbers don’t work as wordpress theme names Related [...]

Leave a Reply

Required fields are marked with an asterisk (*), you may use these tags in your comment: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam protection by WP Captcha-Free

Most Recent Post

It’s been a long time, I shouldn’t have left you, part 1 …

But now I’m back.All official like.I do social stuff again.I see my friends.I’m moving into my own place again.And all that adult shit.

Categories

Content © professional dilettante
Proudly powered by WordPress
Theme designed by Artisan Themes

Entries (RSS)
Comments (RSS)

22 queries.
0.495 seconds.