Home>Support>Adding additional options to post loop query

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. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 6 years, 9 months ago kwkirchner

    It 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.

  2. 6 years, 9 months ago Alex S
    Hi, I Work Here

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More