Title: Better Menu Widget
Author: Tracey Holinka
Published: <strong>2013 年 3 月 7 日</strong>
Last modified: 2019 年 2 月 9 日

---

搜索插件

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

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

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

# Better Menu Widget

 作者：[Tracey Holinka](https://profiles.wordpress.org/traceyholinka/)

[下载](https://downloads.wordpress.org/plugin/better-menu-widget.1.5.1.zip)

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

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

## 描述

**This plugin is no longer under active development.** With all the improvements
to WordPress the need for this plugin has long passed. It will still work but no
improvements will be made.

A Custom Menu widget that adds a custom url to the widget title and adds a custom
css class. The default custom menu CSS class is `sub-menu` and it is applied to 
the `<ul>` tag. You will need to style the widget using your theme’s stylesheet.

Based on the core WordPress Custom Menu widget.

#### 操作

 * Custom title URL
 * Custom CSS class

#### Plugin’s Official Site

 * [Overview](https://wordpress.org/plugins/better-menu-widget/)
 * [Changelog](https://github.com/TraceyHolinka/better-menu-widget/blob/master/changelog.md)

## 屏幕截图

 * [[
 * Default widget settings
 * [[
 * Example widget settings
 * [[
 * Front-end view of Better Custom Menu widget

## 安装

#### Option 1- Automatic Install

 1. Use the built-in plugin installer in your WordPress installation
 2. Search for “Better Menu Widget”
 3. Click “Install Now”
 4. Plugin will automatically install

#### Option 2- Manual Install

 1. Download the plugin file to your hard drive
 2. Go to the Plugins management page and Upload ‘better-menu-widget.zip’
 3. Activate the plugin

#### Option 3- Manual Install

 1. Download the plugin file to your hard drive
 2. Unzip better-menu-widget.zip
 3. Place the folder ‘better-menu-widget’ into your plugins directory /wp-content/plugins
    via ftp
 4. Go to the Plugins management page and Activate the plugin

## 常见问题

  How do I style a Better Menu Widget?

You can style a Better Menu Widget by adding the default menu class `sub-menu` to
your theme’s style sheet. If you’ve changed the menu class in the widget options,
then you would use the new class name you created.

## 评价

![](https://secure.gravatar.com/avatar/a8bb5d187fad4902c9a2527c626206848231224164595c8115c22b3446d78d82?
s=60&d=retro&r=g)

### 󠀁[Working very well](https://wordpress.org/support/topic/working-very-well-13/)󠁿

 [Richard Leishman](https://profiles.wordpress.org/webfwd/) 2017 年 2 月 7 日

Working very well, thank you.

![](https://secure.gravatar.com/avatar/76d8a75b1676b3c7cbb370b20b0afb6e36dfba69439098317fe9e8a5f749ddb7?
s=60&d=retro&r=g)

### 󠀁[Бесполезный плагин](https://wordpress.org/support/topic/%d0%b1%d0%b5%d1%81%d0%bf%d0%be%d0%bb%d0%b5%d0%b7%d0%bd%d1%8b%d0%b9-%d0%bf%d0%bb%d0%b0%d0%b3%d0%b8%d0%bd/)󠁿

 [mover](https://profiles.wordpress.org/mover/) 2017 年 2 月 8 日

На вид меню такое же, как стандартное.

 [ 阅读所有5条评价 ](https://wordpress.org/support/plugin/better-menu-widget/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Tracey Holinka ](https://profiles.wordpress.org/traceyholinka/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.5.1

Update site urls.

#### 1.5

Added ability for multiple CSS classes. Thanks to [Joe Buckle](https://wordpress.org/support/profile/bambattajb).

#### 1.4.1

Change constructor style to PHP5.

Improve code comments.

Tested against WordPress 4.2.2.

#### 1.4

Security enhancements. Allow only valid characters for html class.

Update plugin URL.

**Reminder: always backup your site before you update any plugin.**

#### 1.3

Security enhancements.

#### 1.2

Internationalize plugin.

Added developer credits.

#### 1.1

**Important Change! Read before you update.**

The widget class was changed from “menu-widget” to “better-menu-widget” to avoid
class name conflicts. This will cause any widgets you have to disappear so you’ll
need to add them again. You may also need to update your style sheets.

#### 1.0

Initial public release.

## 额外信息

 *  版本 **1.5.1**
 *  最后更新：**7 年前**
 *  活跃安装数量 **600+**
 *  WordPress 版本 ** 4.5 或更高版本 **
 *  已测试的最高版本为 **4.9.29**
 *  语言
 * [English (US)](https://wordpress.org/plugins/better-menu-widget/)
 * 标签
 * [menus](https://cn.wordpress.org/plugins/tags/menus/)[navigation](https://cn.wordpress.org/plugins/tags/navigation/)
   [widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/better-menu-widget/advanced/)

## 评级

 4.2 星（最高 5 星）。

 *  [  4 条 5 星评价     ](https://wordpress.org/support/plugin/better-menu-widget/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/better-menu-widget/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/better-menu-widget/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/better-menu-widget/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/better-menu-widget/reviews/?filter=1)

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

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

## 贡献者

 *   [ Tracey Holinka ](https://profiles.wordpress.org/traceyholinka/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7TQVKUXW68UHQ)