WordPress plugin
Custom JS
Add custom JavaScript and HTML to the head, body or footer of your site, admin area and login page.
- Active installs
- 100+
- Version
- 2.0.0
- Last updated
- Nov 3, 2026
- Tested up to
- WordPress 7.1.5
- Requires
- WP 4.6 · PHP 5.6
Health check
Is Custom JS safe to rely on?
Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.
Actively maintained
Last updated on November 3, 2026. Regular updates usually mean bugs and security reports get fixed.
Tested with current WordPress
The author has tested it up to WordPress 7.1.5.
Requires PHP 5.6 or newer
Check your hosting PHP version before installing. Modern PHP is faster and receives security fixes.
Rank tracker
Where Custom JS ranks in WordPress.org search
Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.
| Keyword | Position | Change | Trend | Current #1 |
|---|---|---|---|---|
| analytics | ||||
| custom js | ||||
| header footer code | ||||
| javascript | ||||
| snippets |
Checked against the top 100 WordPress.org search results.
Overview
What Custom JS does
Custom JS lets you add JavaScript (analytics, tag managers, chat widgets, pixels, your own scripts) to WordPress without editing theme files.
Head, Body and Footer code – including the new “after ” location (Google Tag Manager noscript etc.).
Unlimited snippets – named pieces of code you can switch on/off, duplicate and organise.
Conditions per snippet – front page, blog, posts, pages, archives, search, 404, specific IDs/slugs, URL rules with wildcards, exclusions.
Visitor targeting – everyone, logged-in, logged-out, non-admins, specific user roles, desktop or mobile.
Scheduling – start and end date/time for campaigns and promos.
External scripts – add a script by URL with async / defer / type=”module”.
Description from the author's listing. Read the full listing on WordPress.org
Screenshots
Custom JS in action

FAQ
Custom JS: questions and answers
What is Custom JS?
Custom JS is a WordPress plugin by seosbg. Add custom JavaScript and HTML to the head, body or footer of your site, admin area and login page.
Is Custom JS free?
Custom JS is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.
How many websites use Custom JS?
WordPress.org reports 100+ active installations of Custom JS. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.
Is Custom JS still maintained?
Custom JS was last updated on November 3, 2026. The current version is 2.0.0. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.
What does Custom JS require?
Custom JS requires WordPress 4.6 or newer and PHP 5.6 or newer. It has been tested up to WordPress 7.1.5.
Can Codefreex set up or customize Custom JS?
Yes. Codefreex installs, configures and customizes WordPress plugins including Custom JS, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.
Free expert review
Need Custom JS set up, customized or fixed?
Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.