Forums
Home / Themes and Templates / wp_nav_menu help
(@matthewordie)
12 years, 9 months ago
I’m using wp_nav_menu to create a specialized footer menu. However I need to add some data to the outputted HTML. Is there a way to do with the wp_nav_menu function or do I need to create my menu some other way?
What I’m basically trying to accomplish:
<li data-image="img/location.jpg"><a href="#">Nav Item</a></li>