wp-bootstrap-navwalker icon indicating copy to clipboard operation
wp-bootstrap-navwalker copied to clipboard

wp-bootstrap-navwalker dropdowns NOT working.

Open AngeloAlves opened this issue 12 years ago • 16 comments

I installed the required code into the respective files and updated the "wp-bs-nw.php" file to the "theme" directory.

http://www.auxilliumit.com

I started setting up menus in wordpress. When I went to test them I got no "About .> Services" sublink

I have tried everything including a dozen other plugins. Thought the dropdown isn't working this resource at least actually works with the wordpress custom menus

Please help, on a deadline and freaking out LOL

AngeloAlves avatar Feb 20 '14 03:02 AngeloAlves

No problem. 99.9% of the time this is due to the JavaScript files not being loaded into the theme correctly. If you take a look at the solved issues there are 3 or 4 copies of the same issue that have been solved. I am currently at a hockey game but I will gladly help you out when I return.

SideQuestDIY avatar Feb 20 '14 03:02 SideQuestDIY

Hey Edward,

Look forward to hearing from you soon.

I’m aiming to launch the business for spring. WP/BS Collaboration are new to me.

Thanks,

-Angelo

From: Edward McIntyre [mailto:[email protected]] Sent: February-19-14 10:54 PM To: twittem/wp-bootstrap-navwalker Cc: Angelo Alves Subject: Re: [wp-bootstrap-navwalker] wp-bootstrap-navwalker dropdowns NOT working. (#76)

No problem. 99.9% of the time this is due to the JavaScript files not being loaded into the theme correctly. If you take a look at the solved issues there are 3 or 4 copies of the same issue that have been solved. I am currently at a hockey game but I will gladly help you out when I return.

— Reply to this email directly or view it on GitHub https://github.com/twittem/wp-bootstrap-navwalker/issues/76#issuecomment-35586979 .

AngeloAlves avatar Feb 20 '14 04:02 AngeloAlves

Hey Edward,

Just wanted to follow up with you and see if you had a chance to look into my issue with drop down not working.

Thanks,

Angelo

From: Edward McIntyre [mailto:[email protected]] Sent: February-19-14 10:54 PM To: twittem/wp-bootstrap-navwalker Cc: Angelo Alves Subject: Re: [wp-bootstrap-navwalker] wp-bootstrap-navwalker dropdowns NOT working. (#76)

No problem. 99.9% of the time this is due to the JavaScript files not being loaded into the theme correctly. If you take a look at the solved issues there are 3 or 4 copies of the same issue that have been solved. I am currently at a hockey game but I will gladly help you out when I return.

— Reply to this email directly or view it on GitHub https://github.com/twittem/wp-bootstrap-navwalker/issues/76#issuecomment-35586979 .

AngeloAlves avatar Feb 20 '14 15:02 AngeloAlves

Make sure you include the bootstrap.js file too - that'll fix your problem.

csoutham avatar Feb 20 '14 17:02 csoutham

I just tried including bootstrap.js as shown below and it's still not working.

__( 'Primary Menu', 'bootstrap' ), ) ); ?>

AngeloAlves avatar Feb 20 '14 18:02 AngeloAlves

Ok, I would include one of each of the JS file, so bootstrap.js or bootstrap.min.js. Same for custom script. Then you need to call the function to queue the files. Add this line after the wpbootstrap_scripts_with_jquery function

add_action( 'wp_enqueue_scripts', 'wpbootstrap_scripts_with_jquery' );

If it's still not working, make sure all of that is pushed to your test URL above and I'll take another look.

csoutham avatar Feb 20 '14 18:02 csoutham

It just gets better and better..

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

AngeloAlves avatar Feb 20 '14 18:02 AngeloAlves

Hmmm, well remove that line then! This hasn't got a lot to do with the bootstrap-navwalker and more to do with your understanding of how to put together a WordPress theme. I'm nothing to do with this really, just a user trying to help you out but it seems you may be trying to run before you can walk on this one.

csoutham avatar Feb 20 '14 18:02 csoutham

LOL... Thanks for your help I'll have to keep trying. It's probably right under my nose!

AngeloAlves avatar Feb 20 '14 18:02 AngeloAlves

Happy to take a look at the code for you, but I can't see any of it at the moment - makes it a lot harder to help.

csoutham avatar Feb 20 '14 18:02 csoutham

I'd be happy to send you what I have. Which files are you looking for specifically? And where do I send them?

AngeloAlves avatar Feb 20 '14 18:02 AngeloAlves

Either send me your FTP details, or send me your functions.php file - to me at csoutham dot com.

csoutham avatar Feb 20 '14 18:02 csoutham

ftp █████████████ user █████████ pw ██████████

contact me further at me at angeloalves dot com

AngeloAlves avatar Feb 20 '14 18:02 AngeloAlves

Hey! Just to prove it is the JS file I've added it to your header.php - I couldn't get it to work properly via the functions.php enqueue and since I can't see any debugging information it makes it hard to work out why. Hopefully you can see the dropdown now :)

csoutham avatar Feb 20 '14 19:02 csoutham

works great thanks! I can get you access to the server logs if you're interested finding out more about that issue I'm curious myself

AngeloAlves avatar Feb 20 '14 19:02 AngeloAlves

@AngeloAlves Sorry I couldn't take a look at this sooner.

@ChrisSoutham Your the man! Thanks for lending a hand!

SideQuestDIY avatar Feb 20 '14 20:02 SideQuestDIY