Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (has_nav_menu('top-menu', 'responsive')) { ?>
- <?php if ( is_user_logged_in() ) {
- wp_nav_menu(array(
- 'container' => '',
- 'fallback_cb' => false,
- 'menu_class' => 'top-menu',
- 'theme_location' => 'top-menu-logged-in')
- );
- } else {
- wp_nav_menu(array(
- 'container' => '',
- 'fallback_cb' => false,
- 'menu_class' => 'top-menu',
- 'theme_location' => 'top-menu')
- );
- }
- ?>
- <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement