Nid yw’r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

Better Menu Widget

Disgrifiad

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.

Dewisiadau

  • Custom title URL
  • Custom CSS class

Plugin’s Official Site

Lluniau Sgrin

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

Gosod

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

Cwestiynau Cyffredin

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.

Adolygiadau

Read all 5 reviews

Contributors & Developers

“Better Menu Widget” is open source software. The following people have contributed to this plugin.

Cyfranwyr

Translate “Better Menu Widget” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Cofnod Newid

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.