HurryTimer
  • Introduction
  • Getting Started
    • Installation
    • Creating a one-time campaign
    • Creating an evergreen campaign
    • Creating a recurring campaign
    • Setting an expiry action
    • Adding a countdown timer to the product page
    • Customize the countdown timer appearance
    • Adding headline
    • Adding a call to action button
    • Displaying countdown timer in sticky bar
    • FAQ
    • Billing
  • Developer documentation
  • Expiry Actions
    • Expire a coupon
  • Appearance
    • Custom CSS
  • Troubleshooting
    • My Evergreen timer is not working properly
    • Invalid license key error message
Powered by GitBook
On this page

Was this helpful?

  1. Getting Started

Displaying countdown timer in sticky bar

Keep countdown timer always visible to your visitors by displaying in the ​sticky announcement bar at the top or bottom of any page.

PreviousAdding a call to action buttonNextFAQ

Last updated 4 years ago

Was this helpful?

To get started, navigate to Appearance > Elements > Sticky bar:

By default, a dismissed sticky bar will be hidden for 7 days. You can change that by using the option "When closed, re-open after".

Troubleshooting

The sticky bar isn't showing up

Make sure the jQuery library is loaded, to do so, insert this code snippet in the functions.php under WordPress Appearance menu > Theme Editor:


add_action('wp_enqueue_scripts', function() {
		if( ! wp_script_is('jquery') || ! wp_script_is('jquery', 'registered') ) {
			wp_enqueue_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js', array(), null, true);
		}
});

Sticky bar settings