Title: Simple Alert Blocks
Author: Andrew Lima
Published: <strong>2019 年 1 月 24 日</strong>
Last modified: 2025 年 1 月 30 日

---

搜索插件

![](https://ps.w.org/simple-alert-blocks/assets/banner-772x250.png?rev=2018318)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/simple-alert-blocks/assets/icon-256x256.gif?rev=2781359)

# Simple Alert Blocks

 作者：[Andrew Lima](https://profiles.wordpress.org/andrewza/)

[下载](https://downloads.wordpress.org/plugin/simple-alert-blocks.1.3.zip)

 * [详情](https://cn.wordpress.org/plugins/simple-alert-blocks/#description)
 * [评价](https://cn.wordpress.org/plugins/simple-alert-blocks/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/simple-alert-blocks/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/simple-alert-blocks/#developers)

 [支持](https://wordpress.org/support/plugin/simple-alert-blocks/)

## 描述

Easily add unlimited alert boxes for the new WordPress block editor. This includes
dismissible alert notices.

This plugin works only in the Gutenberg/Block editor. Please use WordPress 5.0 and
above or the Gutenberg plugin for pre 5.0 WordPress installations.

## 屏幕截图

 * [[
 * [[
 * [[

## 区块

该插件提供了 1 个区块.

 *   Alert Box

## 安装

 1. Upload the plugin files to the ‘/wp-content/plugins’ directory, or install the 
    plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. An option \”Alert Box\” will appear when adding a component to your block editor.

## 常见问题

### Does this work for WordPress < 5.0?

If you are using a version before 5.0, please install the Gutenberg plugin.

### Does this work in the Classic Editor?

No this only works with WordPress new block editor.

## 评价

![](https://secure.gravatar.com/avatar/15da5ab6fc6ee3d2533bfe375b4acedb6cc378f1d73ac84c8a6992de7d53270b?
s=60&d=retro&r=g)

### 󠀁[Exceptional tool](https://wordpress.org/support/topic/exceptional-tool-4/)󠁿

 [devacity](https://profiles.wordpress.org/devacity/) 2026 年 3 月 28 日

A must-have plugin that delivers exactly what it promises

![](https://secure.gravatar.com/avatar/529379694b409ef4fdda8e8013fb2b4425950967df5df6c2486ba871547b84d9?
s=60&d=retro&r=g)

### 󠀁[Good Plugin](https://wordpress.org/support/topic/good-plugin-5369/)󠁿

 [PrajwalDesai](https://profiles.wordpress.org/prajwaldesai/) 2021 年 7 月 14 日
1 回复

I liked the plugin because it makes easier to add alerts while writing the post.
I hope this plugin will be maintained and we get regular updates.

![](https://secure.gravatar.com/avatar/43730967b075e1682e1e2c0c80be7bc6b8f94da4f05565bdf0319701263905f0?
s=60&d=retro&r=g)

### 󠀁[Very Simple as in its title](https://wordpress.org/support/topic/very-simple-as-in-its-title/)󠁿

 [Ronald Huereca](https://profiles.wordpress.org/ronalfy/) 2020 年 10 月 12 日

Simple Alert Boxes are a nice elegant way to achieve quick alert styles within the
block editor. The code is well-done and lightweight and doesn’t include too many
fancy options. In the future, I hope the author will consider more custom styling,
but I suppose in order to keep the alert boxes simple, decisions over options is
the right path here. I have forked this plugin into something more advanced, so 
I am very intimate with the code in this plugin. Andrew hits it out of the park 
as usual. Cheers, Ronald Huereca

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/simple-alert-blocks/reviews/)

## 贡献者及开发者

「Simple Alert Blocks」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Andrew Lima ](https://profiles.wordpress.org/andrewza/)

「Simple Alert Blocks」插件已被翻译至 2 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/simple-alert-blocks/contributors)
为本插件所做的贡献。

[帮助将「Simple Alert Blocks」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/simple-alert-blocks)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/simple-alert-blocks/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/simple-alert-blocks/)，或通过[RSS](https://plugins.trac.wordpress.org/log/simple-alert-blocks/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/simple-alert-blocks/)。

## 更新日志

#### 1.1

 * ENHANCEMENT: Improved file structure and prefixed components with sab (Simple
   Alert Blocks).

#### 1.0

Initial release.

## 额外信息

 *  版本 **1.3**
 *  最后更新：**1 年前**
 *  活跃安装数量 **300+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (South Africa)](https://en-za.wordpress.org/plugins/simple-alert-blocks/)、
   [English (US)](https://wordpress.org/plugins/simple-alert-blocks/) 和 [Russian](https://ru.wordpress.org/plugins/simple-alert-blocks/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/simple-alert-blocks)
 * 标签
 * [alert](https://cn.wordpress.org/plugins/tags/alert/)[block](https://cn.wordpress.org/plugins/tags/block/)
   [block-editor](https://cn.wordpress.org/plugins/tags/block-editor/)[bootstrap](https://cn.wordpress.org/plugins/tags/bootstrap/)
   [gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)
 *  [高级视图](https://cn.wordpress.org/plugins/simple-alert-blocks/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/simple-alert-blocks/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/simple-alert-blocks/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/simple-alert-blocks/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/simple-alert-blocks/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/simple-alert-blocks/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/simple-alert-blocks/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/simple-alert-blocks/reviews/)

## 贡献者

 *   [ Andrew Lima ](https://profiles.wordpress.org/andrewza/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/simple-alert-blocks/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4GC4JEZH7KSKL)