wp nav menu includes span tags that are not in wp_nav_menu.php
-
There are span tags in my site’s menu, but I can’t figure out why. The only php generating span tags in my files is php I put in there.
wp_nav_menu php
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'link_before' => '<span class="menu-link">', 'link_after' => '</span>') ) ?>
Yet for some reason, the menu includes this additional tag with a mystery origin.
Menu item html on the front end
<li id="menu-item-350" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-350"> <a href="[url]"> <span class="menu-link"> <i class="_mi _before fa fa-thumbs-o-up" style="vertical-align:text-top;"></i> <span> Testimonials </span> </span> </a> </li>
Is there somewhere else I should be looking? Some keyword that I’m not searching? (I’ve already tried the obvious ones. Obvious to me anyway.)
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘wp nav menu includes span tags that are not in wp_nav_menu.php’ is closed to new replies.