Post/Page Specific Custom Code
Add custom CSS to individual posts, pages, or WooCommerce products, with optional archive support and a dedicated code editor.
Safe pick
Yes — Post/Page Specific Custom Code is a safe, well-maintained plugin to use in 2026. It runs on 6K+ sites, is rated 4.6/5 and was last updated 1 week ago, and scores 91/100 on our health check.
- Loved by users — 4.6/5 from 42 reviews
- Actively developed — last update 1 week ago
- Tested with the latest WordPress (7.1)
- Momentum — downloads up 244.9% vs the previous 30 days
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Post/Page Specific Custom C… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| custom css | #13 |
| page-specific | #1 |
| per page CSS | #4 |
| post-specific | #2 |
| woocommerce | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 4.6 from 42 reviews
About Post/Page Specific Custom Code
From the official readme · v0.3.2Description
Post/Page Specific Custom Code lets you add custom CSS to individual posts, pages, or WooCommerce products. A dedicated box on the edit screen is where you write your CSS. You can also choose whether it should load only on the single view or on archive-style views as well.
The meta box appears below the content editor for posts, pages, and products. Enter your CSS there and decide whether it applies only on the single view or also on archive-style views (blog/category listings, the WooCommerce shop and product categories/tags). Product CSS also loads on a best-effort basis for products rendered through standard WooCommerce loop templates outside the main query (for example the [products] shortcode). CSS discovered only after the page head may be printed in the footer. Custom product markup that skips WooCommerce templates needs a small integration hook. Products injected only via AJAX or infinite scroll are not covered.
CSS fields use a code editor with syntax highlighting by default. You can turn highlighting off with a filter if you prefer a plain textarea (for example on slower machines).
Requirements
This plugin requires WordPress 5.0 or later (please keep WordPress up to date) and PHP 7.4 or later on your server.
Installation
Automatic installation
Automatic installation is the easiest option. Log in to your WordPress admin, go to Plugins, and click Add New.
Search for Post/Page Specific Custom Code, then click Install Now.
Manual installation
- Download the plugin ZIP from WordPress.org (or from this repository).
- Upload the
postpage-specific-custom-cssfolder to the/wp-content/plugins/directory (so the main plugin file is at/wp-content/plugins/postpage-specific-custom-css/post-page-specific-custom-css.php). - Activate the plugin through the Plugins menu in WordPress.
- That’s it — enjoy!
Changelog
Preserves CSS backslash escapes such as \2022 when a post, page, or product is saved. Recommended update.
0.3.2
- Release date: 2026-11-27
- Fixed CSS backslash escapes (for example content: ‘\2022’) being removed when a post, page, or product is saved. Thank you @tremlas for the report.
0.3.1
- Release date: 2026-07-23
- Fixed “single page view only” checkbox not reflecting the saved value (and overwriting it on save)
- Bundled css-tree 3.1.0 locally instead of loading it from a CDN
- Editor CSS linting is advisory only (highlights issues); CSS is no longer blocked on the front end via a client-side validity flag
- Removed
_phylax_ppsccss_validmeta and the hidden live-checker form field -
Added server-side sanitization for CSS embedded in 0.3.0
-
Release date: 2025-07-21
- Added support for WooCommerce products (custom CSS can now be assigned to individual products)
- Plugin renamed from “Post/Page specific custom CSS” to “Post/Page Specific Custom Code”
0.2.5
- Release date: 2025-07-17
- Highlighting for CSS code is now enabled by default.
7 years ago it was optional due to performance concerns on
slower machines — nowadays that looks outdated; you can still
disable it using:
add_filter(‘postpage_sccss-highlight_code’, ‘__return_false’); - Fixed incorrect validation of an empty CSS field
- Replaced CSS validation with a linting mechanism
- Minor code improvements and compatibility testing with newer PHP and WordPress versions
- Removed birthday notice
0.2.4
- Release date: 2022-01-20
- Fixed default post/page values (they were reversed; thank you, @olandir, for pointing that out!)
0.2.3
- Release date: 2021-11-29
- Fixed options saving issue
- Fixed text formatting
0.2.2
- Release date: 2020-05-10
- Many fixes to stay aligned with WordPress coding standards
- Birthday banner visible only to administrators
- Birthday banner can now be hidden until the following year
- Editors can optionally be allowed to edit CSS
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Post/Page Specific Custom Code alternatives
All custom css plugins →FAQ
Post/Page Specific Custom Code: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Post/Page Specific Custom Code free?
Yes. Post/Page Specific Custom Code is free to download and use from the official WordPress.org plugin directory.
Is Post/Page Specific Custom Code safe to use in 2026?
Yes — Post/Page Specific Custom Code is a safe, well-maintained plugin to use in 2026. It runs on 6K+ sites, is rated 4.6/5 and was last updated 1 week ago, and scores 91/100 on our health check.
How many websites use Post/Page Specific Custom Code?
Post/Page Specific Custom Code is active on 6K+ WordPress websites and has been downloaded 89,062 times since it launched in December 2016. It was downloaded 3,480 times in the last 30 days.
Does Post/Page Specific Custom Code work with WordPress 7.1?
Yes. The developer has tested Post/Page Specific Custom Code up to WordPress 7.2, the latest release. It requires WordPress 5.0 or newer.
What PHP version does Post/Page Specific Custom Code need?
Post/Page Specific Custom Code requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Post/Page Specific Custom Code last updated?
The latest version, 0.3.2, was released on November 27, 2026 (1 week ago).
Who makes Post/Page Specific Custom Code?
Post/Page Specific Custom Code is developed and maintained by Łukasz Nowicki.
What are the best alternatives to Post/Page Specific Custom Code?
The most popular alternatives to Post/Page Specific Custom Code are Simple Custom CSS and JS (600K+ installs), Insert Headers And Footers (200K+ installs) and Simple Custom CSS Plugin (100K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card



