Title: twilight39's Replies | WordPress.org

---

# twilight39

  [  ](https://wordpress.org/support/users/twilight39/)

 *   [Profile](https://wordpress.org/support/users/twilight39/)
 *   [Topics Started](https://wordpress.org/support/users/twilight39/topics/)
 *   [Replies Created](https://wordpress.org/support/users/twilight39/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/twilight39/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/twilight39/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/twilight39/engagements/)
 *   [Favorites](https://wordpress.org/support/users/twilight39/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Different Navigation on each page](https://wordpress.org/support/topic/different-navigation-on-each-page/)
 *  [twilight39](https://wordpress.org/support/users/twilight39/)
 * (@twilight39)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/different-navigation-on-each-page/#post-2319867)
 * sorry, i skipped a pretty critical step! also have to add to functions.php to
   make a new function for each alternate navigation you will be using. like this:
 *     ```
       function blogmenu(){
       		if (theme_get_option('general','enable_nav_menu') && has_nav_menu( 'second-menu' ) ) {
       			wp_nav_menu( array(
       				'theme_location' => 'second-menu',
       				'container' => 'nav',
       				'container_id' => 'navigation',
       				'container_class' => 'jqueryslidemenu',
       				'fallback_cb' => '',
       				'walker' => new Theme_Walker_Nav_Menu
       			));
       		}
       	}
       ```
   
 * the header call should look something like:
 *     ```
       if (is_page_template(‘template_blog.php’)){
       echo theme_generator('blogmenu');
       }
       elseif (is_page_template('template_fullwidth.php')){
       echo theme_generator('fullwidthmenu');
       }
       else {
       echo theme_generator('menu');
       }
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Different Navigation on each page](https://wordpress.org/support/topic/different-navigation-on-each-page/)
 *  [twilight39](https://wordpress.org/support/users/twilight39/)
 * (@twilight39)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/different-navigation-on-each-page/#post-2319866)
 * i have a slightly different suggestion for this problem for others who are encountering
   it. i spent 3+ full days trying to figure out how to solve this issue in a million
   complicated ways, but this worked like a charm with almost no editing code.
 * once you have registered the multiple menus and created your page templates needing
   specific navigation, you can modify the call in header.php (if that is where 
   nav is called from) to be conditional based on is_page_template(‘nameyourtemplate.
   php’).
 * my world brightened when i did this. i hope someone else finds it useful.

Viewing 2 replies - 1 through 2 (of 2 total)