1
2
3
4
5
6
7
8
9
10
11
<nav class="ps-default" id="menu">
	<ul>
		<?php 
			if ( is_user_logged_in() ) {
				wp_nav_menu( array( 'sort_column' => 'menu_order', 'container' => false, 'items_wrap' => '%3$s', 'walker' => new clean_walker(), 'theme_location' => 'loggedin', 'fallback_cb' => 'default_menu')); 
			} else {
				wp_nav_menu( array( 'sort_column' => 'menu_order', 'container' => false, 'items_wrap' => '%3$s', 'walker' => new clean_walker(), 'theme_location' => 'primary', 'fallback_cb' => 'default_menu')); 
			}
		?>
	</ul>
</nav>