Thanks Mike and Bhashkar,
It seemed like I was on the right direction by using nested loops but I’ve come across another issue. Mike, since I do need more than just titles, category archive won’t work, unfortunately.
Bhashkar’s code works but I need a little more granularity. For reference, my categories are nested so for example, I have a parent category of “grill” and burgers, sandwiches and sides under it.
{exp:channel:categories channel="menu_items" category_group="2" style="linear" show="1"}
{category_name}
{category_description}
{exp:channel:entries channel="menu_items" category="{category_id}" disable="trackback|pagination|member_data|custom_fields orderby="display_order" sort="asc"}
{title}
{description}
{/exp:channel:entries}
{/exp:channel:categories}
I’ve added show=“1” (grill parent category) and returns the parent and the subcategories, which is fine however, it doesn’t return the subcategory name and its descriptions. I attempted to add each category ID invidually 15|16|17 but it returns nothing This leads me to believe that subcategories can’t be identified by category ID. Is this by design?
I figured out a workaround but it involves flattening out the categories and repeating the code for each category.
If there’s a better way, I’d like to know. Thanks for the help!