Menu Item Badges (Admin Fields)
v1.0.0paworldtothemoon · 2026年2月4日 上架
Add eye-catching badges like "NEU", "AKTION" or "WM 2026" to individual WordPress menu items — directly from the Menus screen.
- 正在使用
- 20+
- 评分
- 暂无
- 累计下载
- 482
- 最近更新
- 2026年2月4日
需要 WordPress 5.8+已测试到 6.9.12PHP 7.4+
贡献者
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
- Badge (Text): e.g.
- Save the menu.
To remove a badge, simply clear the Badge (Text) field and save.