WPFront Notification Bar

外掛說明

Want to display a notification about a promotion or a news? WPFront Notification Bar plugin lets you do that easily.

Upgrade to PRO to create multiple bars and to use advanced editor.

Features

  • Display a message with a button (optional).
  • Processes shortcodes.
  • Button will open a URL or execute JavaScript.
  • Position the bar on top or bottom.
  • Can be fixed at position (Sticky Bar).
  • Display on Scroll option.
  • Set any height you want.
  • Set the number of seconds before the bar appears.
  • Display a close button for the visitor.
  • Set the number of seconds before auto close.
  • Colors are fully customizable.
  • Display a Reopen Button.
  • Select the pages/posts you want to display the notification.
  • Select the user roles you want to display the notification.
  • Set Start and End dates.
  • Hide in Small Devices.

Visit WPFront Notification Bar Troubleshooting page for troubleshooting steps.

Visit WPFront Notification Bar Settings page for detailed option descriptions.

螢幕擷圖

  • Settings page.

安裝方式

  1. Click Plugins/Add New from the WordPress admin panel
  2. Search for “WPFront Notification Bar” and install

-or-

  1. Download the .zip package
  2. Unzip into the subdirectory ‘wpfront-notification-bar’ within your local WordPress plugins directory
  3. Refresh plugin page and activate plugin
  4. Configure plugin using settings link under plugin name or by going to WPFront/Notification Bar

常見問題集

WPFront Notification Bar and GDPR compliance?

This plugin doesn’t collect any personal information. For more information please visit GDPR compliance.

I don’t want the plugin to be displayed on “wp-admin”, what should I do?

Notification bar doesn’t display on the wp-admin pages, except on the notification bar settings page. On the settings page it acts as a preview so that you can see the changes you make.

How do I stop the bar from displaying for logged in users?

The new version(1.3) allows you to filter the bar based on user roles. In this case you need to select the “Guest users” option.

使用者評論

2022 年 7 月 27 日
Llevo varios años utilizando esta barra de notificación. Es excelente y fácil de utilizar. Altamente recomendada.
2022 年 5 月 13 日
Generally, I have seen plugins not providing crucial features in a free version. This plugin is an exception. More than expected features in a free version and definitely would love to go for a pro version for advanced things. Worth a try.
2021 年 12 月 17 日
It blocks my product pages
2021 年 12 月 9 日
It is just simple and straightfoward to use. A small tool for awesome result. I simply love it.
2021 年 11 月 3 日
Huge waste of time. No website owner wants to insert a promo bar that covers the header and/or menu bar! A promo bar should be inserted ABOVE the top-most content and shift all existing content down. This plugin does NOT do that.
閱讀全部 123 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WPFront Notification Bar〉的開發相關工作。

參與者

WPFront Notification Bar 外掛目前已有 7 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈WPFront Notification Bar〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

3.2.0

  • Recurring schedule(PRO).
  • New UI.
  • Bug fixes.

3.1.0

  • Max views configuration.
  • Enqueue CSS in footer.
  • Reopen button offset.
  • Bug fixes.

3.0.0

2.3.0

  • Custom capability bug fix.
  • Keep closed bug fix.

2.2.0

  • You can now change the capability checked by Notification Bar.
  • Use WPFRONT_NOTIFICATION_BAR_EDIT_CAPABILITY constant to set your custom capability or use wpfront_notification_bar_edit_capability filter.
  • You can now enable/disable notification bar based on any condition using wpfront_notification_bar_enabled filter.

2.1.0

  • More XSS fixes. Please read this link before upgrading.
  • Use WPFRONT_NOTIFICATION_BAR_UNFILTERED_HTML constant to get v1.x behavior on message & button text.
  • Add define(‘WPFRONT_NOTIFICATION_BAR_UNFILTERED_HTML’, true); to your wp-config.php to disable message sanitization.
  • Another way is to use wpfront_notification_bar_message_allow_unfiltered_html and wpfront_notification_bar_button_text_allow_unfiltered_html filters.
  • WPML compatibility fix. Use WPFRONT_NOTIFICATION_BAR_LANG_DOMAIN constant to change language domain.

2.0.0

  • Breaking change added. Please read this link before upgrading.
  • Breaking change: Message text no longer allow script tags.
  • If you have script tags in your message text, use ‘wpfront_notification_bar_message’ filter to set your message.
  • This change is needed as per ‘WordPress Plugin Review Team’.
  • More XSS fixes.

1.9.2

  • XSS fix on the settings page.

1.9.1

  • Compatibility fix.

1.9.0

  • Reopen button image is now configurable.
  • Add dynamic CSS through URL.
  • Compatibility fixes.
  • Bug fixes.
  • PHP 8.0 fixes.
  • SiteGround conflict fix.

1.8.1

  • Description correction.

1.8

  • Preview mode.
  • Debug mode.
  • Hide in small devices and windows.
  • Change cookie names.
  • Edit include/exclude post IDs manually.
  • Edit colors manually.
  • More rel attributes. Thanks to jetxpert.
  • Accessibility and compatibility fixes.
  • Filters ‘wpfront_notification_bar_message’ and ‘wpfront_notification_bar_button_text’ added.
  • Bug fixes.

1.7.1

  • Processes shortcode in button text.
  • Notification bar menu is now under ‘Settings’ menu.
  • PHP 7.2 compatibility fixes.
  • Bug fixes.

1.7

  • Start and End times.

1.6

  • Processes shortcodes.
  • Nofollow link option.

1.5.2

  • WP eMember integration.

1.4.2

  • Bug fixes.
  • Serbo-Croatian translation. Thanks to Borisa Djuraskovic.

1.4.1

  • Bug fixes.
  • Hungarian translation. Thanks to Botfai Tibor.

1.4

  • Display on Scroll option added.
  • Date filters added.

1.3

  • User roles filter added.
  • New menu structure.

1.2.1

  • Fixed an issue with mod_security.
  • German language added. Thanks to Anders Lind.

1.2

  • Keep closed for days.
  • Change color of close button.
  • Custom CSS option added.

1.1

  • Filter pages option added.
  • Reopen button added.
  • Keep closed option added.
  • Position offset added.
  • WordPress 3.8 ready.

1.0.1

  • A couple of bug fixes.

1.0

  • Initial release