🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Add Custom Codes – Insert Header, Footer, Custom PHP Snippets, CSS, Javascript icon
Maintained Tested up to 7.0.9 #1 in custom codes

Add Custom Codes – Insert Header, Footer, Custom PHP Snippets, CSS, Javascript

A completely free plugin to add Custom PHP functions, HTML, CSS, Javascript, any other custom codes to your wordpress website.

Active installs1K+1K+ tier
Downloads · 30d769▲ +33% vs prev. 30d
Rating5/56 reviews
Health score61/100Fair
All-time downloads21.8KSince Mar 2017
Support resolved—No recent threads
RequiresWP 6.6.2PHP 7.4+
Downloads · 7d224▲ +11.4% week over week
Our verdict

Use with caution

Add Custom Codes works, but test it on a staging site before relying on it in 2026. It runs on 1K+ sites, is rated 5/5 and was last updated 7 months ago, and scores 61/100 on our health check.

  • Momentum — downloads up 33% vs the previous 30 days

Daily downloads

142842Sep 5Oct 19Dec 3
Yesterday34
Daily average (1y)16
Peak day456Mar 17, 2026
Last 12 months6K

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

Rankings

Where Add Custom Codes stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
custom codes #7 10,000 Best custom codes plugins →
custom css #39 10,000 Best custom css plugins →
footer codes #12 4,332 Best footer codes plugins →
header codes #9 10,000 Best header codes plugins →
php snippets #7 1,765 Best php snippets plugins →

Version adoption

Share of active sites per release.

  • 5.081.7%
  • 4.809.1%
  • 4.65.3%
  • Other3.9%

Rating breakdown

★★★★★★★★★★ 5 from 6 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Add Custom Codes

From the official readme · v5.0

Description

Add custom codes to your wordpress website. You can add custom PHP Functions, HTML, custom CSS, Javascript, Google Analytics, Search Console verification tags or other code snippets to your site.

Features

  • 100% free wordpress plugin, no paid upgrades needed!
  • Add PHP Snippets, Custom CSS, Javascript, Google Analytics, Facebook Scripts, Meta Verification Codes, Search console verification and other codes to your wordpress website easily.
  • Generate Shortcodes for HTML Snippets and use it anywhere on the site!
  • Syntax highlighter enabled with Light and Dark Mode Editors
  • Classify snippets using tags
  • Add Notes to Snippets
  • Activate/Inactivate snippets with a single click
  • Auto-deactivate feature for PHP snippets that causes errors.
  • Add Custome Codes globally or on individual posts, pages, products and even on custom post types.
  • Option to select where to put snippets: before </head> or before </body> etc.
  • Import/Export Snippets to use on other sites.

Installation

  1. Install the plugin through Plugins -> Add New or Upload the plugin files to the /wp-content/plugins/add-custom-codes directory
  2. Activate ‘Add Custom Codes’ plugin through the ‘Plugins’ page in WordPress
  3. Go to ‘Dashboard -> Add Custom Codes’ to start using

Changelog

Intial Release

1.0

  • Initial Release

2.0

  • Tested to work on latest WordPress version

3.0

  • Tested to work on latest WordPress version
  • Replaced text editor.

4.0

  • Tested to work on latest WordPress version
  • Bug fixes and improvements.
  • Added support for individual posts, pages, woocommerce products and even custom post types.
  • Option to put CSS in header or footer of website.

4.1

  • Tweaks and improvements for the Version 4.0 released earlier.

4.2

  • Fixed a reported bug: users were not able to select all pages or posts on WordPress admin screen.

Full changelog on WordPress.org →

Screenshots

Global Custom CSS, Header Codes, Footer Codes
Global Custom CSS, Header Codes, Footer Codes
PHP functions
PHP functions
HTML Snippets with auto-generated Shortcode
HTML Snippets with auto-generated Shortcode
Javascript snippets
Javascript snippets
CSS Snippets
CSS Snippets
Dark Mode Editor
Dark Mode Editor
Snippets listing page
Snippets listing page
Snippet auto-deactivation feature
Snippet auto-deactivation feature
Header and Footer codes for Pages, Posts, Taxonomies etc.
Header and Footer codes for Pages, Posts, Taxonomies etc.

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

FAQ

Add Custom Codes: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Add Custom Codes free?

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

Is Add Custom Codes safe to use in 2026?

Add Custom Codes works, but test it on a staging site before relying on it in 2026. It runs on 1K+ sites, is rated 5/5 and was last updated 7 months ago, and scores 61/100 on our health check.

How many websites use Add Custom Codes?

Add Custom Codes is active on 1K+ WordPress websites and has been downloaded 21,793 times since it launched in March 2017. It was downloaded 769 times in the last 30 days.

Does Add Custom Codes work with WordPress 7.1?

Add Custom Codes is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Add Custom Codes need?

Add Custom Codes requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Add Custom Codes last updated?

The latest version, 5.0, was released on May 22, 2026 (7 months ago).

Who makes Add Custom Codes?

Add Custom Codes is developed and maintained by SaifuMak.

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