Boostrap3 drop down toggle not working (1 post)

  1. designerwarrington
    Posted 2 years ago #

    I've built a test site based using bootstrap3 - however the toggle doesn't work and I can't find any errors the JS script is installed correctly and I've added the code to the functions file linking to the WP_nav_walker file available on GitHub.

    the header file code is:
    wp_nav_menu( array(
    'menu' => 'primary',
    'theme_location' => 'primary',
    'depth' => 2,
    'container' => 'div',
    'container_class' => 'collapse navbar-collapse navbar-ex1-collapse',
    'menu_class' => 'nav navbar-nav',
    'fallback_cb' => 'wp_bootstrap_navwalker::fallback',
    'walker' => new wp_bootstrap_navwalker())

    and I've added this to the functions doc:
    // Register Custom Navigation Walker
    add_action( 'init', 'register_my_menu' );

    conecting to wp_bootstrap_navwalker.php

    any help or advice greatly appreciated - I've been trying to fiz this issue for 3 hours site link here: http://creative-media.info/WarringtonBonsai/


Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by designerwarrington
  • This topic is not resolved
  • WordPress version: 3.8.1