Show Menu Shortcode

May 06, 2011

Show Menu Shortcode Plugin

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

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.

Installation

  1. Download and unzip the most recent version of this plugin
  2. Upload the show-menu-shortcode folder to /path-to-wordpress/wp-content/plugins/
  3. Login to your WP Admin panel, click Plugins, and activate “Show Menu Shortcode”

Changelog

1.0

  • First release.

Details

  • Version: 1.0
  • Active installations: 500
  • WordPress Version: 3.1
  • Tested up to: 3.2.1

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars