Support » Plugin: Advanced Custom Fields: Nav Menu Field » Returning menu ID on one page template?

  • I’m totally puzzled by this – I’m using this code on a few of my page templates and it works fine on all of them, but for some reason, on this one page template the custom field is returning the menu ID. It’s definitely set to Nav Menu HTML, and displays correctly on every other page template I’ve made using this code. But not here. I’ve tried debugging and displaying the string, but nothing. Really stumped – if anyone has any ideas I’d appreciate it.

    <button onclick="myFunction()" class="dropbtn" style="width:300px;">Take me to...</button><span class="downarrow dropbtn"><i onclick="myFunction()" class="material-icons dropbtn" style="font-size: 34px;">keyboard_arrow_down</i></span>
    <div id="myDropdown" class="dropdown-content">
    <?php the_field('quick_menu'); ?>
    • This topic was modified 1 year, 3 months ago by  HuntingTown.
    • This topic was modified 1 year, 3 months ago by  HuntingTown.

    The page I need help with: [log in to see the link]

  • The topic ‘Returning menu ID on one page template?’ is closed to new replies.