Tired of editing theme files to add custom scripts or styles? WP Coder lets you effortlessly insert custom HTML, CSS, JavaScript, and PHP snippets right from your dashboard, giving you complete control and flexibility.
Documentation | Upgrade to Pro
WP Coder is a robust and user-friendly WordPress plugin that allows effortless insertion of custom HTML, CSS, JavaScript, and PHP code directly into your pages, posts, or widgets using powerful shortcodes. No more editing theme files—gain full control over your website’s customization instantly.
?? Why WP Coder?
- Advanced Code Editor: CodeMirror-powered editor with syntax highlighting and intuitive navigation.
- Shortcode Integration: Use
[wp_code id="X"]to embed snippets anywhere easily. - Live HTML & CSS Preview: Real-time preview without the need to save or reload.
- Code Optimization: Minify and inline your CSS/JS to boost website speed.
?? Ideal for:
- Developers: Rapidly test scripts or debug live sites.
- Marketers: Easily integrate analytics, pixels, and ad scripts.
- Bloggers & Designers: Customize styles, enhance layouts, and improve user engagement.
?? Features:
- Embed HTML, CSS, JS, and PHP: Easily insert custom code through powerful shortcodes.
- Advanced Tabbed Code Editor: Easily toggle visibility of HTML, CSS, JS, and PHP tabs for focused editing or cleaner visualization.
- Syntax Highlighting: Enhanced code readability with CodeMirror integration.
- Live Preview: Instantly view HTML and CSS output inside the editor.
- Minify & Optimize: Improve loading performance by minifying CSS and JavaScript.
- JS Optimization: Control script attributes (async, defer, disable jQuery).
- Smart PHP Handling: Execute PHP snippets conditionally—run where inserted, run only in the admin area, run only on the front-end, or run everywhere.
- External Scripts & Styles: Include external libraries like Google Fonts or CDN resources.
- Test Mode: Safely preview snippets without affecting your live site.
- Import/Export: Easily transfer snippets and settings between sites.
- Visual Snippet Navigation: Inline NAV comments for easy code section navigation.
- Safe and Lightweight: Built for speed and optimized for security, with zero bloat.
?? 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
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
?? PRO Features:
- Custom Templates: Create unique page and post templates. Also available for categories, archives, and custom post types.
- Conditional Display Rules: Show snippets based on specific criteria.
- Advanced Shortcode Attributes: Create and use custom shortcode attributes to dynamically adjust snippet content.
- Scheduled Visibility: Set date/time rules for snippet display.
- Visibility Control: Mobile/Desktop-specific visibility settings.
- Browser & Language Targeting: Show or hide snippets based on browser or language.
- Maintenance Mode: Display custom maintenance pages.
- Remove Enqueued Scripts & Styles: Optimize site performance by managing scripts/styles.
- QuickCode: Dynamically insert data like object IDs or site options.
- Register Menu: Automatically add menu support in themes that don’t have a registered navigation menu.
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:
?? Other Popular Plugins:
- Popup Box
- Counter Box
- Button Generator
- Herd Effects
- Floating Button
- Side Menu Lite
- Sticky Buttons
- Bubble Menu
- Float Menu
- Modal Window
Enhance your WordPress site today with WP Coder!
Support
Need help? Ask questions and get quick answers in our support center.

评论0