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? – Bluedreamer Jun 21 '14 at 18:34
  • From the same category group. – therooster Jun 29 '14 at 1:09

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, privacy policy and cookie policy

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