Default event status to preview in event logos block
This commit is contained in:
@@ -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 ) ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user