Problem with WP Query
-
Hi,
We have some problem trying to rewrite WP Query to display only the products we want. To be more specific, we’re trying to exclude an entire category. Our expression goes as follow :
post__not_in=array(184)&category__not_in=array(‘holidays’)
The product ID 184 is excluded from the list but the products in Holidays are still displayed. We’ve also tried to use the category ID without success.
Is there anything we’re doing wrong?
Regards,
Bastien
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Problem with WP Query’ is closed to new replies.