{"id":25327,"date":"2013-09-20T06:17:52","date_gmt":"2013-09-20T06:17:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/custom-css-for-pages-and-posts\/"},"modified":"2013-09-20T06:40:02","modified_gmt":"2013-09-20T06:40:02","slug":"custom-css-for-pages-and-posts","status":"publish","type":"plugin","link":"https:\/\/lmo.wordpress.org\/plugins\/custom-css-for-pages-and-posts\/","author":5611033,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"trunk","tested":"3.6.1","requires":"3.5","requires_php":"","requires_plugins":"","header_name":"Custom CSS for Pages and Posts","header_author":"Suzanne Ahjira","header_description":"","assets_banners_color":"","last_updated":"2013-09-20 06:40:02","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/ahjira.com\/plugins\/custom-css-for-pages-and-posts","header_author_uri":"http:\/\/ahjira.com","rating":4.3,"author_block_rating":0,"active_installs":300,"downloads":8987,"num_ratings":7,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>Nothing to note.<\/p>"},"ratings":{"1":"1","2":0,"3":0,"4":"1","5":"5"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"775838","resolution":"1","location":"assets"}},"screenshots":{"1":"New metabox with Custom CSS text area"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[356],"plugin_category":[59],"plugin_contributors":[81447],"plugin_business_model":[],"class_list":["post-25327","plugin","type-plugin","status-publish","hentry","plugin_tags-css","plugin_category-utilities-and-tools","plugin_contributors-ahjira","plugin_committers-ahjira"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/custom-css-for-pages-and-posts.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/custom-css-for-pages-and-posts\/assets\/screenshot-1.jpg?rev=775838","caption":"New metabox with Custom CSS text area"}],"raw_content":"<!--section=description-->\n<p>This plugin adds a metabox to all post and page edit screens ( and optionally to \ncustom post type edit screens ) that allows the user specify custom CSS for that\npage or post. All it does is wrap your CSS in  tags\nand then inserts the block into the  section of your page\/post. Pretty simple.<\/p>\n\n<!--section=installation-->\n<ol>\n<li><p>If you use FTP to upload your plugins, unzip the zip file and upload the resulting directoy to \/wp-content\/plugins\/\nIf you use the automatic uploader, there's no need to unzip the file first.<\/p><\/li>\n<li><p>Activate the plugin through the 'Plugins' menu in WordPress<\/p><\/li>\n<\/ol>\n\n<p>You will now see a new metabox on all edit screens for posts and pages.<\/p>\n\n<!--section=faq-->\n<p>Q: How do I enable this for my custom post types?\nA: Add this line to your theme's functions.php file and change POST_TYPE to the name of your post type.<\/p>\n\n<p>add_post_type_support( 'POST_TYPE', 'ahjira-custom-css');<\/p>\n\n<p>Examples:<\/p>\n\n<p>add_post_type_support( 'book', 'ahjira-custom-css');\nadd_post_type_support( 'event', 'ahjira-custom-css');\nadd_post_type_support( 'product', 'ahjira-custom-css');<\/p>\n\n<p>For more information, please visit the plugin's home page at:\nhttp:\/\/ahjira.com\/plugins\/custom-css-for-pages-and-posts<\/p>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<p>\u2022 Updated for auto-update\n\u2022 Refined the code for better performance<\/p>\n\n<h4>1.0<\/h4>\n\n<p>\u2022 Initial release<\/p>","raw_excerpt":"This plugin adds a metabox to all post and page edit screens ( and optionally to","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/25327","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=25327"}],"author":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ahjira"}],"wp:attachment":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=25327"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=25327"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=25327"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=25327"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=25327"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=25327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}