Where do I put custom CSS and how do I refer to it if I am creating a custom plugin?
My plugin modifies adds visual elements to a blog post itself and everywhere I’ve stuffed the css, it works at runtime on the blog itself, but going into the admin interface causes errors in WordPress – “headers already sent” kinda stuff.
Is there a best practices on where to add your own .css for a plugin so that it plays nice with WP? I’ve tried to put it in myplugin.php at the top before the PHP, in a separate css file, etc…
- The topic ‘Where to put CSS?’ is closed to new replies.