Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Anybody familiar with navwalker and wordpress?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #186005
    John
    Participant

    I having some problems with the sub menus not showing on hover and also you can’t click the main link. I’ve added require_once(‘wp_bootstrap_navwalker.php’); to the functions.php and do have the required file in my theme folder.
    This is the code I have for my navigation, which works fine without the navwalker, besides no carots.

    
            <?php
              $args = array(
                'menu'       => 'main-menu',
                'menu_class' => 'nav navbar-nav',
                'container'  => 'false',
                'walker'            => new wp_bootstrap_navwalker()
              );
                wp_nav_menu( $args );
            ?>
      

    I went here for the navwalker: https://github.com/twittem/wp-bootstrap-navwalker

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.