Support

Account

Home Forums General Issues Query taxonomy for fields Reply To: Query taxonomy for fields

  • Hi @marek-234

    So you want wp_list_categories to also output an ACF created image?
    To modify the wp_list_categories() functions output you’d need to create a custom walker.. You can read more about it here: https://codex.wordpress.org/Template_Tags/wp_list_categories

    If you just want to get the current terms icon you can do this:

    
    $icon = get_field('icon', $current_term->taxonomy . '_' . $current_term->term_id);