The callout box includes an icon, and the post content. This plugin uses Heroicons and php-heroicons PHP package.
A callout box includes an icon that describes what’s the purpose of the callout box.
The plugin is using Heroicons so you can go to its website and see what icons are available to use within this plugin.
You can use
A callout box can have multiple types:
By default, the callout box is
The icon method can be 2 types:
By default, for shortcodes and Gutenberg the icon method is
For WordPress Classic Editor or even Gutenberg, you can use the shortcode:
[wp-callout icon="check-circle" type="primary" method="solid"] Welcome to WordPress. This is the post content. [/wp-callout]
The shortcode supports 3 attributes:
icon. The icon to show in the callout box. (Default:
typeCallout box type. (Default:
For Gutenberg users, you can use Callout Box block.
Every Gutenberg Callout Box, you can change the icon, type and method using the block properties.
Those properties are the same for the shortcode.
Then, you just type your callout box content inside the Gutenberg block.
When you insert a new Gutenberg Block Callout you can select 1 of the 4 presets installed in the plugin:
After you select one preset, your callout box will change its background color and icon.
There are no reviews for this plugin.
Contributors & Developers
“Callout Boxes” is open source software. The following people have contributed to this plugin.Contributors
Translate “Callout Boxes” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
FIX: Callout box not responsive on mobile (#9)
FIX: Custom CSS styles printed in attribute even when those aren’t selected (#8)
FEATURE: Use custom colors for callout boxes. You can change the background, border, icon and text colors.
Introducing information, success, warning and danger presets.
Render callout boxes using shortcodes and Gutenberg blocks.