WP Bootstrap Menu: Make WordPress Navigation Menu Twitter’s Bootstrap Style

Twitter Bootstrap is getting more and more popular in blogging world. WordPress plugin’s repository has a new plugin called WP Bootstrap Menu, with this new plugin you can give your WordPress navigation menus a Twitter’s Bootstrap style.

Install and activate WP Bootstrap Menu. Style your Bootstrap navigation menus. You can create new menus using default WordPress menus feature (Dashboard -> Appearance -> Menus). Now you have place  following code in your templates to make menus appear:

<?php echo getNavMenu( MENU NAME ); ?>

For Example:

<code>
<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>
</code>

You can join to WP Bootstrap Menu development at Github.com

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.