I'm building a Wordpress theme using Twitter Bootstrap.
I have registered and enqueued the bootstrap .js file (including others) and everything works fine. This is my code:
wp_register_script( 'wp-flat-bootstrap', get_template_directory_uri() . '/js/bootstrap.min.js', array('jquery'), '', true );
However, I have just integrated the Flexslider by WooThemes and I have also registered and enqueued its .js file. This is my code:
wp_register_script( 'flexslider-jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js', '', true );
Whenever, I land on the page where the Flexslider appears the bootstrap .js's file stops working, which has its effect in that the menubar drop down stops working.
Does anybody know how I can use the two scripts together without having this issue?