Tagged Questions
0
votes
1answer
49 views
tax_query in get_posts() not working?
I'm trying to print out all the posts within every taxonomy for a custom post type called product (jigoshop products). So i get all of the taxonomies using $cats = get_terms('product_cat');, then i ...
1
vote
1answer
345 views
Problem with get_posts, tax_query and counting the number of posts
I want to count the number of posts that has simoultaneously 3 different taxonomies. THe code i'm using is this:
$products = get_posts(array(
'post_type' => 'products',
'posts_per_page' ...