MR Alert Blocks Beta

Caution text overlay
Photo by Goh Rhy Yan on Unsplash

The first public beta of MR Alert Blocks has now been released. Borrowing heavily from Andrew Lima’s original implementation, and seeking inspiration from the alert boxes I have created in the past, I wanted to give myself an easy and reliable way to create alert boxes. And since Alert Boxes are hard, I have made it apart of my support package.

You can also download it right here, right now (ZIP).

Credit Where Credit is Due

This plugin is a fork of Andrew Lima’s alert box plugin called Simple Alert Blocks.

The plugin borrows heavily from GenerateBlocks and I was even lazy enough to leave most of the class and style attributes the same as it is obvious if you read the plugin’s code that it is an obvious fork.

True to its form, GenerateBlocks can do most anything.

Alert Block Examples

Alert Block Usage and UI

The alert block can be as simple as inserting the block, or you can go crazy and customize the alert exactly to your liking.

Block Insertion

Animated Gif of inserting the block into Gutenberg.

Options and Even More Options

Alert block options including showing all the block panels.

The block enables simple input and output if that’s what you’d like. Responsive styles may be coming soon depending on the reception of the plugin, and it is doubtful it’ll be released on .org.

Sample Crazy Output

Since the block is so easy to insert without messing with too many options, you can also go a bit crazy customizing the alert box. For example, here’s one with a background gradient, top icon, title, content, and button.

Beta Testing

The plugin is likely not ready for production use, but you are welcome to give it a try to get some real-world testing out of it.

Some plans in the future depending on the up-tick of this block:

  1. Google Fonts Integration
  2. More Icon SVG options
  3. Responsive options
  4. Container box shadow
  5. Button enhancements

Comments/Feedback

Please leave comments or feedback on the GitHub repository or leave a comment below.

Thank you,

Ronald Huereca

Ronald Huereca
Ronald Huereca

Ronald Huereca

Ronald has been part of the WordPress community since 2006, starting off writing and eventually diving into WordPress plugin development and writing tutorials and opinionated pieces.

No stranger to controversy and opinionated takes on tough topics, Ronald writes honestly when he covers a topic.

1 thought on “MR Alert Blocks Beta”

Comments are closed.

Ronald Huereca
MediaRon - Ronald Huereca

Ronald created MediaRon in 2011 and has more than fifteen years of releasing free and paid WordPress plugins.

Quick Links

Say Hi