| 开发者 | ronalfy |
|---|---|
| 更新时间 | 2026年10月19日 06:08 |
| 捐献地址: | 去捐款 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
GitHub | DocsSingular Alerts 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. Singular Alerts 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, Singular Alerts 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 → Singular Alerts 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, 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). Singular Alerts 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.
Singular Alerts can be used in conjunction with free plugin Block Visibility to display a notification under certain conditions. While Singular Alerts 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.
Singular Alerts 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 Singular Alerts and supplying your own.
Please leave a detailed support request here on .org.
Please report security bugs found in the source code of the plugin through the Patchstack Vulnerability Disclosure Program. The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.