Advertisement
wclendining

cardinal-nav.php with menu

Jun 21st, 2015
403
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  1. <!-- begin  Cardinal Navigation -->
  2. <?php
  3. if ( has_nav_menu( 'header-menu' ) ) {
  4.      wp_nav_menu( array( 'theme_location' => 'header-menu' ) );
  5. }
  6. else {
  7.    wp_list_pages('title_li=&depth=1');
  8. }
  9. ?>
  10. <!-- end Cardinal Navigation -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement