Custom Code
Add Custom script and CSS code to header, footer,before post,after post.
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 & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Custom Code stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| css | >100 |
| custom code | >100 |
| footer | >100 |
| header | >100 |
| script | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 4 from 4 reviews
About Custom Code
From the official readme · v1.1Description
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
- Upload
plugin-name.phpto the/wp-content/plugins/directory - 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
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.
Best Custom Code alternatives
All css plugins →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