Walker class for sub-menu with ACF fields
Firstly, I'm wondering if this is the best way to even do this.
I have a basic nav, one item has children.
The children need to be wrapped in a container div and each child needs to pull some ACF values from its associated page (image, ACF repeater values). The children are basically tiles with content + background images.
Is a walker class the best way to achieve this? The only thing I can manage to do is affect all nav items, I'm unsure of how to make it so that children items are affected and bring in the ACF values.
Thanks
Topic advanced-custom-fields walker children custom-field menus Wordpress
Category Web