Support » Plugin: Location "Nav Menu" for ACF » How to display field data?

  • Resolved emangham

    (@emangham)


    Hello,

    I don’t fully understand how to display the data on the front-end, for example in a menu like so:

    <?php wp_nav_menu(array(
           'theme_location' => 'header-navigation',
           'items_wrap' => '<ul class="nav__menu">%3$s</ul>',
           'depth' => 3,
           'container' => false
    )); ?>

    How would I display a list like so:

    <ul>
            <li><a href="$MENU-ITEM-URL"><span>$ACF-DATA-HERE</span>$MENU-ITEM-LABEL</a></li>
    </ul>

    Sorry if this is a silly question! Look forward to making the most out of the plugin.

    Thanks,
    Elliott

    • This topic was modified 3 years, 10 months ago by emangham.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to display field data?’ is closed to new replies.