French town halls publish the same notice over and over: the office is closed on
such and such a day. Only the date changes. This plugin turns that chore into a
single field.
Pick a date on the admin screen and the notice is composed on the fly: the
bundled artwork is used as a background and the date is drawn on it with the GD
library, spelled out in the site language. The result is saved as a normal
attachment in the Media Library, so it can be inserted into a post, a page or a
widget like any other image.
Two notices are covered: the office closure notice, where only the date changes,
and the council meeting notice, where the date, the time and the venue change.
What it does
Requirements
PHP 7.4 or later with the GD extension built with FreeType support, which is the
default on most shared hosts.
Privacy and external services
The plugin makes no external request. Images are composed locally by PHP and
stored in your own uploads folder. No tracking, no remotely loaded fonts, no
data sent anywhere.
mairie_affiche_information_police (filter) – absolute path to the TrueType font.mairie_affiche_information_fond (filter) – absolute path to the default background.mairie_affiche_information_affiche_enregistree (action) – $attachment_id, $timestamp,mairie_affiche_information_conseil_police (filter) – font used by the council notice.mairie_affiche_information_conseil_fond (filter) – default council background.mairie_affiche_information_conseil_reperes (filter) – text positions, sizes and coloursmairie_affiche_information_conseil_enregistre (action) – $attachment_id, $timestamp,Fjalla One font by Sorkin Type and Anton font by Vernon Adams, both licensed
under the SIL Open Font License 1.1.
The bundled background artwork is provided by the plugin author under the same
GPL-2.0-or-later license as the plugin.