Posted: April 17, 2014 at 7:15 pm
Hi guys – I am setting up the custom template plugin with the Calendar Table add-on and my client has a need for a couple additions. Can we add the event time and the attendee limit info (like 8/24)? | |
Hi Greg, Yes this can be done by editing the template file accordingly. They are relatively simple to modify with basic HTML and PHP knowledge. You could event copy one of the template plugins and create a new template plugin should you wish to avoid update issues. http://staging.eventespresso.com/wiki/custom-templates-addon-create-a-template/ | |
Thanks Dean, that is good news. Is there a place where I can find the field names that I want to work with (like the event time and the number of registered attendees)? Greg | |
Hi, There is an object array called $events, and a foreach that splits this up into individual objects called $event. In this array are the different options. You can var_dump() them, but I made you a list below. You can access them within the foreach like so – $event->start_time To get the attendee count you may need to use do_shortcode() with the [ATTENDEE_NUMBERS] shortcode. id | |
The support post ‘Custom Template Add-On – Adding Additional Fields’ 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.