• Hi all, I’m working on converting a bootstrap theme to wordpress. (Not sure if this is the right section for this).

    However, I hit a roadblock. Here’s my site at https://test.minpoops.com/wp/. The hamburger nav that appears in smaller screens doesn’t work ?? It only shows the triggered state but not the links that are supposed to appear. The javascript seems to be loading fine.

    Not sure what’s the issue here. Isn’t jquery already included with wp? Here’s my code on github : https://github.com/minminimal/bootstrap-to-wp. Would really appreciate some help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You don’t currently include bootstrap.js.

    Paste this into the footer of your site.

    <!-- Latest compiled and minified JavaScript -->
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
    Thread Starter minpoops

    (@minpoops)

    Oh. Yeah. You’re right, it isn’t included in the theme.
    But IDK why it isn’t showing?

    I’m using the wp_footer function before my ending body tag in my footer.php file.
    Have already enqueued the bootstrap js file in my functions.php.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bootstrap to WP : Navbar Toggle Doesn't Work’ is closed to new replies.