Advance Custom HTML – Show Off Code Snippets with Live Preview icon

Advance Custom HTML – Show Off Code Snippets with Live Preview

Advance Custom HTML is a WordPress plugin with the following stats:

  • #3,007 Global Rank
  • 10K+ active installs
  • 2.5/5 4 ratings
  • Since 2022 4 years active

PF Score (About PF Scores)

PF Score is not a quality guarantee. It is a ranking based on available public signals.

Gold71.9
Platinum
Gold
Silver
Bronze
Low

Score Breakdown

66.7
Popularity 40% 10K+ active installs
58.3
Reputation 35% 2.5★ from 4 ratings
99.2
Freshness 25% Updated 8 days ago

No vulnerability history

Download Trends

Loading download data…

Vulnerabilities

No known vulnerabilities

This plugin has no records in the Wordfence Intelligence vulnerability database.

About Advance Custom HTML

Display HTML, CSS, JavaScript, PHP & Python code snippets in WordPress with live preview, syntax highlighting, and a copy button.

Share HTML, CSS, JavaScript, PHP, and Python snippets that readers can see, copy, and watch run live – right inside your posts and pages.

Advance Custom HTML | Pricing | Support | Live Demo

Why Advance Custom HTML?

Plain code dumps are hard to read and impossible to interact with. Advance Custom HTML lets you display HTML, CSS, JavaScript, PHP, Python, and other code snippets in WordPress posts, pages, or widgets with built-in syntax highlighting, a clean code editor, and live preview support – so your readers see the code and the result side by side.

The plugin includes a front-end code editor with a draggable preview panel, multiple syntax themes, and customizable settings for formatting and appearance. It is ideal for tutorials, technical articles, and documentation – a flexible, responsive way to embed and present code with real-time results.

Free Features

  • Edit Code with Live Preview: Write code and see the rendered output together in the editor.
  • Live Output Preview: See the results of your code instantly.
  • Autocomplete Suggestions: Get smart suggestions while writing code.
  • Draggable Preview Panel: Move the output panel anywhere on screen.
  • Editor Font Size: Set the font size that suits your content.
  • Fully Responsive: Mobile-friendly code blocks and preview panels on every device.
  • Lightweight and Fast: Built for performance so your pages stay quick.

Pro Version – Unlock Advanced Controls

The Pro version offers extended customization and control over code presentation and layout.

Pro features include:

  • Choose from 40+ editor themes (dark, light, minimal, and more).
  • Adjust tab size, line wrapping, and editor height/width.
  • Change syntax mode per snippet: HTML, CSS, JS, PHP, Python, and more.
  • Toggle features: copy button, fold gutter, highlight active line, and more.
  • Customize the Copy to Clipboard button text, icon, style, and position.
  • Hide headings or labels for a clean, minimalist look.
  • Show or hide line numbers to simplify code presentation.
  • Enable or disable wrap to control line flow in your editor.
  • Set the 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.

How to Use – Quick Start

  1. Install and activate Advance Custom HTML.
  2. Open the editor for any post or page.
  3. Click Add Block and select Advance Custom HTML under Widgets.
  4. Write or paste your code.
  5. Customize the settings (theme, preview, copy button).
  6. Publish or update the content.

Live Demo | Buy The Pro

Use Cases

  • HTML/CSS Tutorials: Write and preview front-end lessons with live results.
  • JavaScript Demos: Embed snippets with instant, interactive output.
  • PHP Education: Display PHP code cleanly in courses and articles.
  • Data Science Blogs: Show Python syntax with proper highlighting.
  • Developer Documentation: Publish API guides and reference docs.
  • Interactive Articles: Create code content readers can explore with live editing.

Perfect for bloggers, tech writers, instructors and course creators, web developers, software product sites, and anyone publishing HTML, JS, CSS, PHP, or Python code.

Check out our other WordPress Plugins-

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.

Screenshots

Add Advance Custom HTML Block

Add Advance Custom HTML Block

HTML with Preview in Editor

HTML with Preview in Editor

Gutenberg Block Settings

Gutenberg Block Settings

Preview rendered HTML in frontend

Preview rendered HTML in frontend

Preview Code snipped

Preview Code snipped

Preview Code snipped without heading

Preview Code snipped without heading

Preview Code snipped with bottom copy button

Preview Code snipped with bottom copy button

Frequently Asked Questions

What types of code can I embed with Advance Custom HTML?

You can embed HTML, CSS, JavaScript, PHP, Python, and other programming languages. The plugin supports syntax highlighting and live preview for many common formats.

How do I display a code snippet in a post or page?

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.

Can I show the live output of my code?

Yes. The plugin includes a draggable preview panel that shows live output for front-end code like HTML, CSS, and JavaScript.

Does this plugin support syntax highlighting?

Yes, syntax highlighting is built in and supports multiple languages. You can also choose from over 40 editor themes to match your site.

Is Advance Custom HTML free?

Yes. The free version includes the live preview, autocomplete, draggable preview panel, and responsive code display. A Pro version adds 40+ editor themes, extra syntax modes, and fine-grained layout controls.

Can I disable certain features like the copy button or line numbers?

Yes. You can toggle settings like line numbers, copy button, wrap lines, fold gutter, and more.

Can I display multiple code snippets on one page?

Yes. You can insert as many snippets as needed using shortcodes or blocks. Each snippet has its own settings and display options.

Is the plugin responsive and mobile-friendly?

Yes. All embedded code blocks and preview panels are designed to work across devices of all sizes.

How do I change the appearance of the code editor?

You can choose from a wide range of themes and customize font size, spacing, layout, and more from the editor settings.

Does it work with any WordPress theme?

Yes, it works with any standard WordPress theme.

Can I change block settings?

Yes, you can change block settings from the Gutenberg block editor’s right sidebar.

Where can I get support?

You can post your questions on the support forum here.

Where do I report security bugs found in this plugin?

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.

Ratings & Reviews

Recent Reviews

Loading reviews…

View all reviews on WordPress.org (opens in a new tab)

Changelog

2.1.1 – 5 July 2026

  • Update: Updated modern dashboard layout and style.

2.1.0 – 4 June 2026

  • New: Reorganized block settings with custom panel iconography.
  • Update: Unlocked Word Wrap, Line Numbers, Title Bar, and Copy Button for free users.
  • Update: Unlocked HTML, CSS, JavaScript syntaxes and basic editor color themes.
  • Fix: Resolved icon layout and coloring style alignment conflicts in block sidebar.

2.0.4 – 23 February 2026

  • Update: Redesigned the dashboard with a modern and improved user interface, replacing the previous outdated layout.

2.0.3 – 2 December 2025

  • Updated and offers to plugins description.

2.0.2 – 25 November 2025

  • Update freemius sdk and little fixes.

2.0.1 – 5 November 2025

  • Update free SDK

2.0.0, 15 September, 2025

  • Update Modern Dashboard and Fixed Issues

1.0.9

  • Fixed Issues

1.0.8

  • Solve Issues

1.0.7

  • Solve preview issue in Editor

1.0.6

  • Added a New Feature+

1.0.5

  • Update Admin Dashboard

1.0.4

  • Update SDK version

1.0.3

  • Fixed Issue
  • Upload version 1.0.3

1.0.2

  • Fixed issue

1.0.1

  • Embed the code to frontend
  • Edit Tab Size
  • Add Theme Option where have 45 themes collection
  • Change Different Language For Different Syntax
  • Display Heading
  • Hide/Show Copy Button
  • Change Position of Copy Button When Heading is Disable
  • Change Copy Button Type Like You Can Keep Icon or Text(You can change text with your needed)
  • Styles Copy Button
  • Hide/Show Highlight Active Line
  • Hide/Show Fold Gutter
  • Autocompletion Enable/Disable
  • Wrap Enable/Disable
  • Edit Code Editor Height and Width

1.0.0

  • Initial Release

Alternatives to Advance Custom HTML

Other WordPress plugins serving a similar purpose, ranked by relevance and PF Score.

Platinum98.5
WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager icon

WPCode

Insert header and footer code snippets, PHP functions, and pixel tracking without file editing.

★ 4.9/5·3.0M+ installs·Updated 23 Jul 2026
Platinum97.3
Spectra Legacy – Gutenberg Blocks icon

Spectra Legacy – Gutenberg Blocks

Extends Gutenberg with advanced blocks to accelerate WordPress website creation and design workflows.

★ 4.7/5·1.0M+ installs·Updated 31 Jul 2026
Platinum96.4
Code Snippets icon

Code Snippets

Add custom code snippets to your site through a centralized library without editing files.

★ 4.7/5·1.0M+ installs·Updated 12 Jul 2026
Platinum93.9
PDF Embedder – PDF Viewer & Embed PDF Files for WordPress icon

PDF Embedder

Embed PDFs in WordPress posts with responsive display and no external dependencies.

★ 4.7/5·300K+ installs·Updated 14 Aug 2026
Platinum93.8
Breadcrumb NavXT icon

Breadcrumb NavXT

Displays breadcrumb navigation trails showing visitors their current location within your site.

★ 4.6/5·800K+ installs·Updated 2 Jul 2026
Platinum91.2
Content Views – Post Grid & Filter (Shortcode, Blocks, Elementor Widgets) icon

Content Views

Display posts and pages in customizable grids, lists, sliders, and accordions via blocks and shortcodes.

★ 4.8/5·100K+ installs·Updated 17 Aug 2026
Platinum89.3
Head & Footer Code icon

Head & Footer Code

Inject custom code into head, footer, and body tags globally or per-category.

★ 5/5·100K+ installs·Updated 16 Aug 2026
Platinum85.1
Category Posts Widget icon

Category Posts Widget

Display recent posts from a category using a configurable widget or block.

★ 4.5/5·40K+ installs·Updated 18 Aug 2026
Gold84.7
Meow Gallery icon

Meow Gallery

Gallery plugin offering masonry layouts, lightbox viewing, and block editor integration with emphasis on load speed.

★ 4.9/5·10K+ installs·Updated 17 Aug 2026
Gold84.3
Flexible Table Block icon

Flexible Table Block

Create tables with flexible configurations using a dedicated WordPress block editor tool.

★ 4.9/5·40K+ installs·Updated 26 Jul 2026