Global Bootstrap Banner
A WordPress Customise Widget to add a global website banner, styled using a Bootstrap alert box.
Envisager une alternative
Global Bootstrap Banner shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 7 years ago, and scores 23/100 on our health check.
- Petite base d'utilisateurs (plus de 10 installations actives)
- Très peu de critiques jusqu'à présent
- Pas de mise à jour dans 6 ans
- Uniquement testé jusqu'à WordPress 5,4 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Global Bootstrap Banner stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| alert | >100 |
| bannière | >100 |
| bootstrap | >100 |
Adoption de version
Part de sites actifs par version.
About Global Bootstrap Banner
À partir du Lisezmoi officiel · v1.0Description
A WordPress Customise Widget to add a global website banner, styled using a Bootstrap alert box.
The plugin assumes that you’re already using Bootstrap, so you need to load the Bootstrap javascript and CSS separately.
- Download Twitter Bootstrap
- Bootstrap CDN (directly link CSS and javascript files)
- Bootstrap Alerts in action
Once installed, you can add the alert to the correct location in your theme (for example, in header.php with the global_bootstrap_banner() function.
For example:
if (function_exists('global_bootstrap_banner')){
echo global_bootstrap_banner();
}
If you prefer, you can use a shortcode instead:
[global-bootstrap-banner]
Shortcode Options
The plugin works best when using the Customizer interface. However, if you wish you can use a shortcode and override most fields.
enabled(defaulttrue)- Whether to show the banner or not.
colour(defaultalert-primary)- Bootstrap class to use for styling the alert.
header_text- Header – leave blank to skip the alert header.
body_text- Main text for the alert. You can use HTML.
link_text- Display text for a button at the bottom of the alert. Leave blank to skip.
link_url- URL for button to link to.
link_class(defaultbtn-primary)- Bootstrap class to use for styling the button.
link_new_window(defaultfalse)- Whether to open the link in a new window or not.
link_btn_lg(defaultfalse)- Use the
btn-lgclass for the button (big button).
- Use the
link_btn_sm(defaultfalse)- Use the
btn-smclass for the button (small button).
- Use the
link_btn_block(defaultfalse)- Use the
btn-blockclass for the button (full width button).
- Use the
dismiss_btn(defaulttrue)- Whether to show a dismiss button in the corner of the alert.
dismiss_expiry(default14)- How many days the dismissal cookie should last for before it is shown again.
dismiss_id- Random string to use for the dismissal cookie. Use a new one to force it to show for everyone.
alert_before(default<div class="global-bootstrap-banner container">)- HTML to use before the alert.
alert_after(default</div>)- HTML to use after the alert.
header_before(default<h4 class="global-bootstrap-banner-heading alert-heading">)- HTML to use before the heading.
header_after(default</h4>)- HTML to use after the heading.
link_before(default<p class="global-bootstrap-banner-btn-p mb-0">)- HTML to use before the button.
link_after(default</p>)- HTML to use after the button.
For example, a simple shortcode usage would be:
[global-bootstrap-banner body_text="This alert says something different"]
Note that the shortcode first takes the settings from the Customizer and then overwrites these.
So the above shortcode would show a header if it is set in the Customizer settings.
Crédits
This plugin was written by @ewels.
Contributing
If you would like to contribute to this plugin, please go to the GitHub repository and make a personal fork of the development version. You can then make your changes and submit a pull request. I will happily review the code and then merge when we’re both happy.
Installation
La voie facile
- Accédez au menu des plugins dans WordPress
- Search for “Boostrap Banner”
- Click ‘Install’
- Activer le plugin
Installation manuelle
- Download the plugin file from this page and unzip the contents
- Téléchargez le dossier
global-bootstrap-bannerdans le répertoire/wp-content/plugins/ - Activate the
global-bootstrap-bannerplugin through the ‘Plugins’ menu in WordPress
Une fois activé
- Make sure that your theme is loading Bootstrap CSS and Carousel javascript
- Add
echo global_bootstrap_banner();to your theme or use the [global-bootstrap-banner] shortcode - Open the Customizer (Appearance > Customize, or Customize in the admin bar)
- Click “Banner Message” and add some content
Journal de modifications
1.0
- Version initiale.
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Global Bootstrap Banner alternatives
All alert plugins →FAQ
Global Bootstrap Banner: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Global Bootstrap Banner free?
Yes. Global Bootstrap Banner is free to download and use from the official WordPress.org plugin directory.
Is Global Bootstrap Banner safe to use in 2026?
Global Bootstrap Banner shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 7 years ago, and scores 23/100 on our health check.
How many websites use Global Bootstrap Banner?
Global Bootstrap Banner is active on 10+ WordPress websites and has been downloaded 1,299 times since it launched in April 2020. It was downloaded 39 times in the last 30 days.
Does Global Bootstrap Banner work with WordPress 7.1?
Global Bootstrap Banner is officially tested up to WordPress 5.4.26, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Global Bootstrap Banner need?
Global Bootstrap Banner requires PHP 5.2.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Global Bootstrap Banner last updated?
The latest version, 1.0, was released on April 21, 2020 (7 years ago).
Who makes Global Bootstrap Banner?
Global Bootstrap Banner is developed and maintained by Phil Ewels.
What are the best alternatives to Global Bootstrap Banner?
The most popular alternatives to Global Bootstrap Banner are VK Blocks (100K+ installs), Customize WordPress Emails… (30K+ installs) and WP Notification Bars (10K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit



