I’d like to create a sidebar nav, and use a different nav.php that doesn’t have bootstrap styling, just plain vanilla. Does anyone know how I can create a conditional for that?
For instance… I’m trying to use this plugin:
and it’s picking up all the styling from my top nav.
try adding adding the menu as a widget, you can conditionally add it on what ever pages you want through lib/config.php. You can find more information about how to do this by looking through the forum.
So create your new navbar and when you want to insert it you can use wp_nav_menu() as in the above example, but change the menu_class value to a class that does not have any Bootstrap CSS declarations, something like nav-custom.