| 开发者 | ronalfy |
|---|---|
| 更新时间 | 2026年7月25日 03:44 |
| 捐献地址: | 去捐款 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Plugin Up for Adoption Adoption Form | GitHub | Docs (GitHub)Elevate your WordPress site's content and user engagement with AlertsDLX, a versatile plugin offering beautifully styled alerts, callouts, and notification boxes for Gutenberg, Full-Site Editing, Classic Editor, and beyond. Compatible with most page builders and supporting blocks and shortcodes. If you need an alert block solution for the block editor, AlertsDLX features four easy-to-use, yet extremely versatile, alert blocks inspired by the most popular (and best looking) UI libraries. AlertsDLX is designed to be lightweight, user-friendly, and highly customizable. It saves you the time needed to craft your own alert notifications out of blocks, and is flexible enough to quickly match most theme designs. Stop digging for that alert in a block suite, and install a dedicated notifications solution that works almost anywhere. Coupled with a free plugin like Block Visibility, your imagination can really go wild. For example, you can create an "Empty Cart" callout for WooCommerce or Easy Digital Downloads when a cart is empty. For site-wide notifications, most themes and builders (including FSE) allow for site-wide template parts. Just add the notification to it, make it dismissible, and you now have a site-wide callout or notification that can be hidden when dismissed. https://www.youtube.com/watch?v=7dKpw5uBi5o Major features
Yes. AlertsDLX works with the Classic Editor via its shortcode support.
Yes, via the built-in shortcode, you can output in just about any page builder, including Elementor and Divi.
Yes, via the built-in shortcode.
Yes, AlertsDLX comes with four blocks, one for each style of alert (Bootstrap, Chakra, Material, and Shoelace). The blocks are fully featured, and are native to the block editor.
Yes, each alert can be dismissed, and can be set to expire after a certain amount of time. For example, create a terms of service alert on the homepage that can be dismissed, with the expiration lasting a week.
Go to Settings → AlertsDLX in your WordPress admin. From there you can choose the headline HTML element, add custom headline CSS classes, force headline sizing over aggressive theme styles, enable or disable alert themes in the block inserter, and toggle debug mode.
Yes. Admin settings are stored per site in the network.
Yes, you can customize the colors via the shortcode or built-in blocks by selecting "Custom" as a block style.
Yes. The icon picker allows you to enter an SVG. For the shortcode, you must supply your own SVG.
Yes. It's recommended to use a square image, and there is a built-in cropper available. Custom images look best center-aligned.
By default, the alert description is a single paragraph styled to match the alert. When you enable Flexible InnerBlocks (Advanced) in the block settings, you can insert any block inside the alert body (lists, images, columns, code, and more). AlertsDLX fully styles the alert shell — icon, title, colors, button, and default paragraph text. Other inner blocks may inherit styles from your theme or from the blocks themselves. For simple alert messages, leave Flexible InnerBlocks off. Users have used Flexible InnerBlocks to write a simple alert description followed by a code block, to show off code recipes. Others have used it to create checklists from list blocks, expandable disclaimers via accordion blocks, and even as a video container.
AlertsDLX can be used in conjunction with free plugin Block Visibility to display a notification under certain conditions. While AlertsDLX in itself is not a site-wide notification tool, it can be used as one if put in a global template such as with FSE.
AlertsDLX does not support countdowns or auto-expiration. If you need an alert to auto-expire, I suggest using it with Block Visibility and setting a date-based visibility setting. If you have a favorite countdown block, you can enable Flexible InnerBlocks (advanced) and add it as part of the alert description.
Yes. If you have a favorite star rating plugin, you can disable the alert title and icon, and use Flexible Innerblocks (advanced) to add the star rating into the alert description. From there, add any additional blocks you need for the review, enable the alert button (or add your own in the description), and link out to the testimonial or review author.
Yes, you can improve performance further by disabling the custom font supplied with AlertsDLX and supplying your own.
Please leave a detailed support request here on .org.