responsive_II_fallback_menu

Set a fallback menu that will show a home link.

Description

responsive_II_fallback_menu(); 

Usage

  1. if ( !function_exists( 'responsive_II_fallback_menu' ) ) { 
  2. require_once '/includes/functions-menu.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = responsive_II_fallback_menu(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/functions-menu.php  
  1. function responsive_II_fallback_menu() { 
  2. $args = array( 
  3. 'depth' => 0,  
  4. 'sort_column' => 'menu_order, post_title',  
  5. 'menu_class' => 'main-nav',  
  6. 'include' => '',  
  7. 'exclude' => '',  
  8. 'echo' => false,  
  9. 'show_home' => true,  
  10. 'link_before' => '',  
  11. 'link_after' => '' 
  12. ); 
  13. $pages = wp_page_menu( $args ); 
  14. $output = $pages; 
  15. echo $output;