SitePoint Random Hello Bar Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
As descibed in-depth on SitePoint a hello bar is a thin bar of content that slides into view once the user scrolls past a set point on a page.
The message content is up to you, but is ideal for advertising, product annoncements or other messages.
This plugin provides an admin interface to create multiple hello bar messages that can then be randomly displayed on user facing pages.
By setting weightings for each message you can determine how often each is displayed. On each page load a message is randomly selected
(respecting the weightings given). A random number is generated client side before fetching the message content to ensure it is compatible
with caching services such as W3 Total Cache.
All the required javascript and css is included in the plugin and can be set to enqueue via settings.
Alternatively you can roll your own. To help with that the core javascript has been extracted into the sp-hello-bar
npm module for you to include in your own scripts.
Screenshots
-
Hello Bar in use – An example hello bar being displayed on the Twenty Fifteen theme.
-
SP Random Hello Bar Submenu
-
Settings – Quickly enable the hello bar feature and chose what js/css to enqueue.
-
Content – Add as many hello bars as you wish.