Skip to content

Instantly share code, notes, and snippets.

@AlexL-JWA

AlexL-JWA/menu php

Created Mar 22, 2019
Embed
What would you like to do?
WP Вывод menu
wp_nav_menu( [
'theme_location' => 'primary',
'menu' => 'Menu',
'container' => '',
'container_class' => '',
'container_id' => '',
'menu_class' => 'menu',
'menu_id' => '',
'echo' => true,
'fallback_cb' => 'wp_page_menu',
'before' => '',
'after' => '',
'link_before' => '',
'link_after' => '',
'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>',
'depth' => 0,
'walker' => '',
] );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.