{"id":18840183,"url":"https://github.com/seothemes/dynamic-additional-css","last_synced_at":"2025-06-12T21:03:53.441Z","repository":{"id":87409658,"uuid":"187952089","full_name":"seothemes/dynamic-additional-css","owner":"seothemes","description":"Writes Customizer Additional CSS to a dynamic stylesheet so that it can be cached","archived":false,"fork":false,"pushed_at":"2019-05-22T03:07:49.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-30T09:29:21.683Z","etag":null,"topics":["customizer","dynamic-css","wordpress"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seothemes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2019-05-22T02:56:31.000Z","updated_at":"2019-05-22T07:32:52.000Z","dependencies_parsed_at":"2023-11-30T23:00:14.445Z","dependency_job_id":null,"html_url":"https://github.com/seothemes/dynamic-additional-css","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seothemes%2Fdynamic-additional-css","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seothemes%2Fdynamic-additional-css/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seothemes%2Fdynamic-additional-css/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seothemes%2Fdynamic-additional-css/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seothemes","download_url":"https://codeload.github.com/seothemes/dynamic-additional-css/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239776257,"owners_count":19695069,"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","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":["customizer","dynamic-css","wordpress"],"created_at":"2024-11-08T02:45:19.016Z","updated_at":"2025-02-20T04:26:04.325Z","avatar_url":"https://github.com/seothemes.png","language":"PHP","readme":"# Dynamic Additional CSS\n\nWrites Customizer Additional CSS to a dynamic stylesheet so that it can be cached\n\n## About\n\nBy default, styles added to the Additional CSS section in the WordPress Customizer are added inline:\n\n```html\n\u003cstyle type=\"text/css\" id=\"wp-custom-css\"\u003e\nbody {\n  background: pink !important;\n}\n\u003c/style\u003e\n```\n\nThis is OK for small amounts of CSS but is not ideal for large amounts because it cannot be cached by the browser.\n\nThis plugin removes the inline styles and writes them to a dynamic stylesheet which is then loaded externally and can therefor be cached.\n\nWhen the plugin is activated, the inline styles above will be removed on the front end of your site and will be replaced with a link to the dynamic CSS:\n\n```html\n\u003clink rel=\"stylesheet\" id=\"dynamic-additional-css\" href=\"https://example.com/wp-admin/admin-ajax.php?action=load_css_ajax\u0026amp;wpnonce=cc89b6d57e\u0026amp;ver=1.0.0\" type=\"text/css\" media=\"all\"\u003e\n```\n\nA dynamically generated stylesheet has all the benefits of a standard stylesheet, plus it means the plugin doesn't need to write to a physical CSS file on the server.\n\n## Installation\n\n1. Download the zip file from this repository.\n2. Navigate to Plugins \u003e Add New.\n3. Click the Upload Plugin button at the top of the screen.\n4. Select the zip file from your local filesystem.\n5. Click the Install Now button.\n6. When installation is complete, you’ll see “Plugin installed successfully.” Click the Activate Plugin button at the bottom of the page.\n\n## Usage\n\nThere are no options provided by this plugin.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseothemes%2Fdynamic-additional-css","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseothemes%2Fdynamic-additional-css","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseothemes%2Fdynamic-additional-css/lists"}