mixing categories and taxonomies
Im modifying a widget to include both categories and taxonomies from woocommerce, but Im not sure where to start.
I have a category called ‘thelab’ and a woocommerce ‘product_cat’ also called ‘thelab’. How can I get these categories to show up together in the same widget?
This is what I have currently, thanks for any ideas!!
$second_query = new WP_Query( array( 'cat' => $category, 'showposts' => $$posts, 'orderby' => 'date', 'order' => 'DESC', 'post_type' => array( 'post', 'product' ) ) );
- The topic ‘mixing categories and taxonomies’ is closed to new replies.