Skip to content

Commit

Permalink
Merge pull request #1 from dwlorimer/dwlorimer-add-spans-classes-to-u…
Browse files Browse the repository at this point in the history
…l-dates

Update template_tags.php w/ time classes
  • Loading branch information
dwlorimer committed Dec 1, 2016
2 parents a9174d5 + b382bc1 commit 2ce68d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/template_tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -487,8 +487,8 @@ function espresso_list_of_event_dates( $EVT_ID = 0, $date_format = '', $time_for
$datetime_name = $datetime->name();
$html .= ! empty( $datetime_name ) ? '<strong>' . $datetime_name . '</strong>' : '';
$html .= ! empty( $datetime_name ) && $add_breaks ? '<br />' : '';
$html .= '<span class="dashicons dashicons-calendar"></span>' . $datetime->date_range( $date_format ) . '<br/>';
$html .= '<span class="dashicons dashicons-clock"></span>' . $datetime->time_range( $time_format );
$html .= '<span class="dashicons dashicons-calendar"></span><span class="ee-event-datetimes-li-daterange">' . $datetime->date_range( $date_format ) . '</span><br/>';
$html .= '<span class="dashicons dashicons-clock"></span><span class="ee-event-datetimes-li-timerange">' . $datetime->time_range( $time_format ) . '</span>';
$datetime_description = $datetime->description();
$html .= ! empty( $datetime_description ) && $add_breaks ? '<br />' : '';
$html .= ! empty( $datetime_description ) ? ' - ' . $datetime_description : '';
Expand Down

0 comments on commit 2ce68d0

Please sign in to comment.