• Resolved jodaem

    (@jodaem)


    [categories_list hide_empty=1 scope=future pagination=0]<li>#_CATEGORYLINK</li>[/categories_list]

    This shortcode works and hides truly empty categories, however it does not hide categories that have events that are all past. The link leads to the no events found message as there are no future events in this category.

    Any ideas how to filter the output so “empty” is based on future events?

    • This topic was modified 4 years, 2 months ago by jodaem.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    Hi,

    Unfortunately, scope is not yet available to [categories_list] shortcode.

    LS

    (@lsterling03)

    I’m having this problem too. Is there any other way to list the categories only that have future events? I’m using get_terms, but the hide_empty parameter does not work because past events are still counted.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    lsterling03

    unfortunately, this is not yet available out of the box at the moment.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘categories_list not hiding past event categories’ is closed to new replies.