Walker class for sub-menu with ACF fields
Yes, if you want to keep using a WP nav menu, a walker is the right way to go. To only affect a certain level (i.e. children, grandchildren, parent, etc.) you can use $depth. class wpseWalker extends Walker_Nav_Menu { public function start_el(&$output, $item, $depth = 0, $args = array(), $id = 0) { // Check … Read more