Custom JS
Custom JS lets you add JavaScript (analytics, tag managers, chat widgets, pixels, your own scripts) to WordPress without editing theme files.
Escolha sólida
Custom JS is a solid plugin choice in 2026, with a few things worth checking first. It runs on 100+ sites and was last updated 4 weeks ago, and scores 68/100 on our health check.
- Desenvolvido ativamente — última atualização 4 semanas atrás
- Testado com as últimas WordPress (7.1)
- Base de usuários pequenas (mais de 100 instalações ativas)
- Muito poucos comentários até agora
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where Custom JS stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| analytics | >100 |
| custom js | #52 |
| header footer code | >100 |
| javascript | >100 |
| snippets | >100 |
Adoção da versão
Compartilhamento de sites ativos por lançamento.
About Custom JS
Do Readme oficial · v2.0.0Descrição
Custom JS lets you add JavaScript (analytics, tag managers, chat widgets, pixels, your own scripts) to WordPress without editing theme files.
Recursos
- 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”.
- Auto-wrap – paste plain JavaScript, the plugin adds the
- Load jQuery on demand for snippets that need it.
- Admin area and login page code.
- Per-page code – a “Custom JS” box on the post/page edit screen, with an option to switch off the global code on that page.
- Code editor with syntax highlighting, line numbers, linting and an optional dark theme. Ctrl+S / Cmd+S to save.
- Revisions – every save is kept; view and restore older versions.
- Import / Export to JSON – backups and moving between sites.
- Safe mode –
?cjs_safe_mode=1ordefine( 'CJS_SAFE_MODE', true );disables all custom code if something breaks. - Kill switch, “do not load for admins” (keeps your visits out of analytics), HTML comment markers for debugging.
- Secure – nonces on every action; on multisite only super admins can add code.
- Developer filters:
cjs_capability,cjs_front_allowed,cjs_snippet_should_run,cjs_snippet_code,cjs_output_{option},cjs_metabox_post_types.
Free WordPress Themes by SEOS Themes
Custom JS is made by SEOS Themes – the team behind high quality, HTML5, responsive and mobile friendly WordPress themes, downloaded more than 2,000,000 times.
Blog, news & magazine, online shop, business, real estate, restaurant, photography, music, portfolio and many more – most of them completely free.
Instalação
Instalar via plugins > Instalar novos
- Search for “Custom JS”
- Clique no link "Instalar agora"
- Clique em “Ativar plugin”
Via ZIP/FTP
- Descompacte o arquivo zip e solte a pasta diretamente no diretório wp-content/plugins.
- Ative o plugin através do menu 'Plugins' em WordPress.
Log de Changes
Big update: snippets, conditions, code editor, revisions, import/export and safe mode. Your existing code is kept and works exactly as before.
2.0.0
- New: “After ” location.
- New: unlimited snippets with location, priority, on/off switch, duplicate and notes.
- New: page, URL, user, role, device and schedule conditions for snippets.
- New: external script snippets with async / defer / module.
- New: admin area and login page code.
- New: per-post / per-page code box, with option to disable global code on a page.
- New: code editor with syntax highlighting, linting, dark theme and Ctrl+S save.
- New: revisions with restore.
- New: import / export JSON.
- New: safe mode, kill switch, hide for admins / logged-in users, HTML comment markers.
- New: optional auto-wrap of plain JavaScript in
- New: option to delete data on uninstall (off by default).
- Fix: translations now load with the correct text domain.
- Security: nonce checks everywhere; on multisite only users with unfiltered_html can save code.
- Fully backward compatible with 1.0 – existing code, admin URL and hook names are unchanged.
1.0
- Initial release of plugin
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best Custom JS alternatives
All analytics plugins →FAQ
Custom JS: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: WordPress.org
Is Custom JS free?
Yes. Custom JS is free to download and use from the official WordPress.org plugin directory.
Is Custom JS safe to use in 2026?
Custom JS is a solid plugin choice in 2026, with a few things worth checking first. It runs on 100+ sites and was last updated 4 weeks ago, and scores 68/100 on our health check.
How many websites use Custom JS?
Custom JS is active on 100+ WordPress websites and has been downloaded 4,793 times since it launched in September 2016. It was downloaded 404 times in the last 30 days.
Does Custom JS work with WordPress 7.1?
Yes. The developer has tested Custom JS up to WordPress 7.1.5, the latest release. It requires WordPress 4.6 or newer.
What PHP version does Custom JS need?
Custom JS requires PHP 5.6 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Custom JS last updated?
The latest version, 2.0.0, was released on November 3, 2026 (4 weeks ago).
Who makes Custom JS?
Custom JS is developed and maintained by seosbg.
What are the best alternatives to Custom JS?
The most popular alternatives to Custom JS are Site Kit by Google (5M+ installs), MonsterInsights (2M+ installs) and WP Statistics (500K+ installs).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito

