'primary', 'theme_location' => 'primary', 'depth' => 2, 'container' => 'div', 'container_class' => 'collapse navbar-collapse navbar-ex1-collapse main-nav', 'menu_class' => 'nav pet-care-clinic-nav', 'fallback_cb' => 'wp_bootstrap_navwalker::fallback', 'walker' => new wp_bootstrap_navwalker() )); } /* Main menu end*/ /** * footer menu navigation */ function pet_care_clinic_footer_links() { // display the WordPress Custom Menu if available wp_nav_menu(array( 'container' => '', // remove nav container 'container_class' => 'footer-links clearfix', // class of container 'menu' => __( 'Footer Links', 'pet-care-clinic' ), // nav name 'menu_class' => 'nav footer-nav clearfix', // adding custom nav class 'theme_location' => 'footer-links', // where it's located in the theme 'before' => '', // before the menu 'after' => '', // after the menu 'link_before' => '', // before each link 'link_after' => '', // after each link 'depth' => 0, // limit the depth of the nav 'fallback_cb' => 'pet_care_clinic_footer_links_fallback' // fallback function )); } /* pet-care-clinic footer link end */