Forked from jfitzsimmons2/Wordpress Bootstrap 3 nav.php
Created
September 5, 2016 16:45
-
-
Save alvaromartinezmajado/db932b7d7b2534abc87a21416c5c90dd to your computer and use it in GitHub Desktop.
How to structure your WP <nav> tag using wp_nav_menu to use Bootstrap 3's navbar. Note this is specifically for the "fixed top" version of the navbar (http://getbootstrap.com/components/#navbar-fixed-top). Also only works for single-level navs. If there are sub-menus, additional tweaking is needed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment