ozgen1905 adlı üyeden alıntı: mesajı görüntüle
Merhaba arkadaşlar;

Wordpress post kategorisini şu şekilde buluyorduk

<?php the_category(", ") ?>

Woocommerce kategorisi php kodunu bulamadım bir türlü...
$terms = get_terms( 'product_tag' );

if ( ! empty( $terms ) && ! is_wp_error( $terms ) ){

echo '<ul>';

foreach ( $terms as $term ) {

echo '<li>' . $term->name . '</li>';

}

echo '</ul>';

}

Kaynak : https://developer.wordpress.org/refe...ons/get_terms/