Posted: July 10, 2018 at 1:55 am
I would like to add spaces available amount on this page
It would be on every event right below the grey heading for each one.
It would display
Spaces Still Available: 15
Can you please let me know which template would I have to modify and which variable would I have to use, I can custom code the template, just not sure where to do it from.
Many thanks for your help in advance
We are using Event Expresso 4
Since there are hook points within the templates, you don’t need to edit the template files to add this. Instead, you can add some code to your theme’s functions.php file or into a site plugin. Here’s a link to some example code that shows the hook and the helper method:
You can add the above to a functions plugin or into your WordPress theme’s functions.php file. We recommend using a child theme if you add to the functions.php file.
Thank you very much, I will give this a try