Description
Alertify Blocks adds a collection of beautiful and customizable alert/notice blocks to your WordPress editor. Perfect for displaying important messages, warnings, success notifications, and more on your website.
Features
- Multiple alert types (Info, Success, Warning, Error)
- Dismissible notices with customizable duration
- Rich text editing support
- Customizable colors and typography
- Spacing controls
- Clean and modern design
- Lightweight and fast
Alert Types
- Info – For general information messages
- Success – For positive feedback and confirmations
- Warning – For important notices that need attention
- Error – For critical messages and errors
Usage
- Install and activate the plugin
- Open the block editor
- Search for “Alertify” or “Notice” in the block inserter
- Choose your desired alert type
- Customize the content and styling as needed
Installation
- Upload the plugin files to the
/wp-content/plugins/alertify-blocksdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the block editor to add alert blocks to your content
FAQ
Can I customize the colors?
Yes, each alert block supports custom background and text colors through the block editor’s color settings.
Do the dismissible notices persist across sessions?
Yes, when a user dismisses a notice, it stays dismissed using local storage until the specified duration expires.
Are the blocks responsive?
Yes, all alert blocks are fully responsive and look great on all devices.
Screenshots
Changelog
1.0.2
- Fixed: Dismissible Notice block now generates a new unique ID when a block is duplicated, preventing two blocks from being dismissed together by a single click.
1.0.1
- Updated Node.js build environment to v22 LTS for GitHub Actions compatibility.
- Updated tested-up-to version to WordPress 7.1.3.
- Removed unused imports (BlockControls, AlignmentToolbar, RangeControl) from editor scripts.
- Removed unused
alertIdattribute from Inline Message block. - Fixed dead CSS class
.alertify-notice-closein Dismissible Notice styles. - Fixed duplicate CSS rules in Inline Message styles.
1.0.0
- Initial release
- Added basic alert block
- Added dismissible notice block
- Added color and typography customization
- Added spacing controls

