
StickySpot – Sticky Sidebar, Widgets & Blocks
v1.0.0serbyy · 2026年11月24日 上架
Keep any widget, block or element visible while visitors scroll. Stops before the footer and works with classic and block themes.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 36
- 最近更新
- 2026年11月25日
贡献者
截图






StickySpot keeps your most important content in view: newsletter boxes, ads, tables of contents, buy buttons, author boxes or a whole sidebar. Visitors scroll, the element stays on screen, and it slides away politely before it reaches your footer.
Make anything sticky
- Widgets: every widget gets a “Make this widget sticky” checkbox.
- Blocks: every block gets a Sticky panel in the block editor, in posts, pages, the widget editor and the Site Editor.
- Any element: add a CSS selector and StickySpot does the rest. Each rule can have its own margins, stop element and screen size.
- Auto sticky: make the last widget of any sidebar sticky with one click.
- Stop blocks and widgets: mark any block or widget as a stop element and sticky items slide up when they reach it.
- Page builders and classic editor: wrap content in
[stickyspot]...[/stickyspot], or give any element the classstickyspot-sticky.
Smart by default
- Stops before the footer automatically, so it never covers it.
- Stays below fixed or sticky site headers: switch on automatic detection or enter the header’s selector.
- Stays below the WordPress admin bar.
- Several sticky items in one column can stack or push each other away.
- Elements taller than the screen scroll first and then stick at the bottom, so nothing gets cut off.
- Follows late loading images, ads and comments.
Two engines
StickySpot uses fast native CSS sticky positioning whenever your theme allows it, and switches to its JavaScript engine when the theme blocks it (for example with hidden overflow on columns). You can also force either engine.
Full control
- Top and bottom margins, stop elements, stay inside the parent column.
- Responsive rules: minimum and maximum screen width, minimum screen height, turn off on touch devices.
- Display rules: turn off on the home page, archives, search, 404, single post types, specific posts or for logged-in users. No script is loaded where StickySpot is off.
- Appearance while stuck: shadow, background colour, corner radius, fade in, z-index and an extra CSS class.
- Import, export and reset of all settings.
- Debug mode with outlines and console messages.
Switching from Fixed Widget
StickySpot reads the “Fixed widget” checkbox of the old Fixed Widget plugin, so those widgets stay sticky right away. Its sticky blocks and stop blocks keep working too. On first activation StickySpot copies Fixed Widget’s margins, stop elements, screen limits and custom selectors; you can repeat this any time under Import & Export.
Light and accessible
- Plain JavaScript, no jQuery and no other libraries on the front end.
- Scripts load only where they are needed: on pages with sticky widgets or blocks, or on every page once you add element rules.
- Respects “reduced motion” settings.
- Translation ready.
For developers
- CSS classes
stickyspot-is-pinnedandstickyspot-is-pushed. - JavaScript events
stickyspot:pinandstickyspot:unpin, andwindow.StickySpot.refresh(). - PHP filters
stickyspot_enabledandstickyspot_config.