Fully customizable alert bar for your WordPress website.
WordPress Alert Bar allows you to quickly and easily add an alert bar to your WordPress website.
All content and styles are fully customizable through the WordPress Customizer, allowing you to easily match the alert bar to your sites branding with no coding necessary, and with real time preview you can see what you’re doing before publishing. WordPress Alert Bar also gives you the ability modify the way the alert bar displays with options to have the alert bar appear across your entire site or just the homepage, or include a close button. This gives you the power to use WordPress Alert Bar in a way that best fits your message.
WordPress Alert Bar also applies unique classes to the body tag and all elements of the alert bar making it easy for developers to further modify the styles to fit the needs of your WordPress website.
WordPress Alert Bar section in customizer
Sub sections in customizer for Styles, Content, and Display
Styles section to customize colors and font size. Options are editable from the customizer with real time preview
Content section to add custom messaging and call to action. Options are editable from the customizer with real time preview
Display section to customize where the alert displays on your site. Options are editable from the customizer with real time preview
WordPress Alert Bar comes with a filter that allows you to define your sites fixed header so that it can account for the alert bar. Simply navigate to the functions.php file in your child theme and paste in the following code snippet, making sure to replace .site-header with the class or ID of your sites fixed position header.
// Define fixed header for WordPress Alert Bar add_filter( 'mbwpab_fixed_header_selector', 'mbwpab_define_fixed_header' ); function mbwpab_define_fixed_header( $header ) { $header = '.site-header'; return $header; }
Release Date – April 4 2023
Release Date – May 10 2021
Release Date – Jun 12 2020
Release Date – May 31 2020