Support

Home Forums Event Espresso Premium EVENT_LIST only displays one date on a multiple day event

EVENT_LIST only displays one date on a multiple day event

Posted: September 21, 2012 at 3:14 pm


ebsassociates

September 21, 2012 at 3:14 pm

We have a 2 day seminar we are planning, and I would like the event_list shortcode to display the fact that it is a 2 day event, rather than simply displaying the start date (which will confuse potential attendees that it is an overpriced single day event). It shows up fine on the calender as spanning multiple days, but only shows a single date on the event list. You can see this example here http://ebslearningcenter.com/schedule/ any help would be greatly appreciated!

  • This topic was modified 11 years, 7 months ago by  ebsassociates.


Jonathan Wilson

September 21, 2012 at 7:57 pm

Hello Lucas,

Here is what you need to do:

  1. Copy the event_list.php and event_list_display.php files to the /wp-content/uploads/espresso/templates directory (more details here).
  2. Open the event_list_display.php file that is now in the uploads/espresso/templates directory.
  3. Copy line 75.
  4. Enter a new line at 76 and paste the code you just copied.
  5. Now you will need to change $start_date to $end_date on line 76.
  6. You will also need to change <?php _e('Date:', 'event_espresso'); ?> to <?php _e('Start Date:', 'event_espresso'); ?> on line 75.
  7. You will also need to change <?php _e('Date:', 'event_espresso'); ?> to <?php _e('End Date:', 'event_espresso'); ?> on line 76.
  8. Save the file.

This should accomplish what you are looking for. Please let us know whether this helps. 🙂

The support post ‘EVENT_LIST only displays one date on a multiple day event’ 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