Better Menu Widget

Description

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

Screenshots

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

FAQ

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.

Reviews

Read all 4 reviews

Changelog

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.

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Contributors

Browse the code