Support

Home Forums Event Espresso Premium Display number of tickets available for a specific event Reply To: Display number of tickets available for a specific event

Reply To: Display number of tickets available for a specific event

Author Replies
Tony # Posted on March 1, 2018 at 4:17 am

Hi there,

You mentioned coding so I’m assuming you are confident with PHP?

There’s a snippet there:

https://gist.github.com/Pebblo/f07d5515180b363864160d90ca41ec0f

That adds a shortcode [EE_NUMBER_OF_TICKETS] which will pull the remaining tickets for an event, if used within the event description it will pull the current events tickets. If you use it outside of the event editor you’ll need to add the event_id, [EE_NUMBER_OF_TICKETS event_id=111] pulls the number of tickets for the event with ID 111.

Is that what you are looking for?

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