This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Adding additional options to post loop query

8 years ago · Last reply by Alex S 8 years ago

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

2
  1. kwkirchner 8 years, 2 months ago

    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. Alex S Staff 8 years, 2 months ago

    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.

Have a different question or issue?

Start New Thread