Add custom menus to wordpress:
1. ADD this code to functions.php
——————————–
register_nav_menus(
array(‘topic1’ => __( ‘Main Menu’, ‘TOPIC_1’ ),)
);
register_nav_menus(
array(‘topic2’ => __( ‘Footer Menu’, ‘TOPIC_2’ ),)
);
2. wp admin -> appearance -> mens.
create menu name and select theme location.
3. Add this to where you want:
—————————-
<?php wp_nav_menu( array( ‘container_id’ => ‘none’, ‘container_class’ => ‘none’, ‘menu_class’ => ‘none’, ‘menu_id’ => ‘none’, ‘theme_location’ => ‘topic1’ ) ); ?>
<?php wp_nav_menu( array( ‘container_id’ => ‘none’, ‘container_class’ => ‘none’, ‘menu_class’ => ‘none’, ‘menu_id’ => ‘none’, ‘theme_location’ => ‘topic2’ ) ); ?>