Today I had a need to be able to add some custom CSS to specific post types and even down to a specific post or page. I searched for a plugin that would do this but was unable to find anything. So, Style Press was born. This plugin allows you to enter custom style sheet definitions in the following areas:
- Site-wide – add styles to every page of your site.
- On specific post types, including posts, pages, attachments, and any custom post types.
- On individual posts and pages.
Individual posts and pages?
Yep! Once you install and configure this plugin, you will see a new box on your editor that allows you to enter any custom style definitions you want for that post or page. The plugin will add these styles when the post is rendered. Since they will only be loaded on this page, there is no reason to include the post ID or any other markers to the definitions. Plus, the definitions will be added as the very last item in the head of the HTML so your changes will be the last ones loaded and therefore take priority over any other style sheet. You can even decide which content types will get the extra CSS boxes!
When can I get it?
I started work on the plugin this morning, and hope to release a test version later today. Watch for an update here.