I have the following code which doesn't showing any result if I combine these two together, is this the correct syntax?

{exp:channel:entries channel="people" orderby="date" category="{segment_3_category_id}&not51"   sort="desc"}

1 Answer 1


Combining the inclusion and exclusion of categories with the native channel:entries tag in a single parameter is not possible. The syntax you're using is therefore not supported.

You would either need to re-think your setup, use a custom query, or use Low Search and its Categories filter, so you can use parameters like this:

    category:group2="not 51"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.