Hi – can I modify the show details box (aka .display-tckt-slctr-tkt-details class) to show the event time and location? I would like to show the location and the Event Time (NOT Event START Time – they’re different and I like the Event Time much better).
Hi – I’m actually trying to add info. The events details page has a list of events then a gray-color words “show details”. When you click on the “show details”, it doesn’t show the event time or the event venue. I would like to show event time and the venue inside the “show details” section.
This is something that can be done by adding some custom PHP code to the ticket selector template. The ticket selector template’s filename is ticket_selector_chart.template.php and it can be used as a base to start on.
A PHP programmer on your team that has some experience with WordPress templating should be able to use some of the available template tags to help make this happen.
In order to avoid losing the customizations with an update, we’ve added a filter hook that allows an customized template to be loaded from an alternate location on your web server. Some example code follows that will load the ticket selector template from the active WordPress theme, and will work if it’s a child theme:
add_filter ('FHEE__EE_Ticket_Selector__display_ticket_selector__template_path', 'my_custom_ticket_selector_template_location');
function my_custom_ticket_selector_template_location(){
return get_stylesheet_directory() . '/ticket_selector_chart.template.php';
}
Viewing 4 reply threads
The support post ‘Modify show details box’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.