這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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.

Options

  • Custom title URL
  • Custom CSS class

Plugin’s Official Site

螢幕截圖

  • 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.

評價

閱讀全部5個評價

貢獻者及開發者

“Better Menu Widget” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Better Menu Widget 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.5.1

Update site urls.

1.5

Added ability for multiple CSS classes. Thanks to Joe Buckle.

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.