Home Plugins sp random hello bar
SitePoint Random Hello Bar logo

SitePoint Random Hello Bar

by sitepointdevs on WordPress.org

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

(0)
Hello Bar in use - An example hello bar being displayed on the Twenty Fifteen theme.

Hello Bar in use - An example hello bar being displayed on the Twenty Fifteen theme.

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.

Active installations10+
Weekly downloads
4-33.33%
Version1.0.1
Last updated1/22/2016
WordPress version3.0
Tested up to4.3.34
Tags
adsadvertisingmarketingproducts