Image
Image

HTML Block

Description

Introduction

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

Screenshots

Installation

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Thats it! you can now configure the plugin.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“HTML Block” is open source software. The following people have contributed to this plugin.

Contributors

“HTML Block” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “HTML Block” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

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.