wp_nav_menu junk insertion of blank content
-
I’m using navigation menus with the follow ing code:
<?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'container' => '' ) ); ?>
And I am getting the following junk inserted with it that pushes content down. (image) https://i.imgur.com/XnTXx.png
It’s acting like a block element and pushing content down. If I remove the quotes in inspector everything goes back to normal. If I remove the wp_nav_nav(); call then the quotes are not inserted.
What’s going on? I’ve never had an issue with this before.
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘wp_nav_menu junk insertion of blank content’ is closed to new replies.