Hi Themeco team—
I’m using a query string in a looper provider to show recent articles. I want to exclude certain categories from the list. I’ve written this query string:
post_type=post&posts_per_page=60&offset=0&ignore_sticky_posts=1&post__not_in%5B0%5D={{dc:post:id}}&category__not_in=4&category__not_in%5B0%5D=4&orderby=date
This query string works perfectly in excluding one category, but I’m not sure what to do if I want to exclude more than one.
If I try this, it doesn’t work. What am I doing wrong?
post_type=post&posts_per_page=60&offset=0&ignore_sticky_posts=1&post__not_in%5B0%5D={{dc:post:id}}&category__not_in=4&category__not_in%5B0%5D=1,4&orderby=date