Hat funktioniert, ich poste den Code, sollte irgendwann mal jemand so etwas ähnliches brauchen.
Vielen Dank nochmal und schönes Restwochenende :)
PHP
$counter = 0;
add_action('woocommerce_before_shop_loop_item',"ng_additional_cat_info");
function ng_additional_cat_info() {
global $counter;
$counter=$counter+1;
if($counter == 7) {
$term_id = get_queried_object()->term_id;
$post_id = 'product_cat_'.$term_id;
$custom_field = get_field('kategorie_text', $post_id);
echo $custom_field;
echo 'Bild dann noch hier';
}
}
Alles anzeigen