Add date and time option for showing on the countdown widget
This commit is contained in:
@@ -106,6 +106,18 @@ if ( $link_events ) $title = '<a href="' . get_post_permalink( $post->ID, false,
|
||||
<?php echo $title; ?>
|
||||
</h3>
|
||||
<?php
|
||||
if ( isset( $show_date ) && $show_date ):
|
||||
if ( $event_date ):
|
||||
?>
|
||||
<h5 class="event-date sp-event-date">
|
||||
<?php
|
||||
echo get_the_time( get_option( 'date_format', $post ) ).' '.get_the_time( get_option( 'time_format', $post ) ).' (local time)';
|
||||
?>
|
||||
</h5>
|
||||
<?php
|
||||
endif;
|
||||
endif;
|
||||
|
||||
if ( isset( $show_venue ) && $show_venue ):
|
||||
$venues = get_the_terms( $post->ID, 'sp_venue' );
|
||||
if ( $venues ):
|
||||
|
||||
Reference in New Issue
Block a user