Default event status to preview in event logos block

This commit is contained in:
Brian Miyaji
2017-01-06 20:46:26 +11:00
parent 07caad1efd
commit 83203140ee

View File

@@ -46,6 +46,8 @@
<?php echo get_the_time( get_option( 'date_format' ) ); ?> <?php echo get_the_time( get_option( 'date_format' ) ); ?>
</time> </time>
<?php <?php
$status = __( 'Preview', 'sportspress' );
if ( $show_time ) { if ( $show_time ) {
?> ?>
@@ -53,7 +55,6 @@
<?php echo '<span class="sp-result">' . apply_filters( 'sportspress_event_time', sp_get_time( $id ), $id ) . '</span>'; ?> <?php echo '<span class="sp-result">' . apply_filters( 'sportspress_event_time', sp_get_time( $id ), $id ) . '</span>'; ?>
</h5> </h5>
<?php <?php
$status = __( 'Preview', 'sportspress' );
} }
if ( $show_results && ! empty( $results ) ) { if ( $show_results && ! empty( $results ) ) {