WP_Bootstrap_Navwalker for bootstrap 4

Hi guys,
I am wondering if there is version of WP_Bootstrap_Navwalker work with bootstrap 4 navbar

I have one here that does me ok.

Have been using this one on a few sites that are now live. Works really well.


A slight aside, but I’m using an add_filter( 'wp_nav_menu_items'... to add some custom menu items and also using the dupkey/bs4navwalker code. The problem I’ve got is that the custom menu items are appearing completely outside the div/ul of the original menu.

Not sure if this is due to the walker having run before the wp_nav_menu_items filter or something?

<div class="ml-auto">
  <ul id="menu-primary-navigation" class="navbar-nav mr-auto">
    <li id="menu-item-18" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-18 nav-item"><a href="http://test.com/locations/" class="nav-link">Locations</a></li>
    <li id="menu-item-257" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-257 nav-item"><a href="http://test.com/about/" class="nav-link">About</a></li>

Any help would be much appreciated.

I admit, I’m not real savvy with this code, and could use a little guidance.
I implemented the bs4navwalker code to my Wordpress site, and it displayed the GitHub page where I got the code from. I don’t know what I did wrong, if anything. I opened the file in Dreamweaver and it displayed errors in the code (even though I didn’t see anything wrong) Any idea what I did wrong and need to do?