Support

Home Forums Event Espresso Premium [EVENT_LIST] output

[EVENT_LIST] output

Posted: January 14, 2013 at 9:03 pm


2redline

January 14, 2013 at 9:03 pm

How can I display the event description, start time and end time, in [EVENT_LIST] under date in the array?


Josh

  • Support Staff

January 15, 2013 at 8:04 am

Hi Joan,

There is a setting in Event Espresso>Template settings labeled: “Display short descriptions in the event listings?” that you can set to Yes. This will display the event description in the event list.

You can add start and end times to the display by modifying the event_list_display.php template. Example code:

<p id="event_time-<?php echo $event_id ?>"><span class="section-title"><?php _e('Time:', 'event_espresso'); ?></span>  <?php echo do_shortcode ('[EVENT_TIME event_id="'.$event_id.'" type="start_time" format="g:i a"]') .' - '. do_shortcode ('[EVENT_TIME event_id="'.$event_id.'" type="end_time" format="g:i a"]'); ?></p>

The support post ‘[EVENT_LIST] output’ 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.

Event Espresso