Post/Page Specific Custom Code
Add custom CSS to individual posts, pages, or WooCommerce products, with optional archive support and a dedicated code editor.
Choix
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
- Développé activement — Dernière mise à jour il y a 1 semaine
- Testé avec le dernier WordPress (7.1)
- Momentum — downloads up 244.9% vs the previous 30 days
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Post/Page Specific Custom C… stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| CSS personnalisé | #13 |
| page-specific | #1 |
| per page CSS | #4 |
| post-specific | #2 |
| WooCommerce | >100 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★★★★★★ 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).
Obligations
This plugin requires WordPress 5.0 or later (please keep WordPress up to date) and PHP 7.4 or later on your server.
Installation
Installation automatique
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.
Installation manuelle
- 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). - Activez le plugin via le menu des plugins dans WordPress.
- That’s it — enjoy!
Journal de modifications
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
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Post/Page Specific Custom Code alternatives
Tous les plugins CSS personnalisés →FAQ
Post/Page Specific Custom Code: quick answers
Réponses directes, extraites des données en direct WordPress.org.
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).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit



