Linux 软件免费装
Banner图

Singular Alerts - Alert Block, Alert Box, Callout Box, and Notifications

开发者 ronalfy
更新时间 2026年10月19日 06:08
捐献地址: 去捐款
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

alerts notifications alert box dismissible callouts

下载

2.3.1 3.0.0 3.1.0 1.3.5 1.0.0 1.0.1 2.0.0 2.2.0 2.3.0 2.4.0 2.4.1 1.2.5 2.0.1 1.0.5 1.0.6 1.2.0 1.2.1 1.1.0 1.4.0 2.1.0 1.3.0 2.1.2 2.2.2 1.3.1 2.2.3

详情介绍:

Elevate your WordPress site's content and user engagement with Singular Alerts, 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, Singular Alerts features four easy-to-use, yet extremely versatile, alert blocks inspired by the most popular (and best looking) UI libraries.
GitHub | Docs
Singular 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
  1. Four modern alert blocks and styles: Material, Bootstrap, Chakra, and Shoelace.
  2. Use pre-selected colors, styles, and variants, or choose custom for your own branded colors.
  3. Add your own SVG icons, or choose from the ones included. Include a custom image if desired.
  4. Add dismissible notification and callout boxes, and have it remember the user's choice.
  5. Add an optional title, description, and button to the alert block.
  6. Mark an Alert Block as Editorial, and have it only visible in the block editor.
  7. Shortcode/page builder support: use beautiful callouts and notifications anywhere shortcodes are supported.
  8. Site-wide settings for headline tags, custom title classes, and more.
  9. Lightweight: the plugin only loads what is needed where it's needed.
Blocks are styled with inspiration from these beautiful UI libraries: Each Alert block can have built-in icons or you can set your own with SVGs. Icons included are from: Use cases Singular Alerts is more than just a beautiful alert block in post content. Here are some more popular ways to use it: Development Development happens on GitHub. Please check out the GitHub code repository for AlertsDLX. ❤️ Please help spread the word about this plugin through your kind review or support request.

安装:

To get started, simply search for 'Singular Alerts' on the WordPress Add Plugins screen, install, and activate the plugin. If you have any issues with headlines being misstyled, please visit the admin options, and change the headline tag to something that conflicts less with your theme. If you need to, there is a force styles option that can be enabled to resolve most style conflicts.

屏幕截图:

  • With four UI libraries (Bootstrap, Chakra, Material, Shoelace), you can customize the alert to match your brand and color scheme, even with custom colors.
  • Custom colors allow you to have the alert match your branding and color scheme. You can even save these colors as a global style so all your alerts match a common style.
  • Each alert style brings stylish icons, and you have the ability to set your own SVGs or even use an image for the alert icon.
  • Add a shortcode wherever shortcodes are supported, such as a form plugin, page builder, or widget.
  • Each alert type supports light and dark mode, as well as your own custom colors.
  • Presets will get you up and running fast. They're easy to create in the admin, and act as a starting point for any new alerts.
  • Global Styles allow you to have an alert configuration apply to the same style across alerts, allowing you to have a uniform block design that applies site-wide.
  • Global Styles apply across blocks and shortcodes, while Presets allow you to insert block variations for super quick alert creation.
  • An admin-based Shortcode Builder takes the guess work out of creating shortcodes, which when created, can be placed anywhere shortcodes are supported, including most builders.

升级注意事项:

3.1.0 New abilities API for generating shortcodes and listing global styles. Fixes to the link control component in the block editor where relative paths couldn't be saved and the popover wouldn't close when losing focus.

常见问题:

Does Singular Alerts work with the Classic Editor and Page Builders?

Yes. Singular Alerts works with the Classic Editor via its shortcode support.

Does Singular Alerts work with Elementor or Divi?

Yes, via the built-in shortcode, you can output in just about any page builder, including Elementor and Divi.

Does Singular Alerts work with shortcodes?

Yes, via the built-in shortcode.

Does this work with the Block Editor (aka, Gutenberg)?

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.

What alert styles does the plugin support?

Can I create dismissible notices?

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.

Where are the admin settings?

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.

Does Singular Alerts work on Multisite?

Yes. Admin settings are stored per site in the network.

Can I use custom colors?

Yes, you can customize the colors via the shortcode or built-in blocks by selecting "Custom" as a block style.

Can I use my own custom SVG icons?

Yes. The icon picker allows you to enter an SVG. For the shortcode, you must supply your own SVG.

Can I use my own custom images?

Yes. It's recommended to use a square image, and there is a built-in cropper available. Custom images look best center-aligned.

What does Flexible InnerBlocks (Advanced) do?

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.

Can I show alert callouts on specific posts or pages?

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.

Does the plugin support countdowns?

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.

Can I add star ratings to Singular Alerts, turning it into a testimonial or review box?

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.

Can I disable the custom font used (Lato)?

Yes, you can improve performance further by disabling the custom font supplied with Singular Alerts and supplying your own.

How can I get support or leave a feature request?

Please leave a detailed support request here on .org.

Where do I report security bugs found in this plugin?

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.

更新日志:

3.1.0 3.0.0 2.4.1 2.4.0 2.3.1 2.3.0 2.2.3 2.2.2 2.2.0 2.1.2 2.1.0 2.0.2 2.0.1 2.0.0 1.4.0 1.3.5 1.3.1 1.3.0 1.2.5 1.2.1 1.2.0 1.1.0 1.0.5 1.0.1 1.0.0