Here is an ever expanding list of available template tags for your theme templates. Since events, locations, and organizations are Custom Post Types, the standard WordPress template tags (i.e. the_title(), get_permalink(), the_content(), and etc.) are available for your use inside the loops. The usage for the template tags below is <?php echo one_of_the_functions_below(); ?> inside your template. You can wrap them in any html element that you would like and use css to style. We have made some templates that you can use to control your event list, individual event, event location, and organization pages. Watch a tutorial video on Event Template setup page. These template tags are usable as of version 1.1.
[toggle_content title="Event Information Template Tags"]
- get_the_event_dates(): This function fetches a table view of the event dates.
- get_the_event_times(): This function fetches a table view of the event times.
- get_the_event_prices(): This function fetches a table view of the event prices.
- get_the_register_button(): Displays the register button. Please note that the button will not display if Show Register Button is set to No inside the event.
The location and organization template tags below can also be used inside the event-list.php template.
[toggle_content title="Location Template Tags"]
[toggle_content title="Organization Template Tags"]
More and more will be added with each version of the plugin. Please let us know what else you would like to do with your event pages.