Support

Home Forums Event Espresso Premium Shortcode for showing a category and only events available for registration. Reply To: Shortcode for showing a category and only events available for registration.

Reply To: Shortcode for showing a category and only events available for registration.

Author Replies
Josh # Posted on March 7, 2018 at 9:17 am

Hi there,

While the shortcodes do not have parameters to filter out events with no available tickets, it’s possible to use WordPress filter hooks to change this. You can add this code snippet to your site to accomplish this:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/templates/de_ee_filter_events_out_with_expired_tickets.php

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.

Do NOT follow this link or you will be banned from the site!