| 开发者 | mightyrobin |
|---|---|
| 更新时间 | 2026年2月28日 01:39 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
mighty-notification-bar folder to /wp-content/plugins/Go to the Mighty Notification Bar settings page in your WordPress admin. Under the "Colors" section, you can select custom background and text colors using the color picker.
Yes! In the "Schedule" section, you can set a start date and end date. The notification bar will only appear between these dates. Leave the fields empty for a permanent notification.
In the "Behavior" section, enable the "Dismissible" option. You can also choose how long the bar stays hidden after a visitor dismisses it (from 1 day to 1 year).
When you change the notification content, button text, or button URL, the bar will automatically reappear for all visitors, even if they previously dismissed it. This ensures important updates reach everyone.
Yes! In the "Display Location" section, you can choose to display the notification bar on all pages, homepage only, or specific pages by entering page IDs.
The notification bar is designed to work with any WordPress theme. It uses the wp_body_open hook which is a WordPress standard supported by all modern themes.
Yes! The notification bar is fully responsive and works perfectly on all devices. You can also choose to display it on desktop only or mobile only using the device targeting option.
In the "Action Button" section, enable "Show button", then add your button text and URL. You can choose from three button styles: Primary, Secondary, or Text.
The notification bar supports rich text formatting including bold, italic, and links through the visual editor. Basic HTML is sanitized for security.
The plugin is lightweight and optimized for performance. It uses minimal CSS and JavaScript, and assets are only loaded when needed.
Yes! The plugin is fully compatible with WP Rocket. It automatically excludes its CSS and JavaScript from minification, combination, and the "Remove Unused CSS" feature. No manual configuration needed — just clear your WP Rocket cache after installing or updating the plugin.
The plugin uses cookies only if you enable the dismissible feature. The cookies are functional (not tracking) and store only the dismissal preference. You should inform users about this in your privacy policy if you enable dismissible notifications.