Opened 18 months ago

Closed 18 months ago

Last modified 18 months ago

#19511 closed enhancement (invalid)

Adding an "hide_empty" parameter on wp_nav_menu() function

Reported by: prionkor Owned by:
Priority: normal Milestone:
Component: General Version:
Severity: normal Keywords:
Cc:

Description

There should be a hide empty parameter on wp_nav_menu() function argument as there is no point to echo a empty menu item.

  1. The node with submenu should be skipped.
  2. May be false by default.
  3. There will be a check box on side of the menu (check attached image)

http://i.imgur.com/vATKW.jpg

  1. The "hide_empty" parameter will be overwrite by that checkbox. That means the user choice will have more priority then theme developers choice.

Change History (2)

  • Resolution set to invalid
  • Status changed from new to closed

The checkbox will apply on taxonomy.

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.