[WordPress] 外掛分享: Urban Insight Promobar

首頁 › 外掛目錄 › Urban Insight Promobar
WordPress 外掛 Urban Insight Promobar 的封面圖片
10+
安裝啟用
—
尚無評分
14 天前
最後更新
—
問題解決
WordPress 6.3+ PHP 7.4+ v1.7.2 上架:2021-01-20

內容簡介

Urban Insight Promobar 讓您可以輕鬆地在網站頂部添加一個漂亮而有效的 promobar。此可關閉公告 promobar 可顯示 HTML 內容和 WordPress Dashicons,其背景顏色可自訂。管理使用者可以使用直觀的外掛程式設置進行排程、啟用和重設 promobar 顯示。

功能特色

Urban Insight Promobar 外掛擁有您需要建立和管理全站公告的一切功能:

自訂 HTML 內容顯示
WordPress Dashicons 字型圖示選擇器
背景顏色選擇器選項
排程 promobar 顯示,可設定啟始/結束日期和時間設置。
使用 js-cookie 进行用户解除追踪
瀏覽器 Cookies 到期時間(以天數設置)。
使用滾動瀏覽器 cookie 值重設解除隐藏設置
Localhost 開發選項

外掛標籤

開發者團隊

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

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

原文外掛簡介

Urban Insight Promobar makes it easy to add an attractive and functional promobar to the top of your website. This dismissable announcement promobar displays HTML content and Dashicons on a customizable background color. Administrative users can schedule, enable, and reset the promobar display with intuitive plugin settings.
The promobar is built to stay out of the way of your site’s performance and accessibility scores. It renders in normal document flow so it causes no layout shift, loads no CSS or JavaScript on pages where it will not appear, and ships a keyboard accessible dismiss control with text colour chosen for contrast against whatever background you pick.
Features
The Urban Insight Promobar plugin comes with everything you need to create and manage your sitewide announcement:

Custom HTML content display
WordPress Dashicons font icon selector, with an adjustable icon size
Background color picker option, with a live WCAG contrast readout
Automatic black or white promobar text, whichever reads better on your background
Options to schedule promobar display with start/end date and time settings, including open-ended windows
Show the promobar only on selected pages, or on every page except those selected
User dismissal tracking with js-cookie
Browser cookie expiration (set in days)
Dismissal reset setting using roll browser cookie value
Localhost development option
Keyboard accessible dismiss control with a visible focus indicator
Causes no cumulative layout shift, and loads nothing on pages where it will not appear

Filters
Developers can adjust the promobar with the following filters:

urbipb_should_display — whether the promobar should render on this request, after the enable, empty content, exclusion and schedule checks have run.
urbipb_exclude_posts_pages — the list of page IDs the promobar is excluded from.
urbipb_text_color — the black or white text colour chosen for the background.
urbipb_announce_content_html — the promobar content markup, passed the icon and HTML content.
urbipb_announce_close_button — the dismiss control markup.
urbipb_announce_noscript_style — the noscript stylesheet used when JavaScript is unavailable.

延伸相關外掛

文章
Filter
Mastodon