-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu-topleft.php
21 lines (17 loc) · 994 Bytes
/
menu-topleft.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php if ( has_nav_menu( 'top-left' ) ) {
do_action( 'uplifted_before_top_left_menu' );
wp_nav_menu(array(
'theme_location' => 'top-left',
'container' => false, // remove nav container
'container_class' => 'menu', // class of container
'menu_class' => 'top-bar-menu left', // adding custom nav class
'before' => '', // before each link <a>
'after' => '', // after each link </a>
'link_before' => '', // before each link text
'link_after' => '', // after each link text
'depth' => 5, // limit the depth of the nav
'fallback_cb' => false, // fallback function (see below)
'walker' => new top_bar_walker()
));
do_action( 'uplifted_after_top_left_menu' );
} ?>