Support

Home Forums Event Espresso Premium Show sold out events on listing

Show sold out events on listing

Posted: November 29, 2022 at 10:18 am

Viewing 3 reply threads


SCIP

November 29, 2022 at 10:18 am

Hi
Events were showing as sold out until recently and then they stopped showing. https://bht-training.org.uk/events/

Do you know how to show these events and show the sold out banner. I can’t find this information in the forum.

Many thanks

Mark


Tony

  • Support Staff

November 29, 2022 at 2:44 pm

Hi Mark,

What changed on the site between when the sold out events used to show an now?

The first thing that jumps to mind here is are you using any custom code to filter out events based on if they are expired or not?

For example, we have a snippet to filter out events if the tickets within the event are all expired:

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

Are you using the above or any other custom code to filter events?


SCIP

December 1, 2022 at 7:45 am

Sorry for the delay in getting back to you.

I was indeed using this code. When I removed it events that were full displayed.

The only issue is that the site used to display a sold-out banner which is now not displaying.

I do have “display status banner” for events list set to yes.

Note: I have reversed the code change for the time being.


Tony

  • Support Staff

December 1, 2022 at 9:52 am

Using a custom template for EE archives? (archive-espresso_events.php, single-espresso_events.php etc within the theme?)

EE hooks into the_title to inject the banner so if that’s not being displayed it’s usually from something odd happening within the theme itself.

Viewing 3 reply threads

The support post ‘Show sold out events on listing’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso