I use the following code to list all “categories” of the “product_cat” taxonomy. So, I assumed I would be able to also use to blog terms to display the categories of the product_cat taxonomy?
<?php
//list terms in a given taxonomy using wp_list_categories (also useful as a widget if using a PHP Code plugin)
$taxonomy = 'product_cat';
$orderby = 'slug';
$show_count = 0; // 1 for yes, 0 for no
$pad_counts = 0; // 1 for yes, 0 for no
$hierarchical = 1; // 1 for yes, 0 for no
$title = '';
$args = array(
'taxonomy' => $taxonomy,
'orderby' => $orderby,
'show_count' => $show_count,
'pad_counts' => $pad_counts,
'hierarchical' => $hierarchical,
'title_li' => $title
);
?>
<div style="font-size:20px;float:left;margin-top:22px;"><span style="color:#E77738;">Best Selling</span><span style="color:6c6c6c;"> Products</span></div>
<ul id="products-grid-categories-list">
<?php wp_list_categories( $args ); ?>
</ul>