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.
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
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Add Custom Codes stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| custom codes | #7 |
| custom css | #39 |
| footer codes | #12 |
| header codes | #9 |
| php snippets | #7 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 6 reviews
About Add Custom Codes
From the official readme · v5.0Description
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
- Install the plugin through
Plugins -> Add Newor Upload the plugin files to the/wp-content/plugins/add-custom-codesdirectory - Activate ‘Add Custom Codes’ plugin through the ‘Plugins’ page in WordPress
- 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.
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.
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









