Title: Menu Helper
Author: SimonaIlie
Published: <strong>2013 年 5 月 29 日</strong>
Last modified: 2013 年 5 月 30 日

---

搜索插件

![](https://ps.w.org/menu-helper/assets/banner-772x250.png?rev=719688)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/menu-helper_571010.svg)

# Menu Helper

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

[下载](https://downloads.wordpress.org/plugin/menu-helper.1.1.zip)

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

 [支持](https://wordpress.org/support/plugin/menu-helper/)

## 描述

Menu Helper can be used in 2 forms: as short code ( as described in section A) or,
for more advanced programmatic use, as function which returns an array (as described
in section B). For both usage styles the options are the same. You will find a detailed
description with examples in Settings -> Menu Helper Info after the plugin’s activation.

 1.  **submenu_slug** – Allows to define a custom id for the submenu element
 2.  **parent_id** – If not null, will provide the children of the parent_id option.
     If set to 0 will get level 1 items (and their children, if submenu_depth set to
     a number greater than 1)
 3.  **menu_id** – If integer, will be used the menu ID, otherwise will be the menu’s
     slug/name. If not defined the plugin will check if the parent_id is used in any
     menu definition and pick the first it finds
 4.  **include_parent** – If set to true will include the parent element
 5.  **container_tag** – Allows to set the tag element of the containers
 6.  **container_class** – Allows to define a custom CSS class for container element.
     Can contain more class names separated by space
 7.  **item_tag** – Allows to set the tag element for menu items
 8.  **item_class** – Allows to define a custom CSS class for each submenu item
 9.  **first_item_class** – Allows to define a custom CSS class for first item in submenu.
     If submenu_depth is set to greater than 1 the class will repeat on each level
 10. **strict_first_item_class** – Allows to define a custom CSS class only for the
     very first item in submenu
 11. **last_item_class** – Allows to define a custom CSS class for last item in submenu.
     If submenu_depth is set to greater than 1 the class will repeat on each level
 12. **submenu_depth** – If set to a number greater than 1 the call will show in depth
     children. To get full submenu depth set this parameter to -1
 13. **theme_location** – The plugin will use the menu associated to the value of the
     theme_location

For older WordPress versions or any issue you can email me at simonailie@gmail.com

## 安装

 1. Upload `menu-helper.zip` content to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 评价

此插件暂无评价。

## 贡献者及开发者

「Menu Helper」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Menu Helper」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/menu-helper)

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **1.1**
 *  最后更新：**13 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.5 或更高版本 **
 *  已测试的最高版本为 **3.5.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/menu-helper/)
 * 标签
 * [menu](https://cn.wordpress.org/plugins/tags/menu/)[navigation](https://cn.wordpress.org/plugins/tags/navigation/)
   [submenus](https://cn.wordpress.org/plugins/tags/submenus/)
 *  [高级视图](https://cn.wordpress.org/plugins/menu-helper/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/menu-helper/reviews/#new-post)

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

## 贡献者

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

## 支持

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

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