I am trying to add a field group to only show up on PARENT menu items. Or, menu items that are not a child.
I’m able to add a Location rule for:
Show this field group if
– Menu Item
is equal to
– Main Menu
As menu_items are stored in the posts table I was sneakily hoping that I could use the posts parent/child condition to detect if something was a child item, but adding that condition just makes the field group not show at all.
Is there any trick I can use here? Or would I need to look in to custom Location rules? (Not sure if the values I would need would be exposed for menu items).
Any advice would be much appreciated, thanks.
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users