{"id":20406718,"url":"https://github.com/xwp/wp-customize-posts-css","last_synced_at":"2025-10-19T23:49:24.645Z","repository":{"id":66346542,"uuid":"103892053","full_name":"xwp/wp-customize-posts-css","owner":"xwp","description":"Customize Posts CSS plugin","archived":false,"fork":false,"pushed_at":"2017-10-20T16:06:20.000Z","size":1008,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-12T15:08:16.927Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xwp.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-09-18T04:36:59.000Z","updated_at":"2024-03-23T12:51:45.000Z","dependencies_parsed_at":"2023-02-21T23:46:40.048Z","dependency_job_id":null,"html_url":"https://github.com/xwp/wp-customize-posts-css","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xwp/wp-customize-posts-css","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xwp%2Fwp-customize-posts-css","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xwp%2Fwp-customize-posts-css/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xwp%2Fwp-customize-posts-css/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xwp%2Fwp-customize-posts-css/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xwp","download_url":"https://codeload.github.com/xwp/wp-customize-posts-css/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xwp%2Fwp-customize-posts-css/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279945379,"owners_count":26248623,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-19T02:00:07.647Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T05:18:52.372Z","updated_at":"2025-10-19T23:49:24.629Z","avatar_url":"https://github.com/xwp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- DO NOT EDIT THIS FILE; it is auto-generated from readme.txt --\u003e\n# Customize Posts CSS\n\nAdd custom CSS for any post or page on any archive or singular template with editing and previewing in the Customizer.\n\n**Contributors:** [xwp](https://profiles.wordpress.org/xwp), [westonruter](https://profiles.wordpress.org/westonruter)  \n**Tags:** [customizer](https://wordpress.org/plugins/tags/customizer), [customize](https://wordpress.org/plugins/tags/customize)  \n**Requires at least:** 4.9  \n**Tested up to:** 4.9  \n**Stable tag:** 0.1.0  \n**License:** [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)  \n**Requires PHP:** 5.4  \n**Depends:** Customize Posts  \n\n[![Build Status](https://travis-ci.org/xwp/wp-customize-posts-css.svg?branch=master)](https://travis-ci.org/xwp/wp-customize-posts-css) [![Built with Grunt](https://cdn.gruntjs.com/builtwith.svg)](http://gruntjs.com) \n\n## Description ##\n\nSince WordPress 4.7 core has provided an Additional CSS section in the Customizer for users to add and preview custom CSS for their site (see [#35395](https://core.trac.wordpress.org/ticket/35395)).\r\n\r\nThis plugin brings the same functionality to be able to provide custom CSS for individual posts and pages on your site. The custom CSS will be output in `style` elements whenever `the_post` is done. The CSS is stored in a `custom_css` postmeta and Custom CSS is presented for every post that has the `custom_css` post type support, which is given to all public posts by default.\r\n\r\nThis plugin has a few dependencies:\r\n\r\n* It requires the [Customize Posts](https://wordpress.org/plugins/customize-posts/) plugin for adding the ability to manage and preview postmeta in the Customizer. The Custom CSS control is added to the post/page Customizer sections which this plugin adds.\r\n* It relies on CodeMirror being in core as of 4.9-alpha. See [#12423](https://core.trac.wordpress.org/ticket/12423).\r\n* It uses the `WP_Customize_Code_Editor_Control` proposed for WordPress 4.9. See [#41897](https://core.trac.wordpress.org/ticket/41897).\r\n\r\nSee also [#38707](https://core.trac.wordpress.org/ticket/38707) which proposes extending the Custom CSS editor in core with being able to edit per page CSS.\n\n## Screenshots ##\n\n### Custom CSS control appears in each post section with initial selectors for targeting post/page in post container (`post_class()`) and body container (`body_class()`).\n\n![Custom CSS control appears in each post section with initial selectors for targeting post/page in post container (`post_class()`) and body container (`body_class()`).](wp-assets/screenshot-1.png)\n\n### The custom CSS appears with the post on an index page and here the `.hentry` selector is key for targeting the post in The Loop.\n\n![The custom CSS appears with the post on an index page and here the `.hentry` selector is key for targeting the post in The Loop.](wp-assets/screenshot-2.png)\n\n### The custom CSS also appears with the post on its singular template, and here a `body` selector with an appropriate post-specific class name is useful for changing the look of the entire page.\n\n![The custom CSS also appears with the post on its singular template, and here a `body` selector with an appropriate post-specific class name is useful for changing the look of the entire page.](wp-assets/screenshot-3.png)\n\n## Changelog ##\n\n### 0.1.0 ###\nInitial release.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxwp%2Fwp-customize-posts-css","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxwp%2Fwp-customize-posts-css","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxwp%2Fwp-customize-posts-css/lists"}