Can the event espresso calendar display the city alongside the events? The short code will display only the event title and times, but I would like to add the event city as well.
Let me know if that can be done!
Thank you.
This topic was modified 11 years, 2 months ago by Dean. Reason: moved to calendar forum
Currently my line 364 looks like:
//Supports 3.2 short descriptions
if (isset($org_options[‘template_settings’][‘display_short_description_in_event_list’]) && $org_options[‘template_settings’][‘display_short_description_in_event_list’] == true) {
$eventArray[‘description’] = array_shift(explode(‘<!–more–>’, $eventArray[‘description’]));
I believe Sidney is referring to the code block above it, here it is with the new code added
//Gets the description of the event. This can be used for hover effects such as jQuery Tooltips or QTip
if (isset($espresso_calendar['show_tooltips']) && $espresso_calendar['show_tooltips'] == true) {
//$eventArray['description'] = espresso_format_content($event->event_desc);
$eventArray['description'] = espresso_format_content($event->event_desc) . do_shortcode('[ESPRESSO_VENUE id="' . $event->id . '" show_map_image=false]');
}
The support post ‘Can the calendar display what city/location each event is held in?’ 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.