Linux 软件免费装
Banner图

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

开发者 ronalfy
更新时间 2026年7月4日 04:56
捐献地址: 去捐款
PHP版本: 8.0 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

alerts notifications alert box dismissible callouts

下载

1.0.1 2.2.3 2.3.1 1.0.0 2.2.0 2.3.0 2.4.0 1.3.5 1.2.5 1.3.1 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.0.0 2.1.2 2.2.2

详情介绍:

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 Quick Links AlertsDLX Docs | AlertsDLX Home | Shortcode Usage | Support 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, enabled alert themes, 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 AlertsDLX is more than just a beautiful alert block in post content. Here are some more popular ways to use it: Future Features and Growth This plugin has a small (but growing) install base. Please help spread the word by leaving a feature, support request, or review, by filing a GitHub issue, or sponsoring the plugin monetarily via a GitHub sponsorship (highly recommended and appreciated). Future plans include:
  1. Consolidating all four alert blocks into one (one alert block to rule them all).
  2. Providing global styles, so you can create a style, customize its colors and configuration, and use it on a block or shortcode to set global site-wide alert style that you can edit in one place. If inserting a block and adding a global style, the block is configured for you, with only the content parts editable.
  3. Provide presets, so you can insert the block, click on a preset, and the block is configured for you, setting the icon, style (info, success), configuration (left accent, right accent), and enabling/disabling other toggles. From there, you can edit as desired.
  4. Admin shortcode builder. So users using page builders and widgets have a visual way of creating an AlertsDLX shortcode.
  5. Lightbox support. Support being placed in a lightbox, with the dismiss and button click closing the encasing lightbox.
Do you have other ideas for the plugin or ways to improve it? Please leave a feature request. All of the above features and your requests depend on continued support from the community. Thank you. 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.

安装:

To get started, simply search for 'AlertsDLX' 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.

屏幕截图:

  • Adding the alert box via the block editor shows four alert types.
  • Edit the icon, add an alert button, and create a dismissible alert easily in Gutenberg (the Block Editor).
  • Block editor sidebar options showing style, alert settings, variants, and custom colors.
  • Add a shortcode wherever shortcodes are supported, such as a form plugin, page builder, or widget.
  • Each alert type supports light and dark mode colors.

升级注意事项:

2.4.0 New: Admin settings panel, block editor toolbar improvements, unified Styles sidebar, headline options, and fixes for block style switching. Recommended update for all users. This release also solves some alert title/headline issues, allowing you to select which HTML element is used for the title, allowing you to set a custom CSS class, and force the intended headline styles, regardless of theme specificity.

常见问题:

Does AlertsDLX work with the Classic Editor and Page Builders?

Yes. AlertsDLX works with the Classic Editor via its shortcode support.

Does AlertsDLX 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 AlertsDLX work with shortcodes?

Yes, via the built-in shortcode.

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

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.

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 → 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.

Does AlertsDLX 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). 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.

Can I show alert callouts on specific posts or pages?

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.

Does the plugin support countdowns?

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.

Can I add star ratings to AlertsDLX, 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 AlertsDLX and supplying your own. Please see disabling custom fonts in AlertsDLX

How can I get support or leave a feature request?

Please leave a note on our support page or leave a detailed support request here on .org.

更新日志:

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