BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
Custom Code icon
Possibly abandoned Tested up to 3.7.41 #79 in css

Custom Code

Add Custom script and CSS code to header, footer,before post,after post.

Active installs100+100+ tier
Downloads · 30d121▲ +8% vs prev. 30d
Rating4/54 reviews
Health score29/100At risk
All-time downloads9.2KSince Feb 2014
Support resolved—No recent threads
RequiresWP 3.0.1PHP any
Downloads · 7d33▲ +6.5% week over week
Our verdict

Consider an alternative

Custom Code shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites, is rated 4/5 and was last updated 13 years ago, and scores 29/100 on our health check.

  • Small user base (100+ active installs)
  • Very few reviews so far
  • No update in 12 years
  • Only tested up to WordPress 3.7 (latest is 7.1)

How does it stack up?

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

Daily downloads

246Jul 1Aug 14Sep 28
Yesterday2
Daily average (1y)3
Peak day13May 5, 2026
Last 12 months1.2K

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

Rankings

Where Custom Code stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
css >100 10,000 Best css plugins →
custom code >100 10,000 Best custom code plugins →
footer >100 4,720 Best footer plugins →
header >100 10,000 Best header plugins →
script >100 10,000 Best script plugins →

Version adoption

Share of active sites per release.

  • 1.156.7%
  • 1.043.3%

Rating breakdown

★★★★★★★★★★ 4 from 4 reviews

  • 5★75.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★25.0%

About Custom Code

From the official readme · v1.1

Description

Add Custom script and CSS code to header, footer,before post,after post.

1. You can add custom code at header, but before

2. You can add custom code at footer, but before

3. You can add custom code before post content, this will display on single page only

4. You can add custom code after post content, this will display on single page only

You can use plain html, JavaScript and CSS code, but for JavaScript and CSS don’t forget to add and tag

Installation

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Changelog

Fixed issue in before content and after content

1.1

  • Fixed issue in before content and after content

1.0

  • Add Custom script and CSS code to header, footer

Full changelog on WordPress.org →

Screenshots

Add Edit Custom Code.
Add Edit Custom Code.
Manage Custom Code.
Manage Custom Code.
How Code look in source code.
How Code look in source code.

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 Code alternatives

All css plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager WPCode Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code… by Syed Balkhi 3M+ ★★★★★★★★★★ 4.9 (1.9K) 1 month ago 91
2 Code Snippets Code Snippets An easy, clean, and simple way to enhance your site with code snippets. by Code Snippets Pro 1M+ ★★★★★★★★★★ 4.7 (509) 4 weeks ago 95
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 Blocks Animation: CSS Animations for Gutenberg Blocks Blocks Animation: CSS Animations for Gutenberg Blocks Add CSS animations and scroll effects to any Gutenberg block. Choose from fade, slide, zoom… by Hardeep Asrani 90K+ ★★★★★★★★★★ 4.7 (70) 7 days ago 90
5 Widget CSS Classes Widget CSS Classes Add custom classes and ids plus first, last, even, odd, and numbered classes to your… by Jory Hogeveen 80K+ ★★★★★★★★★★ 4.9 (74) 2 years ago 52
6 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
7 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
8 Clear Cache for Me Clear Cache for Me Purges cache on WPEngine, W3TC, WP Super Cache, WP Fastest Cache when widgets, menus… by webheadcoder 40K+ ★★★★★★★★★★ 4.8 (29) 3 months ago 75
9 WP-SCSS WP-SCSS Compiles .scss files to .css and enqueues them. by Connect Think 40K+ ★★★★★★★★★★ 4.3 (61) 7 months ago 60
10 Visual CSS Style Editor Visual CSS Style Editor Style your WordPress site visually. Discover the most popular front-end design plugin! Try… by YellowPencil 30K+ ★★★★★★★★★★ 4.1 (90) 1 month ago 83

FAQ

Custom Code: quick answers

Straight answers, pulled from live WordPress.org data.

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

Is Custom Code free?

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

Is Custom Code safe to use in 2026?

Custom Code shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites, is rated 4/5 and was last updated 13 years ago, and scores 29/100 on our health check.

How many websites use Custom Code?

Custom Code is active on 100+ WordPress websites and has been downloaded 9,175 times since it launched in February 2014. It was downloaded 121 times in the last 30 days.

Does Custom Code work with WordPress 7.1?

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

When was Custom Code last updated?

The latest version, 1.1, was released on March 2, 2014 (13 years ago).

Who makes Custom Code?

Custom Code is developed and maintained by Varni Infotech.

What are the best alternatives to Custom Code?

The most popular alternatives to Custom Code are WPCode (3M+ installs), Code Snippets (1M+ 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.