menu

Menu shortcode

Returns menu parsed by bootstrap menu walker.

Attributes

‘name’ (The menu title), default: null ‘container’ , default: ‘div’ ‘container_id’ , default: null

Example

Code

[menu name="Menu 1"]

Source Output

<ul id="menu-menu-2" class="nav navbar-nav"><li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-170 nav-item"><a title="Themes" href="https://www.orcapia.com/drx/themes/" class="nav-link">Themes</a></li>
<li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home current-menu-ancestor current_page_ancestor menu-item-has-children dropdown menu-item-51 nav-item"><a title="DrX" href="https://www.orcapia.com/drx/" class="nav-link">DrX</a>
<ul class="dropdown-menu"  role="menu">
	<li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" class="menu-item menu-item-type-post_type menu-item-object-page current-page-ancestor current-menu-ancestor current-menu-parent current-page-parent current_page_parent current_page_ancestor menu-item-has-children dropdown active menu-item-52 nav-item"><a title="Shortcodes" href="https://www.orcapia.com/drx/shortcode/" class="dropdown-item">Shortcodes</a>
	<ul class="dropdown-menu"  role="menu">
		<li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-53 nav-item"><a title="drx_breadcrumbs (shortcode)" href="https://www.orcapia.com/drx/shortcode/breadcrumbs/" class="dropdown-item">drx_breadcrumbs (shortcode)</a></li>
		<li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-54 nav-item"><a title="featured_image_div (shortcode)" href="https://www.orcapia.com/drx/shortcode/featured_image_div/" class="dropdown-item">featured_image_div (shortcode)</a></li>
		<li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-55 nav-item"><a title="drx_home (shortcode)" href="https://www.orcapia.com/drx/shortcode/home/" class="dropdown-item">drx_home (shortcode)</a></li>
		<li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-56 nav-item"><a title="if else" href="https://www.orcapia.com/drx/shortcode/if-else/" class="dropdown-item">if else</a></li>
		<li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-49 current_page_item active menu-item-57 nav-item"><a title="menu" href="https://www.orcapia.com/drx/shortcode/menu/" class="dropdown-item">menu</a></li>
		<li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-58 nav-item"><a title="drx_raw (shortcode)" href="https://www.orcapia.com/drx/shortcode/raw/" class="dropdown-item">drx_raw (shortcode)</a></li>
		<li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-59 nav-item"><a title="drx_theme_uri (shortcode)" href="https://www.orcapia.com/drx/shortcode/theme_uri/" class="dropdown-item">drx_theme_uri (shortcode)</a></li>
		<li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-60 nav-item"><a title="drx_title (shortcode)" href="https://www.orcapia.com/drx/shortcode/title/" class="dropdown-item">drx_title (shortcode)</a></li>
	</ul>
</li>
	<li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-174 nav-item"><a title="Menu functions" href="https://www.orcapia.com/drx/menu-functions/" class="dropdown-item">Menu functions</a></li>
</ul>
</li>
</ul>

Display Output