Support

Home Forums Event Espresso Premium Can we display the number of places available ?

Can we display the number of places available ?

Posted: November 26, 2021 at 6:52 am


abyaute

November 26, 2021 at 6:52 am

Hi
My client would like to have the number of places available for each event so that Internet users know whether to book urgently or not !
Thanks, regards


Tony

  • Support Staff

November 29, 2021 at 12:32 pm

Hi there,

May I ask where you are looking to include that information?

Can you add a screenshot?

It might be possible but depending on where you want to include that info you could be increasing the number of queries on the page a fair amount.


abyaute

November 30, 2021 at 3:57 am

Hi
On a page that brings together all the events offered?


Tony

  • Support Staff

November 30, 2021 at 6:12 am

We have many different outputs that do exactly that.

Can you add a screenshot of the page you are currently wanting to add the above to?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


abyaute

November 30, 2021 at 7:05 am

Hi,
On the event liste for example with this shortcode :
[ESPRESSO_EVENTS tri=ASC]


Tony

  • Support Staff

November 30, 2021 at 2:38 pm

The reason I’m asking for a screenshot if it depends on what you have enabled as to how you do this.

You can try a snippet like this:

https://gist.github.com/joshfeck/56f30f18ae87af1919c3c462618ee2de

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

That adds a ‘Spaces Still Available’ before the event content.

We also have on for displaying within the dates section:

https://gist.github.com/joshfeck/f706dd0c1d315289c7293b24a5fa9c02

The specifics of what you need to do depend very much on the specific of where you want to output the details.

The support post ‘Can we display the number of places available ?’ 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