Registering and displaying custom menu in WordPress

add to your function.php file the following code : // my custom menu function mymenu_get_menu_items($menu_name){ if ( ( $locations = get_nav_menu_locations() ) && isset( $locations[ $menu_name ] ) ) { $menu = wp_get_nav_menu_object( $locations[ $menu_name ] );...