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?
Hey ENPLATER!
Please try using this plugin – https://wordpress.org/plugins/zen-menu-logic/
Regards,
Yigit
Works Thank you. you are FAAAAAAAAAAAAAAASTEST jajaja
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