So, I think I figured this out.
My issue was that I was trying to pull in the menu from a custom taxonomy and 1) had the ID field wrong and 2) didn’t have a menu selected (not sure how that happened).
What I learned is that LuckyWP ACF Menu Field can still use the get_field()
and the_field()
functions like any other template that pulls in ACF fields uses.
Where those two functions are added and what they look like will depend on what template file you are adding them to.
For a menu field that is added to any page, you would go to the particular page you are trying to edit and make sure the menu is selected on that page. Once set, you can go to the page template (perhaps page.php) and add the_field('your_menu_fields_name');
.
In my case, I was trying to pull in a menu that I had set for a custom taxonomy (not a page). So I needed to reference the taxonomy ID as well. So my function looked more like this: the_field('my_menu_field_name','customtaxonomyname_17');
The “my_menu_field_name” being set in the ACF field group settings in the dashboard, the “customtaxonomyname” being set in functions.php when I defined my custom taxonomy, and “17” being the ID of the taxonomy term I was trying to target.
Hope that helps.