🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Post/Page Specific Custom Code icon
Actively maintained Tested with WP 7.1 #13 in custom css

Post/Page Specific Custom Code

Add custom CSS to individual posts, pages, or WooCommerce products, with optional archive support and a dedicated code editor.

Active installs6K+5K+ tier
Downloads · 30d3.5K▲ 3.4× vs prev. 30d
Rating4.6/542 reviews
Health score91/100Excellent
All-time downloads89.1KSince Dec 2016
Support resolved1 / 1100% in last 2 months
RequiresWP 5.0PHP 7.4+
Downloads · 7d2.6K▲ 9.1× week over week
Our verdict

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 & support

Daily downloads

267535803Sep 5Oct 19Dec 3
Yesterday123
Daily average (1y)37
Peak day1,460Jul 24, 2026
Last 12 months13.4K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Post/Page Specific Custom C… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
custom css #13 10,000 Best custom css plugins →
page-specific #1 10,000 Best page-specific plugins →
per page CSS #4 8,071 Best per page CSS plugins →
post-specific #2 10,000 Best post-specific plugins →
woocommerce >100 10,000 Best woocommerce plugins →

Version adoption

Share of active sites per release.

  • 0.362.7%
  • 0.235.7%
  • 0.11.6%

Rating breakdown

★★★★★★★★★★ 4.6 from 42 reviews

  • 5★81.0%
  • 4★11.9%
  • 3★0.00%
  • 2★2.4%
  • 1★4.8%

About Post/Page Specific Custom Code

From the official readme · v0.3.2

Description

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

  1. Download the plugin ZIP from WordPress.org (or from this repository).
  2. Upload the postpage-specific-custom-css folder 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).
  3. Activate the plugin through the Plugins menu in WordPress.
  4. 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_valid meta 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

Full changelog on WordPress.org →

Screenshots

If you do not see the Custom Code panel, open Screen Options and make sure "Custom Code" is checked.
If you do not see the Custom Code panel, open Screen Options and make sure "Custom Code"…
Enter CSS that applies to your post, page, or product. You can limit it to the single view only.
Enter CSS that applies to your post, page, or product. You can limit it to the single…
Plugin settings screen.
Plugin settings screen.

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.

Active installs badge Rating badge Health score badge

Best Post/Page Specific Custom Code alternatives

All custom css plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Simple Custom CSS and JS Simple Custom CSS and JS Easily add Custom CSS or JS to your website with an awesome editor. by SilkyPress 600K+ ★★★★★★★★★★ 4.4 (104) 1 month ago 83
2 Insert Headers And Footers Insert Headers And Footers Include inline javascript, stylesheets, CSS code or anything you want in Header and Footer… by Adnan 200K+ ★★★★★★★★★★ 5 (135) 2 months ago 88
3 Simple Custom CSS Plugin Simple Custom CSS Plugin Add Custom CSS to your WordPress site without any hassles. by John Regan 100K+ ★★★★★★★★★★ 4.7 (159) 2 years ago 51
4 Simple CSS Simple CSS Add CSS to your website through an admin editor, the Customizer or a metabox for page/post… by Tom 70K+ ★★★★★★★★★★ 4.9 (60) 1 year ago 57
5 WP Add Custom CSS WP Add Custom CSS Add custom css to the whole website and to specific posts and pages. by Daniele De Santis 60K+ ★★★★★★★★★★ 4.8 (89) 1 year ago 56
6 FluentSnippets – High-Performance Code Snippets, Header & Footer Code, Custom CSS & PHP Code Manager FluentSnippets Fast, file-based code snippets plugin. Insert header & footer scripts and add PHP, CSS, JS… by WPManageNinja 60K+ ★★★★★★★★★★ 4.7 (80) 1 month ago 90
7 Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts Woody Code Snippets Insert PHP, JavaScript, CSS, HTML, ads & tracking code into WordPress headers, footers… by Themeisle 50K+ ★★★★★★★★★★ 4.5 (221) 1 week ago 93
8 WP Coder – Insert & Manage Code Snippets WP Coder – Insert & Manage Code Snippets Add code snippets, header & footer scripts and custom HTML, CSS, JS & PHP — site-wide or by… by Wow-Company 10K+ ★★★★★★★★★★ 4.9 (32) 3 weeks ago 90
9 Custom CSS and JavaScript Custom CSS and JavaScript Easily add custom CSS and JavaScript code to your WordPress site, with draft previewing… by WP Zone 10K+ ★★★★★★★★★★ 4.7 (60) 2 weeks ago 78
10 TJ Custom CSS TJ Custom CSS Easily to add any Custom CSS code to your WordPress website. by Theme Junkie 8K+ ★★★★★★★★★★ 5 (6) 4 years ago 41

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

↑↓ to move↵ to open