• I want to build multilanguage website, French and English. My front page is English. There are two menus for two languages. But, only the English menu comes with the pages in every time. I want to the French menu comes when I open French website.

    function register_my_menus() {
    register_nav_menu( ‘one’, __( ‘Menu1’) );
    register_nav_menu( ‘two’, __( ‘Menu2’ ) );
    }
    add_action( ‘init’, ‘register_my_menus’ );

    I wrote this code in functions.php and I registered the menus. Now, What should I do?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘different menus for different pages’ is closed to new replies.