Title: Mairie Affiche Information
Author: verturin
Published: <strong>17. August 2026</strong>
Last modified: 1. November 2026

---

Search plugins

![](https://ps.w.org/mairie-affiche-information/assets/banner-772x250.png?rev=3650994)

![](https://ps.w.org/mairie-affiche-information/assets/icon.svg?rev=3650994)

# Mairie Affiche Information

 By [verturin](https://profiles.wordpress.org/verturin/)

[Download](https://downloads.wordpress.org/plugin/mairie-affiche-information.1.3.1.zip)

 * [Details](https://de-ch.wordpress.org/plugins/mairie-affiche-information/#description)
 * [Reviews](https://de-ch.wordpress.org/plugins/mairie-affiche-information/#reviews)
 *  [Installation](https://de-ch.wordpress.org/plugins/mairie-affiche-information/#installation)
 * [Development](https://de-ch.wordpress.org/plugins/mairie-affiche-information/#developers)

 [Support](https://wordpress.org/support/plugin/mairie-affiche-information/)

## Description

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**

 * Live preview while you pick the date.
 * Date spelled out, with the French «1er» handled and a capital initial.
 * Free text field for periods, for example «From 10 to 21 August 2026».
 * One-click save to the Media Library, with a normalised file name
    (Fermeture_Mairie_05-
   08-2026.jpg), a title, a caption and alt text.
 * Immediate download in JPEG or PNG.
 * Two levels of access, both mapped to the roles you tick: one to fill in the
    
   date, the time and the venue and save the notice (mairie_affiche_information_generer),
   another to change the artwork and the settings (mairie_affiche_information_regler).
   Office staff can therefore be given the date and nothing else.
 * Council meeting notice with its own screen: date, time and venue, the venue
    
   defaulting to a value you set once in the settings.
 * Background replaceable from the Media Library for both notices.
 * The sign, the message panel and the date are drawn by the plugin, so any photo
   
   works as a background: place each one by dragging it on the preview, and set 
   its text, width and colours.

**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.

### Hooks

 * `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,
    $text.
 * `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 colours
    of the council notice.
 * `mairie_affiche_information_conseil_enregistre` (action) – $attachment_id, $timestamp,
   
   $time, $venue.

### Credits

Fjalla One by Sorkin Type, Anton by Vernon Adams, Archivo Black by Omnibus-Type

and Lora by Cyreal, all 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.

## Screenshots

[⌊A closure notice produced by the plugin.⌉⌊A closure notice produced by the plugin
.⌉[

A closure notice produced by the plugin.

[⌊A council meeting notice produced by the plugin.⌉⌊A council meeting notice produced
by the plugin.⌉[

A council meeting notice produced by the plugin.

## Installation

 1. Upload the `mairie-affiche-information` folder to `/wp-content/plugins/`, or install
    the zip from Plugins > Add New > Upload Plugin.
 2. Activate the plugin.
 3. Go to Mairie Affiche Information > Settings and tick the roles allowed to generate
    notices.

## FAQ

### Who can generate a notice?

The roles ticked under «Allowed roles» in the settings. Administrators are
 always
allowed. The role also needs the `upload_files` capability to save to the Media 
Library, which Author and above already have.

A second list, «May change the artwork and the settings», decides who can alter

the layout. Leave it to administrators only and office staff will see just the two
notice screens, where they fill in the date, the time and the venue.

### Where are the images stored?

In the standard uploads folder (wp-content/uploads/YYYY/MM/), like any other
 media
file. They show up in the Media Library and can be inserted anywhere.

### Can I use my own artwork?

Yes. Pick any square image without a date from the Media Library in the settings

screen, then adjust the horizontal centre, the text baseline and the maximum text
width so the date lands where you want it.

### Can I print something other than a single date?

Yes, use the custom text field, for example for a closure period.

### How do I find the notices generated so far?

Every attachment gets a `_mairie_affiche_information_date` meta key. The six most
recent
 ones are listed at the bottom of the generator screen.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Mairie Affiche Information” is open source software. The following people have 
contributed to this plugin.

Contributors

 *   [ verturin ](https://profiles.wordpress.org/verturin/)

“Mairie Affiche Information” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/mairie-affiche-information/contributors)
for their contributions.

[Translate “Mairie Affiche Information” into your language.](https://translate.wordpress.org/projects/wp-plugins/mairie-affiche-information)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/mairie-affiche-information/),
check out the [SVN repository](https://plugins.svn.wordpress.org/mairie-affiche-information/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/mairie-affiche-information/)
by [RSS](https://plugins.trac.wordpress.org/log/mairie-affiche-information/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.3.1

 * Message panel: the pushpins are no longer clipped.
 * Message panel: the text block can be moved inside the sheet, and the line
    spacing
   adjusted, so the last line no longer crowds the lower edge.
 * The layout guides on the preview are now labelled outside their box and no
    longer
   tint the photo.
 * Fixed a script error that stopped the live preview from refreshing and
    disabled
   drag and drop on the preview.

#### 1.3.0

 * Separate capability for changing the artwork and the settings, so office
    staff
   can be limited to filling in the date.
 * The sign and the message panel are now drawn by the plugin instead of being
    
   part of the bundled background, so any photo can be used.
 * Single admin screen with tabs; the closure artwork has its own tab, separate
   
   from the general settings, and the preview follows the page as you scroll.
 * Layout editor: drag each element on the preview, with live rendering, and set
   
   its text, size, colours and visibility.
 * With the bundled background, the notice is produced exactly as before: the
    artwork
   already carries the sign and the panel, so only the date is written.
 * Choose your own photo and the plugin places the hanging sign and the
    torn-paper
   panel with its pushpins on top of it, each positioned by dragging it on the preview;
   plain drawn shapes are available as an alternative.
 * One word of the message can be highlighted in its own colour and underlined
    
   with a hand-drawn stroke.
 * Each element can use one of four bundled fonts.
 * Element positions are stored as percentages, so a background of any size works.

#### 1.2.0

 * Renamed the plugin; translation files removed, translations now handled
    through
   translate.wordpress.org.

#### 1.1.0

 * New council meeting notice, with date, time and venue, and its own background
   
   setting.
 * Media Library saving refactored to serve both notices.

#### 1.0.0

 * Initial release: generation, live preview, save to Media Library, role-based
   
   access, artwork settings.

## Meta

 *  Version **1.3.1**
 *  Last updated **1 Woche ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.1.4**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/mairie-affiche-information/) und
   [French (France)](https://fr.wordpress.org/plugins/mairie-affiche-information/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/mairie-affiche-information)
 * Tags
 * [image](https://de-ch.wordpress.org/plugins/tags/image/)[media](https://de-ch.wordpress.org/plugins/tags/media/)
   [notice](https://de-ch.wordpress.org/plugins/tags/notice/)[Opening Hours](https://de-ch.wordpress.org/plugins/tags/opening-hours/)
   [town hall](https://de-ch.wordpress.org/plugins/tags/town-hall/)
 *  [Advanced View](https://de-ch.wordpress.org/plugins/mairie-affiche-information/advanced/)

## Ratings

Es wurden noch keine Rezensionen eingereicht.

[Your review](https://wordpress.org/support/plugin/mairie-affiche-information/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/mairie-affiche-information/reviews/)

## Contributors

 *   [ verturin ](https://profiles.wordpress.org/verturin/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/mairie-affiche-information/)