Doesn't work on WP 3.7.1
-
Doesn’t work on WP 3.7.1 with “Bliss by Bluth Company”
Won’t show submenu
-
Hi gulap,
As this is a premium theme i cannot look/check for compatibility. I am only guessing that the theme uses a custom wp_nav_menu walker to output the the themes menu.
If you have a look in the theme maybe in the header.php file you might find a section which uses the wp_nav_menu function, I cant force the integration of the plugin but if you want you can change the walker parameter of this function to look like (yours may include other arguments , include these as well):
wp_nav_menu(array('walker' => new JC_Submenu_Nav_Walker()));Cheers
JI found the following:
<?php if ( has_nav_menu( 'primary' ) ) { wp_nav_menu( array( 'container' => 'div', 'container_class' => 'nav-collapse collapse', 'theme_location' => 'primary', 'menu_class' => 'nav visible-desktop', 'walker' => new Bootstrap_Walker(), ) ); } if ( has_nav_menu( 'primary' ) ) { wp_nav_menu( array( 'walker' => new Walker_Nav_Menu_Dropdown(), 'theme_location' => 'primary', 'items_wrap' => '<div id="mobile-menu" class="pull-right visible-tablet visible-phone mobile-menu"><form style="margin-top: 15px; margin-bottom: 5px;"><select style="max-width:150px;" onchange="if (this.value) window.location.href=this.value"><option>-- Menu --</option>%3$s</select></form></div>', ) ); } ?>Give it a try by replacing the line in the top section of code only (as this is for the non-responsive menu):
'walker' => new Bootstrap_Walker(),With
'walker' => new JC_Submenu_Nav_Walker(),if it doesn’t work just undo the changes.
SInce the theme itself already uses a custom walker, i doubt that it will work with the JC Submenu Walker.
J
thanks. the autocomplete works, but the stylesheets don’t 🙁
i think, i can fix this.
but can’t you modify the plugin so that that it works with themes / plugins that use walker? i think, my theme is not the only one using this function, right 🙂
Some themes choose to use their own custom walkers to modify the menu output to suit the themes needs, instead of styling the default wordpress menu output.
For the plugin to work it would have to be tweaked separately for each theme that uses custom walkers to mimic that walker, JC Submenu only adds dynamic population via the walker and does not output the menu differently than the default walker.
Is this the theme (http://bluth.is/wordpress/bliss/) that your are wanting to modify the menu for? , let me know and i will see how i can make it possible to customize the output.
J
The topic ‘Doesn't work on WP 3.7.1’ is closed to new replies.