Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/mathewcallaghan/bootstrap-navbar/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Wordpress Bootstrap Navbar
Make a Wordpress menu compatible with Bootstrap Navbar
This plugin will add the CSS classes required to display a Wordpress menu as a Bootstrap Navbar. A complete navbar requires Bootstrap 4 and the navbar structure in your theme.
Example
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<?php
wp_nav_menu( array(
'theme_location' => 'your-menu',
'menu_class' => 'navbar-nav mr-auto',
'container' => ''
) );
?>
</nav>
Dividers
A divider can be added to drop down menus by adding a Custom Link with a class of dropdown-divider The URL and Link Text will not be shown in the menu.
Disabled Links
Add the class disabled to the menu link to disable it.