开发者 | alexgodlewski |
---|---|
更新时间 | 2025年6月7日 22:03 |
PHP版本: | 7.0 及以上 |
WordPress版本: | 6.8 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
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.
Yes, the sticky bar is fully responsive and will display properly on all devices, from smartphones to desktop computers.
| Setting | Description | Default | |---------|-------------|---------| | Bar Text | The message displayed in the sticky bar | "Welcome to our site!" | | Background Color | Color picker for the bar background | #333333 | | Hide Duration | Hours the bar stays hidden after closing | 24 | | Enable Bar | Toggle to activate/deactivate the bar | Disabled | | Enable Countdown | Toggle to enable the countdown timer | Disabled | | Target Date | The date and time that the countdown targets | Empty | | 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 | Right of Text | | Numbers Background | Background color for countdown digits | #000000 | | Numbers Font Color | Text color for countdown digits | #FFFFFF | | Show Labels | Toggle to show/hide time unit labels (Days, Hours, etc.) | Enabled | | Labels Position | Display labels above or below the numbers | Below Numbers | | Custom Labels | Customize the text for each time unit label | "Days", "Hours", "Minutes", "Seconds" |
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.
Yes, the sticky bar is fully responsive and will display properly on all devices, from smartphones to desktop computers.
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.
Currently, the text color is set to white (#ffffff) for maximum readability. A future update may include an option to customize the text color.
Yes, the plugin uses AJAX to periodically update the countdown data, ensuring accuracy even with page caching enabled.
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.
This plugin is licensed under the GPLv2 or later.
Developed by Alex Godlewski, Hyroes.com
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.