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.

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

Sticky announcement bar settings

IMPORTANT: Sticky bar will be automatically displayed by the plugin, which means you don't need to use shortcode.

Display sticky bar on selected products pages

In the option Display on, choose Selected products to display sticky bar only on selected products under WooCommerce tab.

Display sticky bar only on specific pages

In the option Display on, choose Specific pages... and choose on which pages you want to display the sticky bar:

Display on specific pages

Hide sticky bar on specific pages

While there is no visual setting to hide sticky bar on some pages at this time, you can use the filter hurrytimer_show_campaign as below:

add_filter('hurryt_show_campaign', function($show){
global $post;
// don't show sticky bar on these pages.
$pages_ids = [777,888,999];
if($post && in_array($post->ID, $pages_ids){
return false;
}
return $show;
});

NOTE: By default, a dismissed sticky bar will be hidden for 7 days. to change this, use the filter hurryt_sticky_bar_hide_timeout, see example:

add_filter('hurryt_sticky_bar_hide_timeout', 'mysite_change_sticky_bar_timeout');
function mysite_change_sticky_bar_timeout($timeout){
return 5; // Hide for 5 days.
});