Title: Custom Menu
Author: thiudis
Published: <strong>2011 年 7 月 19 日</strong>
Last modified: 2011 年 12 月 20 日

---

搜索插件

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

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

# Custom Menu

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

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

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

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

## 描述

This plugin allows you to display a custom menu that you’ve created in your theme’s“
Menus” section in a post or page. Use [menu name=”Menu Name”] in your post or page
to insert the custom menu. The “name” attribute is required. Since version 1.2, 
you can now provide a “title” attribute to add a header title to your custom menu(
e.g. [menu name=”Menu Name” title=”My Menu”].)

### Arbitrary section

## 安装

 1. Upload `custom-menu` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place `[menu name="Menu Name"]` in your posts or pages wherever you want the menu
    to display.
 4. Optionally, provide a “title” attribute to add a header title to the custom menu.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.8

 * Fixed a problem where the plugin’s stylesheet was being included for admin pages.

#### 1.7

 * Made changes to be compatible with WordPress version 3.3.

#### 1.6

 * Removed anonymous function for PHP versions below 5.3.

#### 1.5

 * Fixed a bug where the menu was always being placed at the top of the content,
   regardless where the short code was placed.

#### 1.4

 * Fixed a bug where the options page was being added to the admin bar for all users,
   regardless if they had access to it or not.

#### 1.3

 * Added references to the author’s website.
 * Changed the code to be object-oriented.

#### 1.2

 * Majorly simplified the plugin’s code.
 * Requiring a valid menu name and not displaying an output if either the “name”
   attribute isn’t specified or a custom menu with the provided name cannot be found.
 * You can now provide a “title” attribute to add a header title to your custom 
   menu (e.g. [menu name=”Menu Name” title=”My Menu”].)

#### 1.1

 * Changed the plugin to use the name=”Menu Name” attribute instead of just specifying
   the name in the brackets.

## 额外信息

 *  版本 **1.8**
 *  最后更新：**14 年前**
 *  活跃安装数量 **400+**
 *  WordPress 版本 ** 2.0.2 或更高版本 **
 *  已测试的最高版本为 **3.3.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/custom-menu/)
 * 标签
 * [custom menu](https://cn.wordpress.org/plugins/tags/custom-menu/)
 *  [高级视图](https://cn.wordpress.org/plugins/custom-menu/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

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

## 支持

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

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

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.evolonix.com/donate/)