Adding additional options to post loop query
Currently I have my post loop on the main page to only pull posts from ‘cat=2,3,4,5’ but I would also like to exclude any posts that are also tagged for my Archive category (ID 21). How can I accomplish this?
I cleared the “additional query” box by adding the 4 categories into the Taxonomy section, so it’s free to do whatever.
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
2It appears I have figured it out with some Google:
cat=2,3,4,5,-21
I tried cat=-21 with the categories in the Taxonomy box and that made a mess.
Hi Kwkirchner,
I’m glad you were able to resolve this issue. I’m sorry I wasn’t able to be of assistance this time. Please be sure to post another thread if you have any other questions.
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.