Adicione facilmente snippets de código no WordPress. Insira scripts de cabeçalho e rodapé, adicione trechos de código PHP com lógica condicional, insira código de pixel de anúncios e muito mais.
WP Coder – Insert & Manage Code Snippets
Hospedagem WordPress com plugin WP Coder – Powerful HTML, CSS, JS and PHP Injection
Onde devo hospedar o plugin WP Coder – Powerful HTML, CSS, JS and PHP Injection?
Este plugin pode ser hospedado em qualquer hospedagem que tenha WordPress instalado. Recomendamos fortemente utilizar um provedor de hospedagem de confiança, com servidores especializados para WordPress, como o serviço de hospedagem de sites da MCO2.
Hospedando o plugin WP Coder – Powerful HTML, CSS, JS and PHP Injection em um provedor confiável
A MCO2, além de instalar o WordPress na versão mais atual para seus clientes, disponibiliza o WP SafePress, um sistema singular que protege e otimiza seu site simultaneamente.
Por que a Hospedagem WordPress funciona melhor na MCO2?
A Hospedagem WordPress funciona melhor pois a MCO2 possui servidores otimizados para WordPress. A instalação de WordPress é diferente de uma instalação trivial, pois habilita imediatamente recursos como otimização automática de imagens, proteção da página de login, bloqueio de atividades maliciosas diretamente no firewall, cache avançado e HTTPS ativado por padrão. São plugins que potencializam seu WordPress para a máxima segurança e o máximo desempenho.
Tired of editing theme files to add custom scripts or styles?
WP Coder lets you insert custom HTML, CSS, JavaScript, and PHP snippets directly from your dashboard — no coding in theme files required. Gain full control and flexibility over your site.
Documentation | Upgrade to Pro
Why WP Coder?
- All-in-One Code Editor: Tabbed editor for HTML, CSS, JS & PHP with CodeMirror syntax highlighting.
- Shortcode Integration: Use
[wp_code id="X"]
to embed snippets anywhere. - Live Preview: Instantly preview HTML & CSS without reloads.
- Performance Ready: Minify CSS/JS and control script loading with
async
/defer
.
Ideal For
- Developers: Test snippets, hooks, and debug quickly.
- Marketers: Insert tracking pixels, analytics, and ad scripts.
- Designers & Bloggers: Customize layouts, styles, and enhance engagement.
Key Features
- Insert HTML, CSS, JS, and PHP via powerful shortcodes.
- Smart PHP handling: run in admin, front-end, everywhere, or only where inserted.
- Include external libraries (Google Fonts, CDN scripts & styles).
- Test Mode: Preview snippets safely before going live.
- Import/Export snippets and settings between sites.
- NAV comments: Add inline navigation markers for faster code editing.
- Lightweight & secure — built for performance.
Included Tools:
Integrations
- Google Analytics, Facebook Pixel, and Pinterest Pixel integration.
- Google AdSense integration with the option to disable ads for selected user roles.
Content & Templates
- Markdown Editor – Disables Gutenberg and TinyMCE, replacing them with a Markdown editor powered by CodeMirror.
Developer Tools
- Debug Log management (enable/disable and clear log).
- Show Page Debug Info – Display technical info for the current request in the Admin Bar (template, query type, object, body classes). Admins only.
- Theme Switcher – Quickly switch between installed themes directly from the admin bar.
Included Snippets:
Editor & Content
- Disable Gutenberg Editor
- Remove Gutenberg Block CSS
- Disable Widget Blocks
- Enable Shortcode Execution in Widgets
- Enable Excerpt for Pages
- Open External Links in New Tabs
- Change “Read More” Text
Admin Interface Tweaks
- Disable Screen Options Tab
- Disable Welcome Panel
- Duplicate Posts
- Disable Admin Bar
Login & User Access
- Disable Login Page Language Switcher
- Disable Login by Email
- Disable Admin Password Reset Emails
- Custom Login Logo
- Custom Login Redirect URLs
- Change Redirect After Login
- Change Redirect After Logout
Media & Embeds
- Enable SVG Upload
- Force Lowercase Filenames
- Default ALT Text for Avatars
- Disable Lazy Load
- Disable Embeds
- Adjust oEmbed Max Dimensions
Core Functionality
- Disable XML-RPC
- Disable REST API
- Disable Automatic Updates
- Disable Emojis
- Disable Shortlinks
- Limit Post Revisions
Comments & Feedback
- Disable Comments Globally
- Disable Comment URL Field
- Disable Self Pingbacks
- Disable Trackbacks & Pingbacks
- Disable HTML in Comments
- Limit Comment Length
Cleanup & Optimization
- Remove WP Version
- Disable Attachment Pages
- Disable RSS Feeds
- Disable Built-in Search
- Disable wlwmanifest Link
- Disable Automatic Trash Emptying
- Redirect 404 to Homepage
WP Coder simplifies your WordPress development workflow and makes customization safe, fast, and flexible!
Get started today and simplify your WordPress development workflow with WP Coder!
Plugin Demo:
Support
Need help? Ask questions and get quick answers in our support center.
Capturas de tela

HTML Block – Easily insert custom HTML snippets.

CSS Block – Manage and insert custom CSS snippets.

JavaScript Block – Customize your site's functionality with JS snippets.

PHP Block – Dynamically embed PHP snippets.

Include External CSS & JS – Quickly link external CSS and JavaScript files.

Publish Settings – Configure snippet visibility and publishing options.

Snippets Manager – manage all snippets efficiently.

Tools – Access helpful tools like Tracking Code Manager and Google AdSense integration.

Global PHP – Insert PHP snippets globally across your website.

Export/Import – Easily export and import your snippet settings.