Plugin activated, menu selected but not working?
-
Hi
I have activated Plugin, menu selected and responsive menu is showing on top but no response when click on it. What can be a problem?
Menu that is selected in responsive menu is added in the theme by function.php as a shortcode:
function TopMenu( $atts ){
$defaults = array(
‘theme_location’ => ”,
‘menu’ => ‘stormeny’,
‘container’ => ‘div’,
‘container_class’ => ”,
‘container_id’ => ‘stormenytop’,
‘menu_class’ => ‘menu’,
‘menu_id’ => ”,
‘echo’ => false,
‘fallback_cb’ => ‘wp_page_menu’,
‘before’ => ”,
‘after’ => ”,
‘link_before’ => ”,
‘link_after’ => ”,
‘items_wrap’ => ‘<ul id=”%1$s” class=”%2$s”>%3$s’,
‘depth’ => 1,
‘walker’ => ”,
);$htmlOutPut = wp_nav_menu( $defaults );
return $htmlOutPut;
}
add_shortcode( ‘topmenu’, ‘TopMenu’ );can this be a issue, and how do I make it work??
thanks
- The topic ‘Plugin activated, menu selected but not working?’ is closed to new replies.