[WordPress] 外掛分享: Kodefix Sticky Bar

首頁 › 外掛目錄 › Kodefix Sticky Bar
WordPress 外掛 Kodefix Sticky Bar 的封面圖片
全新外掛
安裝啟用
—
尚無評分
2 天前
最後更新
—
問題解決
WordPress 6.5+ PHP 8.0+ v1.0.0 上架:2026-10-28

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Kodefix Sticky Bar」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Kodefix Sticky Bar adds a container block for the block editor. Place any blocks inside it — paragraphs, buttons, Kadence Row Layout, sections, and more. The bar stays in its place in the page layout and only pins to the top or bottom of the viewport once you scroll past it (CSS position: sticky).
Features

Nest any Gutenberg blocks inside the sticky bar
Choose top or bottom sticky edge
Offset and z-index controls to avoid clashes with other sticky or fixed elements (theme headers, admin bar)
Optional admin bar compensation on the front end
Hide the bar below a chosen viewport width
Optionally keep the bar hidden until a chosen page element (anchor ID) appears on screen or leaves above the viewport

Development
Compiled editor and front scripts under dist/assets/ (for example editor-*.js, view-*.js, and related CSS) are built with Vite 7, @kucrut/vite-for-wp, and @vitejs/plugin-react. WordPress provides react and @wordpress/* as externals; they are not bundled.
Human-readable sources that match those builds ship inside this plugin under assets/src/ (editor.tsx, view.ts, style.ts, style.css).
To regenerate the compiled files from a full monorepo checkout:

cd plugins/blocks/front
pnpm install
pnpm run build -- kfx-sticky-bar

延伸相關外掛

文章
Filter
Mastodon