WordPress.org

Ready to get started?Download WordPress

Forums

wp_nav_menu help (1 post)

  1. matthewordie
    Member
    Posted 3 years 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>

Topic Closed

This topic has been closed to new replies.

About this Topic