WordPress plugin

Advance Custom HTML Pro

Advance Custom HTML Pro includes presentation controls for code snippets in WordPress posts, pages, and widgets. Write or paste a snippet in the editor, use autocomplete suggestions as you work, and display readers the code beside its result. Live preview renders front-end code such as HTML, CSS, and JavaScript; PHP and Python snippets can be displayed with syntax highlighting.

Advance Custom HTML Pro

Advance Custom HTML Pro includes presentation controls for code snippets in WordPress posts, pages, and widgets. Write or paste a snippet in the editor, use autocomplete suggestions as you work, and display readers the code beside its result. Live preview renders front-end code such as HTML, CSS, and JavaScript; PHP and Python snippets can be displayed with syntax highlighting.

The preview panel is draggable, and code blocks and previews are designed for different screen sizes. Use the block for lessons, interactive demonstrations, courses, technical articles, and developer documentation.

Choose a syntax style and editor layout

Select from more than 40 editor themes, including dark, light, and minimal styles. Set the syntax mode for a snippet, with options such as HTML, CSS, JavaScript, PHP, and Python. Adjust tab size, font size, line wrapping, and editor or snippet height and width. Align the editor left, center, or right.

Set code block display options

Configure the copy button, including its text, icon, style, and position. Show or conceal headings and labels, line numbers, the fold gutter, and active-line highlighting. Word wrapping can also be enabled or disabled.

  • Use HTML and CSS examples with their rendered results in lessons.
  • Present JavaScript demonstrations with interactive output.
  • Display PHP examples in courses and articles, or Python syntax in data science blogs.
  • Organize API guides, reference pages, and other developer documentation with configurable code blocks.

Add a code block in WordPress

  1. Install and activate Advance Custom HTML.
  2. Open a post or page in the WordPress editor.
  3. Select Add Block, then select Advance Custom HTML under Widgets.
  4. Write or paste your code, then configure the theme, preview, copy button, and display options.
  5. Publish or update the content.
WordPress Vault Facebook Comments Pro FaceBook Feed Pro Facturare PRO for WooCommerce Fatal Error Notify Pro Faview Premium Featured Image from URL Pro Featured Images in RSS Premium FedEx WooCommerce Live Rates PRO FeedbackWP Premium Feeds for TikTok Pro