I have a category group that's attached to several channels, including the jobs channel.

This isn't the way I'd have configured this initially but never mind.

I have 2 parent categories USA & Europe and then cities as sub categories. I want to show the cities and the jobs in those cities.

Not all cities have jobs and right now, using GWCategories, I'm spitting out cities where there are no jobs.

{exp:gwcode_categories channel="jobs" last_only="yes" cat_id="13" show_empty="no"}

Gives me all cities, irrespective of whether they have jobs or not.

  • Have you tried adding the entry_id="" parameter to the gw cats tag? Feb 24, 2016 at 21:42

1 Answer 1


The issue turned out to be the status parameter. Several entries with 'closed' status.

Code that works is


  {embed="careers/.jobs" cat_id="{cat_id}"}


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.