event categories

This topic contains 3 replies, has 3 voices, and was last updated by  marktowers 4 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #528121

    marktowers
    Buyer
    Post count: 171

    Hi,

    Is there a way to hide event categories on the events archive page if they don’t have any upcoming events?
    I have the following on my events archive page (which is a Custom Post Types Archive):

    [gd_categories title_tag="h4" post_type="gd_event" hide_empty="1" hide_count="1" sort_by="az" max_level="1" max_count="all" max_count_child="0"]

    However, there are several empty event categories still showing that have past events listed.
    It would be really beneficial to hide these and only show categories that have upcoming events.
    Thanks.

    #528220

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #528239

    Naveen Giri
    Moderator
    Post count: 1559

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #531739

    marktowers
    Buyer
    Post count: 171

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket