This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Custom CSS for Pages and Posts

Description

This plugin adds a metabox to all post and page edit screens ( and optionally to
custom post type edit screens ) that allows the user specify custom CSS for that
page or post. All it does is wrap your CSS in tags
and then inserts the block into the section of your page/post. Pretty simple.

Screenshots

  • New metabox with Custom CSS text area

FAQ

Q: How do I enable this for my custom post types?
A: Add this line to your theme’s functions.php file and change POST_TYPE to the name of your post type.

add_post_type_support( ‘POST_TYPE’, ‘ahjira-custom-css’);

Examples:

add_post_type_support( ‘book’, ‘ahjira-custom-css’);
add_post_type_support( ‘event’, ‘ahjira-custom-css’);
add_post_type_support( ‘product’, ‘ahjira-custom-css’);

For more information, please visit the plugin’s home page at:
http://ahjira.com/plugins/custom-css-for-pages-and-posts

Reviews

MUST INSTALL on every WordPress project I touch

dmanexe

Love it, works perfect...the CSS box on each page is a SMART little feature, and I definitely automatically install this plugin on EVERY WordPress project I start...clients always end up wanting little page-specific tweaks, man, much easier. A+!

Looks great, but doesn't work.

Ricardo

It seems like it wont output the CSS in the custom field generated by this plugin. I am using Genesis framework and not much customization done yet.

I'd be willing to change my review if it is fixed. Looks like a great plugin.

Read all 7 reviews

Changelog

1.1

• Updated for auto-update
• Refined the code for better performance

1.0

• Initial release

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Contributors

Browse the code