{"id":228867,"date":"2025-06-07T14:03:30","date_gmt":"2025-06-07T14:03:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/lightweight-high-performance-sticky-bar\/"},"modified":"2025-06-07T14:03:16","modified_gmt":"2025-06-07T14:03:16","slug":"lightweight-high-performance-sticky-bar","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/lightweight-high-performance-sticky-bar\/","author":23266472,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.5.3","stable_tag":"trunk","tested":"6.8.5","requires":"5.0","requires_php":"7.0","requires_plugins":null,"header_name":"Lightweight High Performance Sticky Bar","header_author":"Alex Godlewski, Hyroes.com","header_description":"Adds a customizable sticky notification bar to the top of your website that can be closed by visitors, with their preference stored in cookies. Supports HTML content, custom buttons, and countdown timers.","assets_banners_color":"","last_updated":"2025-06-07 14:03:16","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/hyroes.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":297,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"alexgodlewski","date":"2025-06-07 14:03:43"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"<strong>Admin Settings Page<\/strong> - The settings page under Tools \u2192 Lightweight High Performance Sticky Bar","2":"<strong>Sticky Bar in Action<\/strong> - How the sticky bar appears on your website","3":"<strong>Color Picker<\/strong> - Selecting a custom background color","4":"<strong>Countdown Timer<\/strong> - Countdown timer in action with custom styling"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[7553,12724,1290,38826,15526],"plugin_category":[],"plugin_contributors":[243436],"plugin_business_model":[],"class_list":["post-228867","plugin","type-plugin","status-publish","hentry","plugin_tags-announcement-bar","plugin_tags-countdown-timer","plugin_tags-notification-bar","plugin_tags-promotion-bar","plugin_tags-sticky-bar","plugin_contributors-alexgodlewski","plugin_committers-alexgodlewski"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/lightweight-high-performance-sticky-bar.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The Lightweight High Performance Sticky Bar is perfect for announcements, promotions, or important messages that need visibility without disrupting the user experience. It adds a customizable sticky bar to the top of your website with options for a countdown timer.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li><strong>Smooth Animations<\/strong>: Clean transitions when showing and hiding the bar<\/li>\n<li><strong>Customizable Text<\/strong>: Set your own message to display<\/li>\n<li><strong>Color Picker<\/strong>: Choose any background color with the built-in WordPress color picker<\/li>\n<li><strong>Cookie Integration<\/strong>: Bar stays hidden for visitors who close it<\/li>\n<li><strong>Configurable Duration<\/strong>: Set how many hours the bar stays hidden after being closed<\/li>\n<li><strong>Admin Bar Compatible<\/strong>: Automatically adjusts position when WordPress admin bar is present<\/li>\n<li><strong>Content-Friendly<\/strong>: Adds padding to avoid covering your website content<\/li>\n<li><strong>Lightweight<\/strong>: Minimal impact on page load times and performance<\/li>\n<li><strong>Mobile-Friendly<\/strong>: Fully responsive design that works on all devices<\/li>\n<li><strong>No Dependencies<\/strong>: Doesn't require any external libraries beyond jQuery (included with WordPress)<\/li>\n<li><strong>Countdown Timer<\/strong>: Display a countdown to a specific date and time<\/li>\n<li><strong>Cache-Compatible<\/strong>: Works with page caching plugins<\/li>\n<li><strong>Customizable Countdown<\/strong>: Position, colors, labels, and end actions<\/li>\n<\/ul>\n\n<h3>Technical Details<\/h3>\n\n<p>The sticky bar appears at the top of your website as the first element in the header. It includes:<\/p>\n\n<ul>\n<li><strong>Smart Positioning<\/strong>: Detects and adjusts for the WordPress admin bar when logged in<\/li>\n<li><strong>Body Padding<\/strong>: Automatically adds padding to prevent content from being hidden<\/li>\n<li><strong>Responsive Layout<\/strong>: Adapts to all screen sizes from mobile to desktop<\/li>\n<li><strong>Performance Optimized<\/strong>: JavaScript and CSS are minified and only loaded when needed<\/li>\n<li><strong>Cookie-Based Memory<\/strong>: Respects user preferences by remembering when they've dismissed the bar<\/li>\n<li><strong>Countdown Feature<\/strong>: Display days, hours, minutes, and seconds remaining until a target date<\/li>\n<li><strong>AJAX Updates<\/strong>: Ensures countdown accuracy even with cached pages<\/li>\n<\/ul>\n\n<h4>Configuration Options<\/h4>\n\n<ul>\n<li><strong>Bar Text<\/strong>: The message displayed in the sticky bar<\/li>\n<li><strong>Background Color<\/strong>: Color picker for the bar background<\/li>\n<li><strong>Hide Duration<\/strong>: Hours the bar stays hidden after closing<\/li>\n<li><strong>Enable Bar<\/strong>: Toggle to activate\/deactivate the bar<\/li>\n<li><strong>Enable Countdown<\/strong>: Toggle to enable the countdown timer<\/li>\n<li><strong>Target Date<\/strong>: The date and time that the countdown targets<\/li>\n<li><strong>After Countdown Ends<\/strong>: What happens when countdown reaches zero (Show Zeros, Remove Countdown, or Remove Bar)<\/li>\n<li><strong>Countdown Position<\/strong>: Where to display the countdown relative to text<\/li>\n<li><strong>Numbers Background<\/strong>: Background color for countdown digits<\/li>\n<li><strong>Numbers Font Color<\/strong>: Text color for countdown digits<\/li>\n<li><strong>Show Labels<\/strong>: Toggle to show\/hide time unit labels (Days, Hours, etc.)<\/li>\n<li><strong>Labels Position<\/strong>: Display labels above or below the numbers<\/li>\n<li><strong>Custom Labels<\/strong>: Customize the text for each time unit label<\/li>\n<\/ul>\n\n<h3>Requirements<\/h3>\n\n<ul>\n<li>WordPress 5.0 or higher<\/li>\n<li>PHP 7.4 or higher<\/li>\n<li>JavaScript enabled in the browser<\/li>\n<li>Cookies enabled for remembering user preferences<\/li>\n<\/ul>\n\n<h3>Requirements<\/h3>\n\n<ul>\n<li>WordPress 5.0 or higher<\/li>\n<li>PHP 7.4 or higher<\/li>\n<li>JavaScript enabled in the browser<\/li>\n<li>Cookies enabled for remembering user preferences<\/li>\n<\/ul>\n\n<h3>License<\/h3>\n\n<p>This plugin is licensed under the GPLv2 or later.<\/p>\n\n<h3>Credits<\/h3>\n\n<p>Developed by Alex Godlewski, <a href=\"https:\/\/hyroes.com\">Hyroes.com<\/a><\/p>\n\n<h3>Privacy<\/h3>\n\n<p>This plugin sets a cookie (HyroesStickyBarClosed) in the visitor's browser when they close the sticky bar. This cookie only stores a simple \"closed\" status and does not collect any personal information or track users.<\/p>\n\n<p>The cookie expires after the configured number of hours (default: 24 hours). No data is sent to external servers except for the AJAX requests used to update the countdown timer, which do not contain any personal information.<\/p>\n\n<!--section=installation-->\n<h4>Automatic Installation (Recommended)<\/h4>\n\n<ol>\n<li>Log in to your WordPress dashboard and navigate to Plugins \u2192 Add New<\/li>\n<li>Search for \"Lightweight High Performance Sticky Bar\"<\/li>\n<li>Click \"Install Now\" and then \"Activate\"<\/li>\n<\/ol>\n\n<h4>Manual Installation<\/h4>\n\n<ol>\n<li>Download the plugin zip file from WordPress.org repository<\/li>\n<li>Log in to your WordPress dashboard and navigate to Plugins \u2192 Add New<\/li>\n<li>Click the \"Upload Plugin\" button at the top of the page<\/li>\n<li>Choose the downloaded zip file and click \"Install Now\"<\/li>\n<li>Configure your settings under Tools \u2192 Sticky Bar<\/li>\n<li>Save your settings<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20add%20html%20to%20the%20sticky%20bar%20text%3F'><h3>Can I add HTML to the sticky bar text?<\/h3><\/dt>\n<dd><p>Yes, the plugin now supports limited HTML in the sticky bar text. You can enable this feature in the settings and use tags like links, line breaks, emphasis, and spans. All HTML is sanitized to prevent security issues.<\/p><\/dd>\n<dt id='will%20the%20sticky%20bar%20appear%20on%20mobile%20devices%3F'><h3>Will the sticky bar appear on mobile devices?<\/h3><\/dt>\n<dd><p>Yes, the sticky bar is fully responsive and will display properly on all devices, from smartphones to desktop computers.<\/p><\/dd>\n<dt id='configuration%20options'><h3>Configuration Options<\/h3><\/dt>\n<dd>\n\n\n  Setting\n  Description\n  Default\n\n\n\n\n  Bar Text\n  The message displayed in the sticky bar\n  \"Welcome to our site!\"\n\n\n  Background Color\n  Color picker for the bar background\n  #333333\n\n\n  Hide Duration\n  Hours the bar stays hidden after closing\n  24\n\n\n  Enable Bar\n  Toggle to activate\/deactivate the bar\n  Disabled\n\n\n  Enable Countdown\n  Toggle to enable the countdown timer\n  Disabled\n\n\n  Target Date\n  The date and time that the countdown targets\n  Empty\n\n\n  After Countdown Ends\n  What happens when countdown reaches zero\n  Show Zeros, Remove Countdown, or Remove Bar\n\n\n  Countdown Position\n  Where to display the countdown relative to text\n  Right of Text\n\n\n  Numbers Background\n  Background color for countdown digits\n  #000000\n\n\n  Numbers Font Color\n  Text color for countdown digits\n  #FFFFFF\n\n\n  Show Labels\n  Toggle to show\/hide time unit labels (Days, Hours, etc.)\n  Enabled\n\n\n  Labels Position\n  Display labels above or below the numbers\n  Below Numbers\n\n\n  Custom Labels\n  Customize the text for each time unit label\n  \"Days\", \"Hours\", \"Minutes\", \"Seconds\" |### Can I add HTML to the sticky bar text?\n\n\n\n\n<p>Yes, the plugin now supports limited HTML in the sticky bar text. You can enable this feature in the settings and use tags like links, line breaks, emphasis, and spans. All HTML is sanitized to prevent security issues.<\/p><\/dd>\n<dt id='does%20this%20plugin%20slow%20down%20my%20website%3F'><h3>Does this plugin slow down my website?<\/h3><\/dt>\n<dd><p>No, the plugin is designed to be extremely lightweight. The JavaScript and CSS are minimal, and they're only loaded when the sticky bar is enabled in your settings.<\/p><\/dd>\n<dt id='how%20can%20i%20change%20the%20text%20color%3F'><h3>How can I change the text color?<\/h3><\/dt>\n<dd><p>Currently, the text color is set to white (#ffffff) for maximum readability. A future update may include an option to customize the text color.<\/p><\/dd>\n<dt id='does%20the%20countdown%20work%20with%20caching%20plugins%3F'><h3>Does the countdown work with caching plugins?<\/h3><\/dt>\n<dd><p>Yes, the plugin uses AJAX to periodically update the countdown data, ensuring accuracy even with page caching enabled.<\/p><\/dd>\n<dt id='can%20i%20customize%20the%20countdown%20labels%3F'><h3>Can I customize the countdown labels?<\/h3><\/dt>\n<dd><p>Yes, you can customize the text for each time unit label (Days, Hours, Minutes, Seconds) and choose whether to display them above or below the numbers.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h3>1.5.3<\/h3>\n\n<ul>\n<li>Fixed WordPress.org compliance issues<\/li>\n<li>Updated text domain to match plugin slug (51 instances)<\/li>\n<li>Renamed main plugin file to match slug convention<\/li>\n<li>Removed hidden .DS_Store file<\/li>\n<li>Improved internationalization support<\/li>\n<\/ul>\n\n<h3>1.5.2<\/h3>\n\n<ul>\n<li>Added support for HTML in sticky bar text<\/li>\n<li>Added customizable button with position, color, and link options<\/li>\n<li>Improved performance with minified CSS and deferred JavaScript<\/li>\n<li>Enhanced security with proper escaping and validation<\/li>\n<li>Added compatibility checks for WordPress version<\/li>\n<li>Fixed text domain consistency issues<\/li>\n<li>Added proper uninstall cleanup<\/li>\n<\/ul>\n\n<h3>1.5.1<\/h3>\n\n<ul>\n<li>Fixed settings saving issue<\/li>\n<li>Improved settings form field compatibility<\/li>\n<li>Enhanced error handling for settings updates<\/li>\n<li>Added proper admin notices<\/li>\n<\/ul>\n\n<h3>1.5<\/h3>\n\n<ul>\n<li>Added countdown timer functionality<\/li>\n<li>Added option to customize countdown position<\/li>\n<li>Added countdown styling options<\/li>\n<li>Added countdown end action options<\/li>\n<li>Added compatibility with caching plugins<\/li>\n<li>Added customizable labels for time units<\/li>\n<li>Added label position options<\/li>\n<li>Fixed turning off countdown functionality<\/li>\n<\/ul>\n\n<h3>1.4<\/h3>\n\n<ul>\n<li>Added configurable cookie duration setting<\/li>\n<li>Improved mobile responsiveness<\/li>\n<li>Fixed admin bar compatibility issues<\/li>\n<\/ul>\n\n<h3>1.3<\/h3>\n\n<ul>\n<li>Added color picker for background customization<\/li>\n<li>Performance optimizations<\/li>\n<\/ul>","raw_excerpt":"Add a customizable sticky notification bar with countdown functionality to your website with minimal performance impact.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/228867","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=228867"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/alexgodlewski"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=228867"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=228867"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=228867"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=228867"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=228867"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=228867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}