描述
This plugin makes it easy to display a sticky announcement banner, at the top or bottom of your website. You can customise the colours to suit your site or brand. Preview your banner from the settings page, before you save/update.
屏幕截图
安装
From your WordPress dashboard
- Visit ‘Plugins > Add New’
- Search for ‘Sticky Banner’
- Activate ‘Sticky Banner’ from your Plugins page.
- Visit ‘Sticky Banner’ in the sidebarner to create a new banner.
From WordPress.org
- Download ‘Sticky Banner’.
- Upload the ‘hdsb-stickybanner’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…)
- Activate ‘Sticky Banner’ from your Plugins page.
- Visit ‘Sticky Banner’ in the sidebar to add content and change colours.
常见问题
-
It’s great for important anouncements, urgent messages or special offers. You’re only limited by imagination.
评价
2020 年 5 月 10 日
1 回复
Works as advertized.
Would be great to have a cross to hide the bar, to add CSS to customize the font, the button shape, the text and button colors separately, and the bar height.
Pretty cool already !
贡献者及开发者
更新日志
1.3.1
- Edit: Align text and button on mobile/small screens
1.3.0
- Add: Enhanced security throughout
- Add: Sanitization and escaping
- Add: More secure form submission
- Edit: Capability checks
- Edit: Modular JavaScript approach
- Edit: Simplified file structure
1.2.0
- Tested up to WP 6.5.2
- Made button style more ‘button like’
- Resolved admin button hover text issue
1.1.0
The plugin has been coded from the ground up to be cleaner and make future updates easier.
- New setting: Cookie expiry days option added to settings
- New setting: Hide on pages option added (add page IDs with commas)
- New: Adds an active class to the body for styling (hdsb-t-active or hdsb-t-active)
- New: Users can now close banner with X on right hand side (adds cookie for 7 days)
- Update: Button will not show without a URL added to settings
1.0.0
- Initial Version.