SitePoint Random Hello Bar

plugin banner

Randomly (with weighting) shows a hello bar message on page scroll.

Author:Brad Denver (profile at wordpress.org)
WordPress version required:3.0
WordPress version tested:4.3.33
Plugin version:1.0.1
Added to WordPress repository:21-01-2016
Last updated:22-01-2016
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:https://github.com/sitepoint/sp-random-hello-...
Total downloads:1 184
Active installs:10+
plugin download
Click to start download

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
FAQ
ChangeLog