Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #18027

    Hi there,

    Love the choices theme. Is it possible to call different menus on different pages?

    My client does three distinct types of work, so once a visitor selects the type, she would like a different menu to appear in the navigation bar.

    I’ve found some suggestions that this is possible in the wordpress forums but I don’t know how to apply it with the avia framework.

    Thank you,



    Maybe you can find an useful plugin here: which allows you to assign different menus to different pages. Choices use a standard wordpress function to call the menu and a plugin which hooks into this function should work without additional/custom code.


    Hey Dude,

    Thanks for the reply. Amazingly, I’ve searched through the plugins and done several google searches and just haven’t found a plugin that does this. Found several that do other menu-type things (such as showing a menu in the page, or widget/menus etc).

    If I am daring to try this customization on my own, can you offer any suggestions of how to start? (I think I read that you’re not accepting any custom work these days, but if you are let me know!)

    For example, would it be wise to create 3 different template pages and call different menus from there?

    Or, I found this bit of conidtional code that I could try but wasn’t sure where to put it:


    if(is_front_page()) :

    $exclude = ‘10,11,12’;

    elseif(is_page(15)) :

    $exclude = ‘1,2,3’;


    wp_list_pages(‘title_li=&depth=1&exclude=’ . $exclude);


    I know this is above and beyond typical theme support but I’d appreciate any nudges in the right direction!!





    You can try to call a different menu via menu ID then create conditional for each. Open header.php and find this code


    Replace it with this code.

    if ( is_page( 'First Page' )) {
    wp_nav_menu( array('menu' => 'Main Menu' ));
    } else if ( is_page( 'Second Page' )) {
    wp_nav_menu( array('menu' => 'Second Menu' ));
    } else if ( is_page( 'Third Page' )) {
    wp_nav_menu( array('menu' => 'Third Menu' ));
    } else {

    You need to go to Appearance > Menus and create the Main Menu, Second Menu, Third Menu. Then create the pages First Page, Second Page and Third Page.

    Visit this links for reference




    Thanks Ismael, I’ll give it a try and report back!



    Alright, let us know how it goes.




    Hi Ismael,

    This works really well and I was able to get three distinct menus to show on three pages. But….

    I looked at the codex for is_page references and tried to work in this idea I saw there: is_page(array(42,’about-me’,’Contact’)); where I put in all the page names of the pages that should show a certain menu.

    But that didn’t work.

    I was able to repeat the ‘else if’ code and it worked. I am willing to do that for each page if necessary. Unless you can suggest an easier method?


    Actually, don’t worry about responding to this – I think it works just fine with repeating the menu choices.

    I now seem to have another issue but I’ll do a search first and then open a support ticket if I can’t resolve it.

    Thanks for the awesome support – it’s a refreshing thing!

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Choices theme – custom menus for navigation?’ is closed to new replies.