Display Brand Name Below Product Title – YITH WooCommerce Brands Add-On Premium
function g9_brand_single_product() { global $product; $term_ids = wp_get_post_terms($product->get_id(), ‘yith_product_brand’, array(‘fields’ => ‘ids’)); if (!empty($term_ids)) { echo get_the_term_list($product->get_id(), ‘yith_product_brand’, ‘ ‘, ‘, ‘, ‘ ‘); } } add_action(‘woocommerce_after_shop_loop_item_title’, ‘g9_brand_single_product’, 1);Continue reading