Skip to content
Sign in
HTML Block icon

HTML Block

Create your HTML code and place it anywhere on your site using a shortcode.

Not scanned yet WordPress plugin 200 installs

Install in

No install steps yet

Follow the steps on the source page.

Introduction

HTML block adds custom html blocks to WordPress. You can then add these blocks anywhere on your WordPress site using the shortcode provided.

Written by Joobi from the project's own listing. See the source page

blockcustomhtmltext
26 Nov 2026
Version 1.2.1 released. Not scanned yet.

1.2.1

  • Fix: Shortcodes inside an HTML Block are now rendered, so blocks built with WPBakery / Visual Composer no longer output raw [vc_row][vc_column] tags.
  • Fix: WPBakery custom CSS and Design Options of an HTML Block are now loaded wherever the block is displayed.
  • Fix: Blocks created with the block editor (Gutenberg) are now rendered properly.
  • Fix: Prevented infinite loops when an HTML Block includes itself.

1.2

  • Security: The [html_block] shortcode now only renders published, non password-protected HTML Blocks. Previously the id attribute could be used to display the content of any post (including private, draft or password-protected posts) by users able to add shortcodes, e.g. Contributors.
  • Security: Sanitized shortcode attributes and escaped all admin output (shortcode column, plugin action links, admin JS variable).
  • Fix: Removed the broken uninstall hook that could cause a fatal error on PHP 8 when deleting the plugin.
  • Fix: Prevented a PHP error when the shortcode referenced a non-existent block ID.
  • Tweak: Added the text domain to all strings and removed the deprecated manual translation loading.
  • Tested OK with WordPress 7.1.

1.1

  • Tested OK with WordPress 6.4.1.

1.0

  • Initial release.
12 Aug 2022Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)