Support

Home Forums Events Calendar Add-on EVENT_LIST customisation

EVENT_LIST customisation

Posted: March 22, 2013 at 3:10 pm


Francis Porter

March 22, 2013 at 3:10 pm

Hi When I use this short code: [EVENT_LIST category_identifier=your_category_identifier] is there a way to also include the start/finish time of the event? And can I remove the iCal icon link?

Page is here:
http://www.fpdesigntest.co.uk/quest/friday-calendar/
3.1.30.7P
WP 3.5.1
Business Licence

Thanks


Sidney Harrell

March 22, 2013 at 4:04 pm

You’ll want to copy the two files event_list.php and event_list_display.php from the plugins/event-espresso/templates directory into the uploads/espresso/templates directory. Then make the changes in the event_list_display.php file starting at line 75, change it to read:

<p id="event_date-<?php echo $event_id ?>"><span class="section-title"><?php _e('Date:', 'event_espresso'); ?></span>  <?php echo event_date_display($start_date, get_option('date_format')) ?> </p>
    <p id="event_time-<?php echo $event_id ?>"><span class="section-title"><?php _e('Time:', 'event_espresso'); ?></span>  <?php echo $event->start_time; ?> - <?php echo $event->end_time; ?>
        <?php //Add to calendar button  echo apply_filters('filter_hook_espresso_display_ical', $all_meta);?>
    </p>

That should do it.


Francis Porter

March 23, 2013 at 8:48 am

Hi
That’s brilliant, excellent support.


Dean

March 25, 2013 at 1:25 am

Hey,

Thanks for your feedback! If you want to share your experiences with Event Espresso here are some ways to do that https://eventespresso.com/about/help-us-help-you-how-to-share-event-espresso/

The support post ‘EVENT_LIST customisation’ 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