Support

Home Forums Event Espresso Premium Show Event start time in widget

Show Event start time in widget

Posted: September 25, 2012 at 8:29 pm

Viewing 1 reply thread


Eric Quan

September 25, 2012 at 8:29 pm

I am trying to show the event start time in the widget, what code would I need to add in widget.php I can’t seem to figure it out? Thanks


Dean

September 26, 2012 at 1:51 am

Hi Eric,

Around line 129 you will see

<p><a href="<?php echo $registration_url; ? rel="nofollow">"><?php echo stripslashes_deep($event->event_name) ?> - <?php echo event_date_display($event->start_date) ?></a>

change it to

<p><a href="<?php echo $registration_url; ? rel="nofollow">"><?php echo stripslashes_deep($event->event_name) ?> - <?php echo event_date_display($event->start_date) ?> - <?php echo event_date_display($event->start_time, get_option('time_format')) ?></a>

Make sure you have copied the fiel to the uploads/templates folder before making any changes.

Viewing 1 reply thread

The support post ‘Show Event start time in widget’ 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