Linux 软件免费装
Banner图

Easy Notification Bar

开发者 WPExplorer
更新时间 2024年2月13日 07:45
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 6.4
版权: GNU Version 2 or Any Later Version.

标签

notification bar banner notice notification top bar notice bar

下载

1.4.8 1.5 1.6

详情介绍:

Easily add a custom top bar notification message to on your site with live customization options via the WordPress customizer. The plugin allows you to enter your notification bar text as well as an optional button to display next to your text. Perfect for notifying visitors of a current sale, hot product, warnings or other important messages. The Easy Notification Bar plugin makes use of the newer "wp_body_open" action hook introduced in WordPress 5.2.0 which allows the plugin to work better with any theme that has been updated to support the tag. Contrary to other notice bar solutions which rely on absolute positioning, this plugin inserts the notice bar right after the body tag so it should display perfectly without any conflicts on any well-coded theme. By default, the notification bar is "static" which means it displays at the top of your site so when you scroll down the page it will become "hidden". This is generally better for usability and SEO. However, in version 1.4 we added a new sticky option which you can enable in the Customizer so that the notification bar remains visible as you scroll down the page. The sticky functionality makes use of the CSS sticky property (not javascript). Although disabled by default, you can enable a close icon for your notice. When enabled, your visitors will see an "x" icon over the top bar which they can click to hide the message for their current and future sessions. This functionality makes use of localStorage (not cookies). You can also select to hide the notification bar when clicking the call to action button.

安装:

  1. Go to your WordPress website admin panel
  2. Select Plugins > Add New
  3. Search for "Easy Notification Bar"
  4. Click Install
  5. Activate the plugin
  6. A default notification should now appear on your site. If it does not then you need to update your theme to work properly (see FAQ).
  7. Go Appearance > Customize > Easy Notification Bar to customize your notification

常见问题:

Why doesn't the notification display on my site even though I enabled it?

This plugin makes use of the WordPress core "wp_body_open" action hook which should be added to every theme header.php file and was introduced in Wordpress 5.2.0. You will need to properly add this action hook to your header.php file and or contact the theme developer so that your theme is updated accordingly. Feel free to ask in the support forum if you need help updating your header.php file. If you are using a free theme on WordPress.org please link to the theme in question. If you are using a premium theme, contact the developers for support since you paid for it.

Can I display the Notification on my homepage only?

Yes. There is a setting available so you can enable display for the homepage/front-page only.

Can I create multiple notifications?

No. This plugin is intended to display a single message across your whole site to keep it as simple, fast and straight forward as possible. If you need multiple notifications you should look at using a different plugin.

Is the Easy Notification Bar Free?

Yes. The plugin is completely free of charge! All the features listed above are already included.

If there a premium version?

No. This plugin is intended to be free and has everything you need to setup a simple notification bar for your site or homepage. This means there aren't any upsells, advertisments or branding in the plugin.

Is this top bar plugin GDPR compliant?

Yes. The plugin does not collect or store any personal information.

更新日志:

1.5 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4 1.3.1 1.3 1.2 1.1.3 1.1.2 1.1.1 1.1 1.0