Display all product tags associated with a specific product category
Ahh ha! Have figured out how to do this. Here’s the code for future people who are looking for the same thing: function get_category_tags($args) { global $wpdb; $tags = $wpdb->get_results(” SELECT DISTINCT terms2.term_id as tag_id, terms2.name as tag_name, terms2.slug as tag_slug, null as tag_link FROM wp_posts as p1 LEFT JOIN wp_term_relationships as r1 ON p1.ID … Read more