Simple Alert Blocks

Description

Easily add unlimited alert boxes for the new WordPress block editor. This includes dismissible alert notices.

This plugin works only in the Gutenberg/Block editor. Please use WordPress 5.0 and above or the Gutenberg plugin for pre 5.0 WordPress installations.

Screenshots

Blocks

This plugin provides 1 block.

simple-alerts-for-gutenberg/alert-boxes
Alert Box

Installation

  1. Upload the plugin files to the ‘/wp-content/plugins’ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. An option \”Alert Box\” will appear when adding a component to your block editor.

FAQ

Does this work for WordPress < 5.0?

If you are using a version before 5.0, please install the Gutenberg plugin.

Does this work in the Classic Editor?

No this only works with WordPress new block editor.

Reviews

October 12, 2020
Simple Alert Boxes are a nice elegant way to achieve quick alert styles within the block editor. The code is well-done and lightweight and doesn't include too many fancy options. In the future, I hope the author will consider more custom styling, but I suppose in order to keep the alert boxes simple, decisions over options is the right path here. I have forked this plugin into something more advanced, so I am very intimate with the code in this plugin. Andrew hits it out of the park as usual. Cheers, Ronald Huereca
Read all 1 review

Contributors & Developers

“Simple Alert Blocks” is open source software. The following people have contributed to this plugin.

Contributors

“Simple Alert Blocks” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Simple Alert Blocks” 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

  • BUG FIX: Fixed minor styling issue with TwentyTwenty theme.
  • ENHANCEMENT: Improved JS loading for hide-alert.js.
  • ENHANCEMENT: Improved webpack/npm scripts to use wp-scripts instead and updated dependencies.

1.0

Initial release.