404 error on dynamic stylesheet creation

Following this solution to create dynamic css instead of inline css from sorich87 I get an error when requesting the dynamically generated stylesheet. Css is in there but also the default wp error page and a 404 header returned.

Solution I used:
https://wordpress.stackexchange.com/a/1454

Read More

My stylesheet url with 404 error:
http://tegelzetbedrijf.net/wp-content/plugins/wp-google-fonts/googlefonts.css?build=20120126

Any suggestions are highly appreciated!
Thanks
Quokka

Related posts

Leave a Reply

1 comment

  1. The solution you’re using to get the stylesheets onto the page is a terrible method. WordPress provides the enqueue functions specifically to do what you’re trying to do. The codex page on wp_enqueue_style() explains exactly what you need to do. If you would like to add a dynamic version, there is a parameter for that.