WordPress not reading defined stylesheet
-
Hello all,
I recently tried my hand a creating my own WordPress template. The venture was pretty successful, until today when I logged in and was informed that my template was “broken” and that WP was reverting back to the default template. According to the admin page, my template has no css file. My template in fact has 4 css files, tucked neatly away in a “styles” directory inside my theme. (In my theme’s header, I’ve pointed to the stylesheets using
bloginfo(template_directory)rather than the standardbloginfo(stylesheet_url))This all worked FINE for WEEKS until today. Since everything worked fine on my development install on my local computer —no broken themes or anything—, I recopied the entire WP installation to my server. WP on the server still reports that my theme is broken. What is going on?
Specifically: how can I make WP on the server recognize that I do have a stylesheet, but have chosen to put it in a nonstandard location? (And why does it only barf on the server and not on my local install?) Alternatively, how can I define the nonstandard location in my
wp-config.php? For reference, the location of the default stylesheet is/wp-content/themes/synecdoche_v1/styles/default.css. Many thanks!Edit: By the way, if you go to my site what you will see does not look like the “default theme.” To begin designing my new theme I hacked on the default one until I felt comfortable enough to strike out on my own. What you’ll see is a half-baked version of the theme I ended up designing.
The topic ‘WordPress not reading defined stylesheet’ is closed to new replies.