Speed up your Oxygen workflow

with Hydrogen Pack

A true Oxygens Editor Enhancer
Starts from $19.99

Display Taxonomy in post loop in ACF Relationship field

<?php $terms = get_the_terms( $p->ID, 'product_cat' );
	foreach ($terms as $t) {
	echo $t->name, ' ';
} ?>

Product cat is category name for WooCommerce products category.

Thanks, Hammad Wali for sharing this useful code!

If you need help with custom scripts or you are not skilled enough to implement something from the tutorial?


Stay up to date with latest post and updates.