WordPress.org

Ready to get started?Download WordPress

Forums

WP Bootstrap Menu
[resolved] Sub menu are not displayed (11 posts)

  1. Mike Castro Demaria
    Member
    Posted 1 year ago #

    Thaks for this useful plugin,

    I'm working on a boostrap based theme. And I try to use your plugin, but when I set sub-menu in WP, they are not display as sub element (noting display in fact). There is a setting to display sub-menu ?

    Thanks,
    Mike

    http://wordpress.org/extend/plugins/wp-bootstrap-navmenu/

  2. Mike Castro Demaria
    Member
    Posted 1 year ago #

    In fact it work on sub menu with a # as link, but not if the submenu have a content's page.

  3. sajjadrad
    Member
    Plugin Author

    Posted 1 year ago #

    I used this style for dropdown and submenu:

    <ul class="nav">
    	<li>
    		<a href="#">Home</a>
    	</li>
    	<li class="dropdown">
    		<a class="dropdown-toggle" href="#" data-toggle="dropdown">
    			Export
    			<b class="caret"></b>
    		</a>
    	<ul class="dropdown-menu">
    		<li class="dropdown-submenu">
    			<a href="#">Cement</a>
    				<ul class="dropdown-menu sub-menu">
    					<li>
    						<a href="#">Cement #1</a>
    					</li>
    				</ul>
    		</li>
    	</ul>
    </ul>
  4. RustyBadRobot
    Member
    Posted 1 year ago #

    Useful plug-in! I have the same problem with the dropdowns only appearing if you add in a # as the link. Also the current_page_item class would be useful to be added back in.

  5. RustyBadRobot
    Member
    Posted 1 year ago #

    Reaslised that I needed to use Custom Links :)

    Still be good if you could include the current_page_item class, anyone know how to do this?

  6. sajjadrad
    Member
    Plugin Author

    Posted 1 year ago #

    I guess you want to show drop down menu when pointer is hover parent link,Is it true?
    Because bootstrap is set to hover,I had to set # as link.
    I will update plugin for hover or click option.

  7. sajjadrad
    Member
    Plugin Author

    Posted 1 year ago #

    You can download 1.1.0 version and set option to 'hover' when you calling getNavMenu function.
    example:

    <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; ?>

    </div>
    </div>
    </div>

  8. squelchy
    Member
    Posted 1 year ago #

    Im using WordPress 3.5.1. and the subnav is not being out-put to the page. Do dropdowns not work on this version? Is there any fix?

  9. sajjadrad
    Member
    Plugin Author

    Posted 1 year ago #

    No,What is you bootstrap version?

  10. squelchy
    Member
    Posted 1 year ago #

    [Bootstrap v2.3.1]

  11. chezshire
    Member
    Posted 1 year ago #

    As others have said, I too will echo that I think that this is a useful plugin.

    I am having a problem with the drop down menus, mine aren't displaying (I have the base line pages, but if i hover over my services selection or Gallery (Blog), etc the submenus do not display.

    I'd very much appreciate it if you could help me. Once i get them working, I'll write a review of my expereinces and I'm hoping to say many super awesome things as this is a great plugin.

    My site url is: http://scc.maxworks.org/_classes/_298wp/wp_portraitStudios/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic