Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Better Menu Widget

Beskrivning

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

Skärmdumpar

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

Installation

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

Vanliga frågor

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.

Recensioner

Läs alla 5 betyg

Bidragsgivare och utvecklare

”Better Menu Widget” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Better Menu Widget” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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.