前言介紹
- 這款 WordPress 外掛「Lightweight High Performance Sticky Bar」是 2025-06-06 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2025-06-07,距離現在已有 263 天。
- 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
sticky bar | promotion bar | countdown timer | announcement bar | notification bar |
內容簡介
總結:這款輕量高性能的粘性條是用於公告、促銷或需要可見性而不干擾用戶體驗的重要訊息的完美選擇。它可以在您的網站頂部添加一個可自定義的粘性條,擁有倒數計時器等選項。
問題與答案:
1. 這個外掛的特點有哪些?
- 流暢動畫:顯示和隱藏條時干淨的過渡效果
- 自定義文字:設置您自己的信息以顯示
- 顏色選擇器:使用內置的WordPress顏色選擇器選擇任何背景顏色
- Cookie集成:當訪客關閉時,條保持隱藏
- 可配置持續時間:設置條在關閉後隱藏多少小時
- 管理員條兼容:WordPress管理員條存在時自動調整位置
- 內容友好:添加間距以避免覆蓋網站內容
- 輕量型:對頁面加載時間和性能影響極小
- 手機友好:全面響應式設計,適用於所有設備
- 無依賴性:不需要除了jQuery(隨WordPress附帶)之外的任何外部庫
- 倒數計時器:顯示到特定日期和時間的倒數計時
- 緩存兼容:與頁面緩存插件一起正常運作
- 可自定義倒數計時:位置、顏色、標籤和結束操作
2. 這個外掛的技術細節包括哪些內容?
- 條以第一個元素的形式出現在網站頂部
- 智能定位:在登錄時檢測並調整WordPress管理員條
- 內容間距:自動添加內容間距以防止隱藏內容
- 響應式佈局:適應所有從手機到桌面的屏幕尺寸
- 性能優化:JavaScript和CSS被縮小並且只在需要時加載
- 基於Cookie的記憶:通過記住用戶何時解除條款來尊重用戶偏好
- 倒數功能:顯示目標日期的剩餘天數、小時、分鐘和秒數
- AJAX更新:即使在緩存頁面上也可以確保倒數準確性
以上內容以HTML標籤的項目符號列表形式呈現。
原文外掛簡介
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.
Features
Smooth Animations: Clean transitions when showing and hiding the bar
Customizable Text: Set your own message to display
Color Picker: Choose any background color with the built-in WordPress color picker
Cookie Integration: Bar stays hidden for visitors who close it
Configurable Duration: Set how many hours the bar stays hidden after being closed
Admin Bar Compatible: Automatically adjusts position when WordPress admin bar is present
Content-Friendly: Adds padding to avoid covering your website content
Lightweight: Minimal impact on page load times and performance
Mobile-Friendly: Fully responsive design that works on all devices
No Dependencies: Doesn’t require any external libraries beyond jQuery (included with WordPress)
Countdown Timer: Display a countdown to a specific date and time
Cache-Compatible: Works with page caching plugins
Customizable Countdown: Position, colors, labels, and end actions
Technical Details
The sticky bar appears at the top of your website as the first element in the header. It includes:
Smart Positioning: Detects and adjusts for the WordPress admin bar when logged in
Body Padding: Automatically adds padding to prevent content from being hidden
Responsive Layout: Adapts to all screen sizes from mobile to desktop
Performance Optimized: JavaScript and CSS are minified and only loaded when needed
Cookie-Based Memory: Respects user preferences by remembering when they’ve dismissed the bar
Countdown Feature: Display days, hours, minutes, and seconds remaining until a target date
AJAX Updates: Ensures countdown accuracy even with cached pages
Configuration Options
Bar Text: The message displayed in the sticky bar
Background Color: Color picker for the bar background
Hide Duration: Hours the bar stays hidden after closing
Enable Bar: Toggle to activate/deactivate the bar
Enable Countdown: Toggle to enable the countdown timer
Target Date: The date and time that the countdown targets
After Countdown Ends: What happens when countdown reaches zero (Show Zeros, Remove Countdown, or Remove Bar)
Countdown Position: Where to display the countdown relative to text
Numbers Background: Background color for countdown digits
Numbers Font Color: Text color for countdown digits
Show Labels: Toggle to show/hide time unit labels (Days, Hours, etc.)
Labels Position: Display labels above or below the numbers
Custom Labels: Customize the text for each time unit label
Requirements
WordPress 5.0 or higher
PHP 7.4 or higher
JavaScript enabled in the browser
Cookies enabled for remembering user preferences
Requirements
WordPress 5.0 or higher
PHP 7.4 or higher
JavaScript enabled in the browser
Cookies enabled for remembering user preferences
License
This plugin is licensed under the GPLv2 or later.
Credits
Developed by Alex Godlewski, Hyroes.com
Privacy
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.
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.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Lightweight High Performance Sticky Bar」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 |
延伸相關外掛(你可能也想知道)
My Sticky Bar – Floating Notification Bar & Sticky Header (formerly myStickymenu) 》使用 myStickymenu 為您的網站創建一個美麗的通知欄。此外,此粘性菜單外掛還可以在滾動到一定像素點後讓您的菜單或標頭保持粘性。您也可以使用它來創建歡迎...。WPFront Notification Bar 》想要在網站上顯示促銷或新聞通知嗎?WPFront Notification Bar 外掛能讓您輕鬆地實現。, 升級至 PRO 版本 可建立多個通知條以及使用進階編輯器功能。, 功能, ...。
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar 》最佳 FOMO、Social Proof、WooCommerce Sales 彈窗和通知條外掛,支援 Elementor , 想要為您的企業建立即時可信度,並立即提高轉換率嗎?97%的訪問網站的遊...。
Top Bar 》簡單方便地為您的網站添加頂部欄。這款外掛會在您的網站頂部添加一個簡單乾淨的通知欄,讓您向訪客顯示一條友好的信息和自定義鏈接。您所看到的就是您所得的...。
WP Notification Bars 》WP Notification Bars 是一款用於 WordPress 的自訂通知和警示欄外掛程式,非常適合用於推銷促銷、警示、增加點擊其他頁面等等功能。, 為什麼要使用 MyThemeS...。Announcer – Sticky Message Banner, Notification Bar – Add to Top, Bottom of your Website 》使用 Announcer 外掛程式,您可以在網站上新增美觀且專業的通知條。您可以顯示自訂的訊息,例如促銷活動、Cookie 使用注意事項、歡迎訊息、隱私權政策聲明等...。
Easy Notification Bar 》透過 WordPress 的即時自訂(customizer)功能,輕鬆地在您的網站上添加自定義頂部通知訊息。此插件允許您輸入通知欄文本和一個可選的按鈕以顯示在文字旁邊,...。
Notibar – Notification Bar for WordPress 》自訂固定頁首、通知欄、警示、促銷碼、行銷活動、置頂橫幅的外掛, 此外掛能在網站新增頂部通知欄,提示重要公告,並可設為固定頁首,在瀏覽時一直顯示。您可...。
HashBar – Announcement, Notification Bar & Popup Campaign 》HashBar 是一個便利的 WordPress 通知欄外掛,能讓您的 WordPress 網站更上一層樓。您可以建立任意數量的通知欄,並自定義其內容以符合您的需求。例如,您需...。
Notification Bar, Announcement and Cookie Notice WordPress Plugin – FooBar 》FooBar 外掛讓你可以創建無限制搶眼的通知欄、公告和 Cookie 注意事項,以引起訪客的注意。FooBar 從頭開始完全重寫,為你提供嶄新和現代化的通知。, , 前往 ...。
Responsive Notification Bar Plugin for WordPress – Apex Notification Bar Lite 》產品頁面 | 演示 | 文件 | 高級版, Apex Notification Bar Lite, 使用 Apex Notification Bar Lite 在您的 WordPress 網站中添加外觀精美的單一通知欄。, , 5...。Sticky Banner 》這個外掛讓您輕鬆地在您的網站頂部或底部顯示一個固定的公告橫幅。您可以自定義顏色以適應您的網站或品牌。在儲存/更新之前,您可以從設置頁面預覽您的橫幅。。
Free Shipping Bar for WooCommerce – Progress Indicator, Popup & Alerts 》otification bar until the user enters the coupon code to activate free shipping, Compatible with major themes and plugins, , With the Pro version o...。
DMC Promo Banner – Sale Notifications & Announcement Bar 》**總結:**, DMC折扣促銷推廣橫幅是將促銷横幅、公告、信息通知、廣告促銷和特別優惠輕鬆添加到您的網站上的最簡單方法。這是一個功能豐富、易於使用並且提供...。Sitewide Message 》簡單易用的外掛,可在你的網站頁面上方顯示一條訊息。你可以更改背景色、文字顏色和URL位置。, 新功能, , 預定訊息 – 選擇何時在你的網站上顯示或隱藏...。
