Show Menu Shortcode

Provides a [show-menu] shortcode for displaying a menu within a post or page.

By bobmatnyc

Version 1.0 Active Installs 400+ Updated 15 years ago 14 years old

Description

Provides a [show-menu] shortcodes for displaying a menu within a post or page. The shortcode accepts most parameters that you can pass to the wp_nav_menu() function. For example, to show a menu add [show-menu menu=”Main-menu”] in the page body.

Usage

Show a menu

[show-menu menu="Main Menu"]

Please Note

The default values are the same as for the wp_nav_menu(). ‘theme-location’ and ‘walker’ are not supported as they can not be used within the shortcode.

Plugin comparisons

See how this plugin stacks up against alternatives side by side.