I am currently developing a new WordPress theme employed on the basis of twitters bootstrap build.
To use the menu Custom Navbar, I've followed the instructions of goodandorgreat.
https://gist.github.com/1597994
My problem now is that menu items with submenus are also clickable.
That should not be so. What could I do here?
header.php Setup:
<div class="navbar">
<div class="navbar-inner">
<div class="container">
<!-- Optional: Button zum Menü einklappen auf Mobilgeräten, benötigt responsive.css -->
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<!-- Ende Button -->
<div class="nav-collapse">
<?php
$args = array(
'theme_location' => 'top-bar',
'menu' => 'main-menu',
'container_class' => 'nav-collapse',
'menu_class' => 'nav',
'menu_id' => 'main-menu',
'walker' => new Bootstrap_Walker_Nav_Menu()
);
wp_nav_menu($args);
?>
</div>
</div>
</div>
I dont want handle that with entrie url's like "#".