這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

Blocks

This plugin provides 1 block.

  • 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