BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
Custom CSS and JavaScript icon
Possibly abandoned Tested up to 6.6.9 #8 in custom css

Custom CSS and JavaScript

This plugin allows you to add custom site-wide CSS styles and JavaScript code to your WordPress site. Useful for overriding your theme’s styles and adding client-side functionality.

Active installs10K+10K+ tier
Downloads · 30d606▲ +1.5% vs prev. 30d
Rating4.7/560 reviews
Health score35/100At risk
All-time downloads179.6KSince Dec 2015
Support resolved0 / 10% in last 2 months
RequiresWP 3.5PHP any
Downloads · 7d153▼ -5% week over week
Our verdict

Consider an alternative

Custom CSS and JavaScript shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10K+ sites, is rated 4.7/5 and was last updated 2 years ago, and scores 35/100 on our health check.

  • Proven at scale on 10K+ active sites
  • Loved by users — 4.7/5 from 60 reviews
  • No update in 2 years
  • Only tested up to WordPress 6.6 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

91827Jun 29Aug 12Sep 26
Yesterday20
Daily average (1y)15
Peak day37Sep 17, 2026
Last 12 months5.6K

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

Rankings

Where Custom CSS and JavaScript stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
custom css >100 10,000 Best custom css plugins →
custom javascript #64 6,951 Best custom javascript plugins →
javascript #50 10,000 Best javascript plugins →
styles >100 10,000 Best styles plugins →
stylesheet >100 2,975 Best stylesheet plugins →

Version adoption

Share of active sites per release.

  • 2.0100.0%

Rating breakdown

★★★★★★★★★★ 4.7 from 60 reviews

  • 5★90.0%
  • 4★1.7%
  • 3★0.00%
  • 2★1.7%
  • 1★6.7%

About Custom CSS and JavaScript

From the official readme · v2.0.16

Description

This plugin allows you to add custom site-wide CSS styles and JavaScript code to your WordPress site. Useful for overriding your theme’s styles and adding client-side functionality.

Features:

  • Code editor with syntax highlighting and AJAX saving to avoid reloading the editor at each save.
  • Save and preview your CSS and JavaScript as a draft that is only applied to logged-in users with the necessary permissions until you are ready to publish your changes to the public.
  • View and restore past revisions of your CSS and JavaScript.
  • Automatically minify your custom CSS and JavaScript code to reduce file size.
  • For the public, custom CSS and JavaScript code is served from the filesystem instead of the database for optimal performance.

Now available! Custom CSS and JavaScript Developer Edition:

  • Divide your CSS and JavaScript into multiple virtual files to keep your code organized (the code is still served as one CSS and one JS file on the front-end for efficiency).
  • Supports Sassy CSS (SCSS)!
  • Live preview for CSS!
  • Upload and download CSS and JavaScript files, individually or in ZIP files.
  • The developer logo and review/donation links are removed from the editor page in the WordPress admin.

Click here to purchase!

Alternatively, you can manually upload the plugin to your wp-content/plugins directory.

If you like this plugin, please consider leaving a comment or review.

User Access Control

In the Custom CSS and JavaScript WordPress plugin, access to plugin features is determined by user capabilities. Users with the edit_theme_options capability will enjoy full access to all the plugin’s features.

By default, the “Administrator” and “Editor” roles come equipped with the edit_theme_options capability. However, site administrators have the flexibility to customize these capabilities and assign them to other roles or individual users through plugins or custom code.

Furthermore, to provide users with enhanced control, we’ve introduced a custom capability known as wpz_custom_css_js. Users possessing both the wpz_custom_css_js and edit_posts capabilities can be granted access to the plugin’s features.

You may also like these plugins

WP Zone has built a bunch of plugins, add-ons, and themes. Check out other favorites here on the repository and don’t forget to leave a 5-star review to help others in the community decide.

  • Product Sales Report for WooCommerce – set up a custom sales report for the products in your WooCommerce store with toggle sorting options. Including or excluding items based on date range, sale status, product category and id, define display order, choose what fields to include, and generate your report with a click.
  • Export Order Items for WooCommerce – export the order details for each sale in your WooCommerce store. Simplify order fulfillment, generate accounting reports in a few clicks, and download into CSV format for readability and universal compatibility with Export Order Items.
  • Replace Image – keep the same URL when uploading to the WordPress media library
  • Force Update Check for Plugins and Themes -force Update Check for Plugins and Themes forces WordPress to run a theme and plugin update check whenever you visit the WordPress updates page
  • Connect SendGrid for Emails – connect SendGrid for Emails is a third-party fork of (and a drop-in replacement for) the official SendGrid plugin
  • Custom CSS and JavaScript – allows you to add custom site-wide CSS styles and JavaScript code to your WordPress site. Useful for overriding your theme’s styles and adding client-side functionality.
  • Disable User Registration Notification Emails – when this plugin is activated, it disables the notification sent to the admin email when a new user account is registered.
  • Inline Image Upload for BBPress – enables the TinyMCE WYSIWYG editor for BBPress forum topics and replies and adds a button to the editor’s “Insert/edit image” dialog that allows forum users to upload images from their computer and insert them inline into their posts.
  • Password Strength for WooCommerce – disables password strength enforcement in WooCommerce.
  • Potent Donations for WooCommerce – acceptance donations through your WooCommerce store
  • Shortcodes for Divi – allows to use Divi Library layouts as shortcodes everywhere where text comes.
  • Stock Export and Import for WooCommerce – generates reports on the stock status (in stock / out of stock) and quantity of individual WooCommerce products.
  • Random Quiz Generator for LifterLMS – pull a random set of questions from your quiz so users never get the same question twice when retaking or setting up a practice quiz.
  • WP and Divi Icons – adds over 660 custom outline SVG icons to your website. SVG icons are vector icons, so they are sharp and look good on any screen at any size.
  • WP Layouts – the best way to organize, import, and export your layouts, especially if you have multiple websites.
  • WP Squish – reduce the amount of storage space consumed by your WordPress installation through the application of user-definable JPEG compression levels and image resolution limits to uploaded images.

To view WP Zone’s premium WordPress plugins and themes, visit our WordPress products catalog page.

Installation

  1. Click “Plugins” > “Add New” in the WordPress admin menu.
  2. Search for “Custom CSS and JavaScript”.
  3. Click “Install Now”.
  4. Click “Activate Plugin”.

Changelog

2.0.16 – August 29, 2023

  • Revert changes related to the admin page slug change

2.0.15 – August 23, 2023

  • Introduce wpz_custom_css_js capability

2.0.14 – August 21, 2023

  • Fix: error on save “security token expired”
  • Compatibility with PHP 8
  • Load minified files on admin page
  • Change admin page title from h2 to h3
  • Add addons tab
  • Admin page rebrand

2.0.13 – August 17, 2023

  • Add notice about new plugin, AI Image Lab

2.0.12

  • Updated links, author, changed branding to AGS,
  • Updated tested up to,
  • Removed donation links,
  • Added aspengrovestudios as contributor

2.0.11

  • Fix: Issue with previous update if the admin JavaScript file was already in the browser cache

Full changelog on WordPress.org →

Screenshots

Custom CSS editor
Custom CSS editor

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 Custom CSS and JavaScript 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 (103) 1 month ago 90
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 300K+ ★★★★★★★★★★ 5 (135) 2 months ago 84
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 80K+ ★★★★★★★★★★ 4.9 (60) 1 year ago 58
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 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) 2 weeks ago 93
7 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 50K+ ★★★★★★★★★★ 4.7 (77) 2 months ago 85
9 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
10 CodeKit – Custom Codes Editor CodeKit – Custom Codes Editor Your custom SASS, CSS, JS, PHP and HTML customizations in same directory. by Bilal TAS 7K+ ★★★★★★★★★★ 4.8 (16) 7 months ago 62
11 Custom CSS Pro Custom CSS Pro Professional real-time CSS editor for those who want to code CSS. by YellowPencil 7K+ ★★★★★★★★★★ 5 (15) 1 month ago 80

FAQ

Custom CSS and JavaScript: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Sep 27, 2026

Is Custom CSS and JavaScript free?

Yes. Custom CSS and JavaScript is free to download and use from the official WordPress.org plugin directory.

Is Custom CSS and JavaScript safe to use in 2026?

Custom CSS and JavaScript shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10K+ sites, is rated 4.7/5 and was last updated 2 years ago, and scores 35/100 on our health check.

How many websites use Custom CSS and JavaScript?

Custom CSS and JavaScript is active on 10K+ WordPress websites and has been downloaded 179,633 times since it launched in December 2015. It was downloaded 606 times in the last 30 days.

Does Custom CSS and JavaScript work with WordPress 7.1?

Custom CSS and JavaScript is officially tested up to WordPress 6.6.9, while the latest release is 7.1.2. It may still work, but try it on a staging site first.

When was Custom CSS and JavaScript last updated?

The latest version, 2.0.16, was released on August 12, 2024 (2 years ago).

Who makes Custom CSS and JavaScript?

Custom CSS and JavaScript is developed and maintained by WP Zone.

What are the best alternatives to Custom CSS and JavaScript?

The most popular alternatives to Custom CSS and JavaScript are Simple Custom CSS and JS (600K+ installs), Insert Headers And Footers (300K+ installs) and Simple Custom CSS Plugin (100K+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.