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

Announcement Block

描述

This plugin provides a Gutenberg block that allows website administrators to easily create and display announcements on their WordPress website. The block supports formatted text content and offers customizable styling options.

The plugin offers two key features:
Show Announcement Toggle: Allows the user to manually control the visibility of the announcement.
Automatic Expiration: Automatically hides the announcement after a set date.

The full source code of the plugin is available on github: https://github.com/aptex-de/aptex-announcement-block

Features

  • Custom Gutenberg Block: Easily add announcements to your posts or pages with a dedicated block.
  • Formatted Text Support: Add formatted text content to your announcement.
  • Custom Styling: Style your announcement block to match your website’s design.
  • Show/Hide Toggle: Manually control the announcement visibility from the block settings.
  • Automatic Expiration: Set a date after which the announcement automatically disappears from the website.

License

This plugin is licensed under the GPLv2 or later.

Credits

Developed by Aptex – #WirMachenSoftware.

区块

该插件提供了 1 个区块.

  • Announcement Publish announcements on your website and hide them when they're no longer needed

安装

  1. Upload the plugin files to the /wp-content/plugins/aptex-announcement directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Create a new post or page, or edit an existing one.
  4. Add the Announcement Block to the Gutenberg editor.
  5. Configure your announcement text, visibility options, and styling preferences.

常见问题

Q: How can I manually hide or show the announcement?

A: You can toggle the “Show Announcement” setting in the block options to manually control its visibility.

Q: Can I schedule announcements to automatically expire?

A: Yes, the plugin offers an “Automatic Expiration” option that allows you to set a date for the announcement to automatically disappear.

Q: Is it possible to style the announcement block?

A: Yes, the block comes with several styling options that allow you to customize the appearance of the announcement to match your website’s design.

评价

2024 年 12 月 19 日
Got a client who has several small announcements every few days/weeks. This plugin makes it easy to publish them and even let them automatically expire. Thank for that!
2024 年 12 月 19 日
It is a seemingly simple functionality to have an announcement block which can easily be hidden as long as there is nothing to announce. I was surprised that there is not out-of-the box functionality to address this requirements. Fortunately, I found this Plug-in which does exactly this – and does it perfectly. It is very simple to use and very lightweight, as it is not overloaded with other functionalities. In my use case, I have a start page which displays a list of most recent news entries. However, there are certain announcements which are so “small” and short-lived that it does not make sense to create a news article (think: “The meeting this Friday is cancelled”). Many thanks to the developer for providing this problem solver.
阅读所有2条评价

贡献者及开发者

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

贡献者

「Announcement Block」插件已被翻译至 3 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Announcement Block」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.1.1

Fix issues with caching plugins | Issue reported by @patricegorissen.bsky.social

0.1.0

  • Release