[WordPress] 外掛分享: StickySpot – Sticky Sidebar, Widgets & Blocks

首頁 › 外掛目錄 › StickySpot – Sticky Sidebar, Widgets & Blocks
WordPress 外掛 StickySpot – Sticky Sidebar, Widgets & Blocks 的封面圖片
全新外掛
安裝啟用
—
尚無評分
6 天前
最後更新
—
問題解決
WordPress 6.2+ PHP 7.4+ v1.0.0 上架:2026-11-23

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「StickySpot – Sticky Sidebar, Widgets & Blocks」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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 class stickyspot-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-pinned and stickyspot-is-pushed.
JavaScript events stickyspot:pin and stickyspot:unpin, and window.StickySpot.refresh().
PHP filters stickyspot_enabled and stickyspot_config.

延伸相關外掛

文章
Filter
Mastodon