跳到内容

Show Menu Shortcode

v1.0

bobmatnyc · 2011年5月6日 上架

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

正在使用
500+
评分
暂无
累计下载
1.2 万
最近更新
2011年5月6日
需要 WordPress 3.1+已测试到 3.2.1

贡献者

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums