TheWebShop / bootstrap-shortcodes

Wordpress plugin to add shortcodes for Twitter Bootstrap 3.0
36 stars 15 forks source link

Conflict with Navwalker? #35

Closed grpaiva closed 10 years ago

grpaiva commented 10 years ago

Hi there,

I'm using twittem's Navwalker (https://github.com/twittem/wp-bootstrap-navwalker) to turn WordPress Menus into Bootstrap's navs, and when I installed Bootstrap Shortcodes plugin my dropdown menu stopped working.

Is there any fix to this problem?

Thanks in advance!

cristovaov commented 10 years ago

Hi @grpaiva - a navwalker user reported the same issue, the dropdown worked again after the deactivating the plugin. https://github.com/twittem/wp-bootstrap-navwalker/issues/111

Are you enqueueing the Bootstrap JS in your functions.php file? Can you try uncommenting the js enqueue in there and see if both Navwalker and this plugin work together after that? I'm thinking that the conflict comes from there. -greetz

grpaiva commented 10 years ago

Hi @cristovaov! Yes I was enqueueing Bootstrap's JS in my functions.php file. After commenting that it worked perfectly. Thank you so much.

My only concern is: Since now I'm not enqueueing Bootstrap's JS in functions.php I should call it on the template's footer, right? Just like a regular bootstrap website?

Best!

Sinetheta commented 10 years ago

Hey guys, there is also an option in Bootstrap Shortcodes to not enqueue either Bootstrap js or css bootstrap shortcode options

grpaiva commented 10 years ago

OMG, thanks @Sinetheta!

cristovaov commented 10 years ago

@Sinetheta thanks, for the heads up about the settings. -kind regards