InfoBar

3.0 rating0 installsv1.0.0 · WordPress
InfoBar
Lightweight, dismissible announcement bar with scheduling, device targeting, and CTA.

Lightweight, dismissible announcement bar with scheduling, device targeting, and CTA.

Overview

A lightweight, dismissible announcement bar with scheduling, device targeting, and CTA button.

What's Included

This plugin includes a lightweight, dismissible announcement bar equipped with scheduling options, device targeting, and a dedicated call-to-action (CTA) button. It is fully translation-ready and includes a base template at languages/spp-infobar.pot. It also comes pre-packaged with a German (de_DE) translation file at languages/spp-infobar-de_DE.po and a French (fr_FR) translation file at languages/spp-infobar-fr_FR.po.

Compatibility & Requirements

To run this plugin successfully, your WordPress environment requires at least version 6.8 and has been tested up to version 6.9. Additionally, your server requires PHP version 8.2 or higher. The current stable tag for this release is 1.0.0.

License & Usage

This software is released under the GPLv2 or later license, and the full license details can be viewed at the license URI https://www.gnu.org/licenses/gpl-2.0.html. This licensing grants you the legal right to use, modify, and distribute the plugin freely under the official terms of the GNU General Public License.

How to Use

To get started, install and activate the plugin to deploy the lightweight, dismissible announcement bar with scheduling, device targeting, and CTA capabilities. To implement localized styles, you must compile the provided translation files since WordPress requires .mo files to load them properly. You can do this by opening your file in Poedit and navigating to (File → Compile to .mo), or by executing the WP-CLI command wp i18n make-mo languages/ languages/ in your terminal. To see these translations on the frontend of your website, navigate to your dashboard settings and set Settings → General → Site Language to the desired language (e.g. Deutsch or Français).

Tips & Best Practices

Before activation, always confirm that your web hosting environment meets the strict PHP 8.2 requirement to avoid system conflicts. When working with localization, remember that changes made to your language files will not display on the live site until you successfully compile them using Poedit (File → Compile to .mo) or the designated WP-CLI command. Finally, because the announcement bar features a dismissible design, you should always test its layout and visibility using an incognito or private browsing window to prevent your personal browser cookies from hiding the bar during configuration.