It seems pretty tedious to have to type in all the Category Ids to list all parent & children entries.

{exp:channel:entries channel ="channel_name" category="17|4|1|5|13|9|14|25|2|7|24|3|6|28"     } 

Is there more maintainable way to do this?

  • Need a bit more info here. Are all categories from the same category group or different groups? Jun 21, 2014 at 18:34
  • From the same category group.
    – therooster
    Jun 29, 2014 at 1:09

1 Answer 1


If Auto-Assign Category Parents is enabled, you can list just the parents.

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.