| 开发者 | mxaxm |
|---|---|
| 更新时间 | 2026年8月1日 19:14 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0.2 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
<strong>, <em>, <a>).Yes, you can use basic HTML tags like <strong>, <em>, and <a>.
On the settings page, fill in Button text and Button link in the Content card. Leave the button text blank to hide the button. You can style it with the button colour pickers in the Appearance card.
Yes. In the Display card, set Position to Bottom. You can also choose Behaviour: Sticky keeps the bar visible while scrolling, while Static lets it scroll away with the page.
In the Display card, set Show on pages to Front page only.
On the settings page, turn off the Show the bar to users who are logged in toggle and save.
As long as you like. In the Display card, set Stay dismissed for (days) to any value from 1 to 365 (1 day by default). Dismissal is remembered in the visitor's browser, so it works with full-page caches and CDNs.
No—scripts and styles are only loaded on the front end when the bar is enabled.
Yes. Varsby is independent of the block editor—it doesn't add any blocks, and displays the bar site-wide via a separate settings page, so it works the same whether your site uses Gutenberg, the Classic Editor, or a page builder.
Yes. Under Settings → Varsby you can save as many bars as you like and switch which one is enabled. The free version shows one bar at a time — the first enabled bar that matches the current page and device — so you can keep a library of ready-made bars and activate the right one when you need it.
Not yet. Varsby is free and fully usable as-is—one live bar, done well. A Pro version with extra features (including showing multiple bars at once) is being considered for those who need more.
varsby3u5c49_before_render and varsby3u5c49_after_render actions, and the varsby3u5c49_bar_atts filter for adding attributes to the bar wrapper. No change to how the bar looks or behaves.load_plugin_textdomain() call. WordPress automatically loads translations for plugins hosted on WordPress.org since version 4.6, so the call was redundant and is flagged as discouraged by Plugin Check. No effect on translations.overflow: hidden and a border-box min-height, which absorbs the padding added in 1.1.4. The bar now checks whether padding the wrapper actually freed space below the footer and, if not, spaces the scroll container itself instead.overflow other than visible on the body element, such as Astra. The offset that pushes content clear of a fixed bar is now applied only to the root html element, so it no longer stacks.<button> element so it is keyboard-accessible without extra scripting, and added a visible focus ring.prefers-reduced-motion guard so any future bar transitions are automatically suppressed for users who have requested reduced motion in their OS.prefers-contrast: more stylesheet so labels, borders, and help text are easier to read for users who have enabled high contrast in their OS.varsby3u5c49_should_display filter so add-ons can extend the visibility logic.plugins_loaded hook for textdomain loading.wp.i18n.