Default event status to preview in event logos block
This commit is contained in:
@@ -47,13 +47,14 @@
|
|||||||
</time>
|
</time>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
$status = __( 'Preview', 'sportspress' );
|
||||||
|
|
||||||
if ( $show_time ) {
|
if ( $show_time ) {
|
||||||
?>
|
?>
|
||||||
<h5 class="sp-event-results">
|
<h5 class="sp-event-results">
|
||||||
<?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