Announcement Block

Description

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.

Blocs

Cette extension fournit 1 bloc.

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

Installation

  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.

FAQ

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.

Avis

19 décembre 2024
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!
19 décembre 2024
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.
Lire les 2 avis

Contributeurs/contributrices & développeurs/développeuses

« Announcement Block » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

“Announcement Block” a été traduit dans 2 locales. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « Announcement Block » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

0.1.1

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

0.1.0

  • Release