Title: Customizr Theme Menu code
Last modified: August 21, 2016

---

# Customizr Theme Menu code

 *  [PleaseHelpMePlease](https://wordpress.org/support/users/pleasehelpmeplease/)
 * (@pleasehelpmeplease)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/customizr-theme-menu-code/)
 * Hello!
 * I am trying to customize my menu so that once someone logs into my site, they
   will see a different menu. To do so, I am required to change the block of code
   in the theme that is displaying the navigation menu. Generally the navigation
   menu code resides in the “header.php” template file of a theme. For example, 
   some themes code may look like
 * > <?php wp_nav_menu( array( ‘theme_location’ => ‘primary’ ) ); ?>
 * But in the Customizr theme the code containing the menu call in the header looks
   like
 * > <?php
   >  //the ‘__header’ hook is used by (ordered by priorities) : TC_header_main::
   > $instance->tc_logo_title_display(), TC_header_main::$instance->tc_tagline_display(),
   > TC_header_main::$instance->**tc_navbar_display()** do_action( ‘__header’ );?
   > >
 * Modifying that code is not working for me under the directions I have.
 * I need to know if anyone has any idea of some other menu code in a different 
   file that I could edit to achieve this customization I am looking to achieve.
 * My website is [http://thedriverhub.com](http://thedriverhub.com)
 * Thanks in advance for any help!

Viewing 1 replies (of 1 total)

 *  Thread Starter [PleaseHelpMePlease](https://wordpress.org/support/users/pleasehelpmeplease/)
 * (@pleasehelpmeplease)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/customizr-theme-menu-code/#post-4479665)
 * By the way, if a theme did have a menu code that looked like
 * > <?php wp_nav_menu( array( ‘theme_location’ => ‘primary’ ) ); ?>
 * Then the change I would need to make is
 * > <?php
   >  if ( wp_emember_is_member_logged_in() ) { wp_nav_menu( array( ‘menu’
   > => ‘logged-in-members’ ) ); } else { wp_nav_menu( array( ‘menu’ => ‘normal-
   > visitor-menu’ ) ); } ?>
 * Not sure if that will help anyone assist on this question.

Viewing 1 replies (of 1 total)

The topic ‘Customizr Theme Menu code’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [PleaseHelpMePlease](https://wordpress.org/support/users/pleasehelpmeplease/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/customizr-theme-menu-code/#post-4479665)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
