I feel like this is an “EE 101” type of question, but I just want to make sure I understand this.
Let’s say that I have a site that contains multiple weblogs, with many categories (the same category group is used by all of the weblogs). For a particular template, I want to exclude all entries that belong to category ID #15.
So I set up my {exp:weblog:entries} tag like so:
{exp:weblog:entries weblog="foo|bar" limit="15" category="not 15"}
...
{/exp:weblog:entries}To my mind, this should exclude all entries that have been assigned to category #15—they shouldn’t appear on that particular template at all.
However, I find that this is not the case. What I find is that if entries have been assigned to category #15 in addition to other categories, they appear. The only entries that don’t appear on this template are those that have only been assigned to category #15—they only have one category assignment.
So my question is this. How can one exclude articles that have been assigned to a particular category, regardless of whether or not they have been assigned to other categories? To use the example above, how can I exclude all entries in category #15—even if they have multiple category assignments?