Convert Wordpress nav menu to Twitter Bootstrap style.
WP Bootstrap Menu convert wordpress nav menu style to Twitter Bootstrap [http://twitter.github.com/bootstrap/] navmenu style.
You can join to WP Bootstrap Menu developing [https://github.com/sajjadrad/wp-bootstrap-navmenu] .
Compatible with Bootstrap 2.2.2 and support sub menu.
wp-bootstrap-navmenu.php
to the /wp-content/plugins/wp-bootstrap-navmenu/
directory<?php echo getNavMenu( MENU NAME ); ?>
in your templates to get menu list.Example:
<div class="navbar"> <div class="navbar-inner"> <div class="container"> <ul class="nav"> <?php if (function_exists('getNavMenu')): ?> <?php echo getNavMenu('mainmenu'); ?> <?php endif; ?> </ul> </div> </div> </div>
or:
<div class="navbar"> <div class="navbar-inner"> <div class="container"> <ul class="nav"> <?php if (function_exists('getNavMenu')): ?> <?php echo getNavMenu('mainmenu','hover'); ?> <?php endif; ?> </ul> </div> </div> </div>