Say I have a menu structure like this:
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.