Add Custom Codes – Insert Header, Footer, Custom PHP Snippets, CSS, Javascript
View on WordPress.orgScores higher than 46% of indexed plugins
About
A completely free plugin to add Custom PHP functions, HTML, CSS, Javascript, any other custom codes to your wordpress website.
Security History
What It Does
Add Custom Codes lets you paste PHP, HTML, CSS, JavaScript, and other custom code into your WordPress site without editing your theme files directly. It provides dedicated areas for header, footer, and general snippets so you can inject tracking pixels, custom styles, or small PHP functions site-wide. Think of it as a safer middle ground between the built-in theme editor and a full code snippets manager.
Who It's For
This plugin is a reasonable fit for solo site owners, freelancers, and small businesses who need to drop in a few analytics tags, custom CSS tweaks, or lightweight PHP snippets without installing a heavier code management tool. It also works for digital agencies running low-stakes client sites where a simple, free solution beats a paid snippets plugin. With only 1,000 active installs, it is best suited for users comfortable evaluating a smaller, less proven tool.
Who Should Skip It
If you are running a high-traffic site, an e-commerce store, or anything mission-critical, you should skip this plugin and pick a more established alternative with a longer track record. Developers who need conditional snippet logic, snippet export/import, or a code execution safety layer will also outgrow it quickly.
The Bottom Line
Add Custom Codes scores a 75.93/100, and the numbers tell a mixed story: maintenance and compatibility are strong, but 1,000 installs, 0 support threads, and a 6-rating sample make it hard to recommend over alternatives with 50,000 to 600,000 installs. If you need a free header and footer injector for a low-risk site, it can do the job, but established options like Insert Headers And Footers or Simple Custom CSS and JS offer far more community confidence for the same effort.
Related Plugins
Pick this instead if you only need to add scripts to the header or footer and want the safest, most battle-tested option with 300,000 installs.
Pick this instead if your focus is on adding custom CSS and JavaScript to the frontend and you want 600,000 installs of community trust.
Pick this instead if you need conditional PHP snippet execution with a visual interface and stronger snippet management features.
Pick this instead if you want a high-performance snippet manager with better organization, export, and conditional logic for serious code work.
Pick this instead if your only need is sitewide custom CSS and you want a focused, lightweight tool without the extra PHP and JS surface area.