Hi there,
Thanks for posting in.
You may check it here https://www.advancedcustomfields.com/resources/adding-fields-taxonomy-term/, and you may add your custom fields to your category and tag taxonomies.
And to display it, you may add this code to your child theme’s functions.php with your custom field
add_action('x_after_view_global__index', 'display_taxonomy_field');
function display_taxonomy_field () {
if( !( is_tag() || is_category() ) ) return false;
$term = get_queried_object();
$field1 = get_field('your_field_name1', $term);
$field2 = get_field('your_field_name2', $term);
echo $field1;
echo $field2;
}
Thanks!