Fatal error: Class 'wp_boodtstrap_navwalker' not found in C:\xampp\htdocs\....\header.php on line 30

Hello Everyone

Please i start to add a new navwalker bootstrap in wordpress , im added all Function , but the result display a Error “Fatal error: Class ‘wp_bootstrap_navwalker’ not found in C:\xampp\htdocs\learn\wp-content\themes\learn\header.php on line 30”


<?php require_once('wp_bootstrap_navwalker.php'); function wpb_theme_setup(){ register_nav_menus( array( 'primary' => __( 'Primary Menu') )); } add_action('after_setup_theme' , 'wpb_theme_setup'); **header.php** <?php wp_nav_menu( array( 'menu' => 'primary', 'theme_location' => 'primary', 'depth' => 2, 'container' => 'div', 'container_class' => 'collapse navbar-collapse', 'container_id' => 'bs-example-navbar-collapse-1', 'menu_class' => 'nav navbar-nav', 'fallback_cb' => 'wp_bootstrap_navwalker::fallback', 'walker' => new wp_bootstrap_navwalker()) ); ?>

@nassimtd Did you follow the instructions at the following web address?