Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #319789

    Hello. i need to put a diferent menu in index page.
    the rest pages keep default menu. i think this will work:

    <?php

    if ( is_page( ‘index’ ) ) {

    wp_nav_menu( array( ‘menu’ => ‘index menu’ ) );

    } else {

    wp_nav_menu ( array( ‘menu’ => ‘main menu’ ) ); // default menu

    }

    ?>

    but i dont know where to put?

    #319791

    Hey ENPLATER!

    Please try using this plugin – https://wordpress.org/plugins/zen-menu-logic/

    Regards,
    Yigit

    #319802

    Works Thank you. you are FAAAAAAAAAAAAAAASTEST jajaja

    #319804

    Hi!

    You are welcome, glad we could help :)
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘1 diferent menu in index page’ is closed to new replies.