Comments (8)
Greetings @cyarema,
This is an interesting one as I can't say I have seen that before.
My first instinct was that there is a plugin conflict as I see by viewing the source there are two different versions jQuery loading, but after looking at the HTML it seems that the walker is not outputting the menu items at all. Very odd indeed.
Could you let me know:
- The version number of the walker in use
- Your version of wordpress
Also, could you share the code of the file your menu is declared in (usually header.php)
from wp-bootstrap-navwalker.
WP 3.6.1 // Jquery 1.10.1 (declared in footer) // Walker: Version: 2.0.4
Menu Code:
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<?php
wp_nav_menu( array(
'menu' => 'primary',
'theme_location' => 'primary',
'depth' => 2,
'container' => 'div',
'container_class' => 'collapse navbar-collapse navbar-ex1-collapse',
'menu_class' => 'nav navbar-nav',
'fallback_cb' => 'wp_bootstrap_navwalker::fallback',
'walker' => new wp_bootstrap_navwalker())
);
?>
</div>
</nav>
I thought it was weird only working when logged into WP
from wp-bootstrap-navwalker.
Remove the jQuery in the Footer!
Already have WordPress jQuery on head.
from wp-bootstrap-navwalker.
Nope that didn't do it . Thought it would be that easy.
from wp-bootstrap-navwalker.
It's easier if you fix your site!
Already have jQuery of the WordPress in the head.
If you leave this jQuery in the footer will break with other plugins and many other things.
Simple as that.
You're breaking everything!
from wp-bootstrap-navwalker.
Ahh important detail there!
You are using WooCommerce.
And the menus "Change Password", "View Order" and "Edit My Address" works only logged!!!
Learn how to use WordPress and WooCommerce would be cool.
Then of course to fix jQuery in your Footer!
from wp-bootstrap-navwalker.
You are so right. Sorry, I hadn't made any real pages yet and was just working out bootstrap >> wordpress kinks.
from wp-bootstrap-navwalker.
Haha, as a WooCommerce user myself I should have caught that! Thanks @claudiosmweb!
from wp-bootstrap-navwalker.
Related Issues (20)
- Useless PHP unit tests for multisites?
- Third Level menu works, but it needs toggle icon in mobile to avoid hover problem
- Navwalker dropdown doesn't remain open on click HOT 5
- How to add an additional first item to all dropdown without using wordpress menu management. HOT 7
- Grant repo access to IanDelMar HOT 3
- Skipping data-toggle attribute and dropdown-toggle class (for mobile and tablet viewports) HOT 3
- Bootstrap 5 - How to make parent dropdown links clickable instead of # HOT 2
- Duplicate / Repeat parent menu item as first item in child menu HOT 4
- Menu button disappears when clicked HOT 8
- Active Class Font Color Not Working HOT 3
- WP Bootstrap Nav walker disappeared after reloading template HOT 3
- How to Display sub items if the Menu first level is Category selected?
- Dropdown is not working HOT 39
- How can I modify the closing li tag HOT 1
- Warning: Array to string conversion on line 149 in PHP 8.2
- Dropdown exit Animation HOT 1
- Link with dropdown associated to a page contains no URL but a #. HOT 1
- Mobile menu nog showing HOT 1
- add search form and place hamburger icon on the right HOT 5
- Future?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-bootstrap-navwalker.