Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if(function_exists('wp_nav_menu')) : // Checks if this version of WP supports menus ?>
- <?php wp_nav_menu(
- array(
- 'theme_location' => 'member_nav', // Link this menu to a registered location
- 'container' => 'div', // specify div as container wrapper
- 'container_id' => 'member_login', // ID for container wrapper div
- 'menu_class' => 'mmbr_log', // class on UL
- 'fallback_cb' => 'false', // Falls back to no menu when nothing specified in dashboard
- 'depth' => 0 //How many levels of the hierarchy are included
- ));
- ?>
- <?php else: ?>
- </ul>
- <div class="mmbr_log">
- <ul>
- <?php wp_list_pages('title_li=&depth=0'); ?>
- </ul>
- </div>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement