[WordPress] 外掛分享: Menu Item Badges (Admin Fields)

首頁外掛目錄 › Menu Item Badges (Admin Fields)
全新外掛
安裝啟用
尚無評分
37 天前
最後更新
問題解決
WordPress 5.8+ PHP 7.4+ v1.0.0 上架:2026-02-03

內容簡介

總結:Menu Item Badges 外掛為外觀 → 選單中的每個選單項目添加了兩個簡單的欄位:

- 徽章(文字)- 例如 NEU、AKTION、WM 2026
- 徽章顏色(可選)- 設置自定義的十六進位顏色,如#e74c3c

- 徽章以乾淨的藥丸形標籤render在前端,緊挨著選單項目標題。
- 非常適合季節性活動,促銷活動和重要的導航項目(例如“公共觀看技術租賃”→“WM 2026”)。
- 不需要編輯主題。

問題與答案:
- 如何安裝Menu Item Badges 外掛?
- 請到外觀 → 選單(wp-admin/nav-menus.php)。
- 展開所需的選單項目。
- 設置:
- 徽章(文字):例如 WM 2026
- 徽章顏色(可選):例如#e74c3c
- 存檔選單。

- 如何移除一個徽章?
- 簡單清除徽章(文字)欄位並保存即可。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Menu Item Badges (Admin Fields)」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Menu Item Badges adds two simple fields to every menu item in Appearance → Menus:

Badge (Text) – e.g. NEU, AKTION, WM 2026
Badge Color (optional) – set a custom hex color like #e74c3c

Badges are rendered as a clean pill-shaped label right next to the menu item title on the frontend.
Perfect for seasonal campaigns, promotions, and important navigation entries (e.g. “Public Viewing Technik mieten” → “WM 2026”).
No theme editing required.
Usage

Go to Appearance → Menus (wp-admin/nav-menus.php)
Expand the desired menu item.
Set:

Badge (Text): e.g. WM 2026
Badge Color (optional): e.g. #e74c3c

Save the menu.

To remove a badge, simply clear the Badge (Text) field and save.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon