How to build Bootstrap’s Auto Dropdown menu in WordPress

Using wp-bootstrap-navwalker class Download from this link Download Installation Place wp-bootstrap-navwalker.php in your WordPress theme folder /wp-content/your-theme/ Open your WordPress themes functions.php file /wp-content/your-theme/functions.php and add the following code: // Register New Custom Navigation Walker require_once('wp-bootstrap-navwalker.php'); Usage Update your wp_nav_menu() function in header.php to use the new walker by adding…