10,000+
September 17, 2025
November 11, 2022
#1 Plugin to Display Any Code Snippet Beautifully in WordPress’ at the top of the description.
Advance Custom HTML | Pricing | Support | Demo
Advance Custom HTML lets users display HTML, CSS, JavaScript, PHP, Python, or other code snippets within WordPress posts, pages, or widgets. With built-in live preview support, syntax highlighting, and code editor features, it’s designed for sharing code in a clean, readable, and responsive format.
This plugin includes a front-end code editor with a draggable preview panel, multiple syntax themes, and customizable settings for formatting and appearance. Ideal for tutorials, technical articles, and documentation, it provides a flexible way to embed and present code with real-time results.
Edit code and preview output together on the editor/backend.
Live Output Preview: See the results of your code instantly
Autocomplete suggestions while writing code
Draggable Preview Panel to move output anywhere on screen
Set editor Font Size
Fully responsive, mobile-friendly interface
Lightweight and fast for better performance
The Pro version offers extended customization and control over code presentation and layout.
What’s Included in Pro:
Choose from 40+ editor themes (dark, light, minimal, etc.)
Adjust Tab size, line wrapping, editor height/width
Change syntax mode per snippet: HTML, CSS, JS, PHP, Python, and more
Toggle features: Copy button, Fold gutter, Highlight active line, etc.
Customize the Copy to Clipboard button text, icon, style, and position
Hide Headings or Labels for a clean, minimalist look
Hide or Show Line numbers to simplify code presentation
Enable or Disable Wrap to control line flow in your editor
Edit Code Editor/Snippet Height and Width, and align left, center, or right
Fold Gutter support for collapsing code blocks
Highlight Active Line Toggle for easier focus during tutorials
Install the Advance Custom HTML
Open the editor for any post or page
Click Add Block and select Advance Custom HTML under Widgets
Write or paste your code
Customize the settings (theme, preview, copy button)
Publish or update the content
Write and preview front-end HTML/CSS tutorials
Embed JavaScript snippets with instant results
Display PHP code in educational content
Show Python syntax in data science blogs
Publish developer documentation or API guides
Create interactive code articles with live editing
Bloggers and Tech Writers
Coaches, Instructors, and Course Creators
Web Developers and Designers
Software Product Sites
Niche Tutorials & SaaS Startups
Business Sites with Technical Content
Anyone publishing HTML, JS, CSS, PHP, or Python code
Html5 Video Player – Display videos as single and playlist in multiple skins.
PDF Poster – Display/Embed PDF files with different styles.
Html5 Audio Player – Listen audios with awesome visuals.
StreamCast – Customizable radio player with different skins.
3D Viewer – Embed 3D models and 3D products with interaction.
Advanced Post Block – Show posts and custom posts in different layouts.
custom-html.zip
file and click on Install Now/wp-content/plugins/
directoryYou can embed HTML, CSS, JavaScript, PHP, Python, and other programming languages. The plugin supports syntax highlighting and live preview for many common formats.
You can use either the Gutenberg block or the shortcode provided when you create a new snippet. Just paste it into any post, page, or widget area.
Yes. The plugin includes a draggable preview panel that shows live output for front-end code like HTML, CSS, and JavaScript.
Yes, syntax highlighting is built-in and supports multiple languages. You can also choose from over 40 editor themes to match your site.
Yes. You can toggle settings like line numbers, copy button, wrap lines, fold gutter, and more.
Yes. You can insert as many snippets as needed using shortcodes or blocks. Each snippet has its own settings and display options.
Yes. All embedded code blocks and preview panels are designed to work across devices of all sizes.
You can choose from a wide range of themes and customize font size, spacing, layout, and more from the editor settings.
Yes, it will work with any standard WordPress theme.
Yes, you can change block settings from the Gutenberg block editor’s right sidebar.
You can post your questions on the support forum here
Please report security bugs found in the source code of the Advance Custom HTML plugin through the Patchstack Vulnerability Disclosure Program. The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.