[WordPress] 外掛分享: Fixed Widget and Sticky Elements for WordPress

首頁外掛目錄 › Fixed Widget and Sticky Elements for WordPress
WordPress 外掛 Fixed Widget and Sticky Elements for WordPress 的封面圖片
90,000+
安裝啟用
★★★★
4.7/5 分(261 則評價)
1083 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.2+ v6.2.3 上架:2012-11-18

內容簡介

使用 Fixed Widget 外掛可以創建黏貼式的小部件、區塊和其他元素,當用戶向上或向下滾動頁面時,它們會保持在可見的屏幕區域內。

相較於非固定小工具,黏貼式小部件的可見性更高,因此具有顯著更高的點擊率。

這就是為什麼此選項對於廣告或其他希望訪問者互動的元素非常有價值。與此同時,Google 也允許集成黏貼式 AdSense 廣告。

手動和演示

特點

Fixed Widget 外掛完全免費。

黏貼式小部件:使用 Fixed Widget 外掛,可以在側邊欄上使用任何小工具和區塊
黏貼式元素:選擇站點上的任何元素,使其黏貼式
Margin Top:可以防止黏貼式元素遮擋浮動菜單欄
Margin Bottom:在到達窗口底部之前將黏貼式元素向上推送
Stop Elements:當滾動到視圖中時,將黏貼式元素向上推送
Stop Blocks:定義您側邊欄中推送固定塊的區塊
最小屏幕寬度和最小屏幕高度:可讓您在小屏幕上禁用黏貼行為
使用普通 JavaScript 編寫以提高性能

相容性

主題要求:

header.php 和 footer.php 文件中必須包含 wp_head() 和 wp_footer() 函数
JavaScript 錯誤可能會損壞黏貼式小部件

外掛標籤

開發者團隊

⬇ 下載最新版 (v6.2.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Fixed Widget and Sticky Elements for WordPress」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Use Fixed Widget to create sticky widgets, sticky blocks, and other elements that stay in the visible screen area when a user scrolls the page up or down.
Sticky widgets are more visible than unfixed widgets and therefore have a significantly higher click-through rate.
That’s why this option is worthwhile for ads or other elements that visitors should interact with. Meanwhile, Google also allows the integration of sticky AdSense ads.

Manual and demo

Features
Fixed Widget is completely free of charge.

Sticky Widgets Use the Fixed Widget option on any widget and blocks in the sidebar
Sticky Elements Choose any element on your site and make it sticky
Margin Top allows you to stop sticky elements to cover floating menu bars
Margin Bottom pushes sticky elements up before they reach a certain distance towards the bottom window
Stop Elements push sticky elements up when they are scrolling into view
Stop Blocks defines blocks in your sidebar that push fixed blocks out of the page
Minimum Screen Width and Minimum Screen Height allow you to disable sticky behavior on small screens
Written in plain JavaScript for better performance

Compatibility
Theme requirements:

wp_head() and wp_footer() functions in header.php and footer.php files
JavaScript errors could break sticky widgets

延伸相關外掛

文章
Filter
Apply Filters
Mastodon