WP_nav_menu link_class removed when plugin is active
-
Hello!
I use WP_nav_menu to output some menus in footer. Each menu link is styled with help of certain class which is assigned like shown in code below. But when plugin is active, certain class is removed and style is absent. Is there a way to stop plugin doing it or maybe a some override?
<?php wp_nav_menu( array ( 'theme_location' => 'footer_for_customer', 'menu' => 'footer_for_customer', 'menu_class' => 'menu-list', 'container' => 'div', 'container_class' => 'col-12 col-md-4 col-lg-3 order-first', 'before' => '<li class="menu-list__item">', 'after' => '</li>', 'link_class' => 'menu-list__link', ) ); ?>
The page I need help with: [log in to see the link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘WP_nav_menu link_class removed when plugin is active’ is closed to new replies.