该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Show Menu Shortcode

描述

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.

安装

  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”

评价

此插件暂无评价。

贡献者及开发者

「Show Menu Shortcode」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • First release.