So I have a channel (dog) with multiple category groups assigned to it. I'm trying to build a navigation and have the following code for the DOG dropdown list:

{exp:channel:categories channel="dog" style="linear" show_empty="yes" category_group="6"}

  • {category_name}
  • {/exp:channel:categories}

    Out of 10 categories (all have entries), only 5 show up.

    I'm using the following code to show categories under BUNNY and all categories show up.

    {exp:channel:categories channel="bunny" style="linear" show_empty="yes" category_group="1"}

  • {category_name}
  • {/exp:channel:categories}

    The only difference that I have noted between the two channels is that DOG has multiple category groups assigned (6|7|8) while BUNNY only has one (1).

    I have taken the code out of the full template, and placed it into a separate template with no other code to make sure nothing else was interfering and the results are the same.

    Thanks for any help/tips/suggestions you can provide.

    EE v2.7.2

    • Also wanted to mention that there are no children categories in category group 6. It's just a regular run-of-the-mill category group.
      – Mel
      Commented Mar 19, 2014 at 16:46
    • So just to clarify: category group 6 has 10 categories? Not that 6|7|8 would yield the 10? Commented Mar 19, 2014 at 21:39
    • Correct - category group has 10. There is also category group 7 and 8 assigned to the same channel, but I only want to show the 10 from category group 6.
      – Mel
      Commented Mar 19, 2014 at 21:41
    • You could try removing the channel parameter as I don't think it's required if you give it a category group ID. I don't know why that would make a difference but it's possible the channel is restricting the list somehow. Commented Mar 19, 2014 at 22:39
    • Yeah I went down that road too with the same exact results. I think I've tried every possible combination.
      – Mel
      Commented Mar 21, 2014 at 14:41

    2 Answers 2


    There are other parameters that effect whether a category has entries and therefore should be shown.

    1. show_expired
    2. show_future_entries
    3. status

    From the docs

    Could one of those be the problem?

    • Thanks Jamie. I should have mentioned that I tried all of those - alone, together, only a few, all of them at the same time. I still only show 5 categories under Dog.
      – Mel
      Commented Mar 19, 2014 at 21:21

    Try Gwcode categories and check if you get the results you are expecting.

    • Also check if you have included all the statuses of the entries and try parent_only="no" parameter.
      – Noor M
      Commented Dec 11, 2015 at 2:42

    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.