Title: Menu Item Badges (Admin Fields)
Author: paworldtothemoon
Published: <strong>2026 年 2 月 4 日</strong>
Last modified: 2026 年 2 月 4 日

---

搜索插件

![](https://ps.w.org/menu-item-badges-admin-fields/assets/icon-256x256.png?rev=3453682)

# Menu Item Badges (Admin Fields)

 作者：[paworldtothemoon](https://profiles.wordpress.org/paworldtothemoon/)

[下载](https://downloads.wordpress.org/plugin/menu-item-badges-admin-fields.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/menu-item-badges-admin-fields/#description)
 * [评价](https://cn.wordpress.org/plugins/menu-item-badges-admin-fields/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/menu-item-badges-admin-fields/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/menu-item-badges-admin-fields/#developers)

 [支持](https://wordpress.org/support/plugin/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

 1. Go to **Appearance  Menus** (wp-admin/nav-menus.php)
 2. Expand the desired menu item.
 3. Set:
 4.  * **Badge (Text)**: e.g. `WM 2026`
     * **Badge Color** (optional): e.g. `#e74c3c`
 5. Save the menu.

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

## 安装

 1. Download the plugin ZIP.
 2. Go to **Plugins  Add New  Upload Plugin**.
 3. Upload the ZIP file and click **Install Now**.
 4. Click **Activate**.

Manual install:
 1. Upload the folder to `/wp-content/plugins/menu-item-badges-admin-
fields/` 2. Activate the plugin via **Plugins** in WordPress.

## 常见问题

### Will this affect all menu items?

No. A badge is only shown for menu items where you set a **Badge (Text)**.

### Does it work with my theme?

It works with any theme that uses WordPress’ native menu output (`wp_nav_menu()`),
which is most themes.
 If your theme uses a custom header builder that does not 
use the native walker, the badge may not appear.

### Can I style the badge?

Yes. The badge uses the CSS class `.mib-badge`.
 You can override styling in **Appearance
Customize  Additional CSS**.

Example:
 .mib-badge { font-weight: 700; }

### Can I set custom colors?

Yes, via the **Badge Color** field using a hex value like `#2ecc71` or `#e74c3c`.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Menu Item Badges (Admin Fields)」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ paworldtothemoon ](https://profiles.wordpress.org/paworldtothemoon/)

[帮助将「Menu Item Badges (Admin Fields)」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/menu-item-badges-admin-fields)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/menu-item-badges-admin-fields/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/menu-item-badges-admin-fields/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/menu-item-badges-admin-fields/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/menu-item-badges-admin-fields/)。

## 更新日志

#### 1.0.0

 * Initial release: badge text + optional color per menu item
 * Frontend badge rendering with clean default styling

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**8 月前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **6.9.10**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/menu-item-badges-admin-fields/)
 * 标签
 * [badge](https://cn.wordpress.org/plugins/tags/badge/)[labels](https://cn.wordpress.org/plugins/tags/labels/)
   [marketing](https://cn.wordpress.org/plugins/tags/marketing/)[menu](https://cn.wordpress.org/plugins/tags/menu/)
   [navigation](https://cn.wordpress.org/plugins/tags/navigation/)
 *  [高级视图](https://cn.wordpress.org/plugins/menu-item-badges-admin-fields/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/menu-item-badges-admin-fields/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/menu-item-badges-admin-fields/reviews/)

## 贡献者

 *   [ paworldtothemoon ](https://profiles.wordpress.org/paworldtothemoon/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/menu-item-badges-admin-fields/)