diff --git a/templates/countdown.php b/templates/countdown.php index 74afb8a8..fc55d1e2 100644 --- a/templates/countdown.php +++ b/templates/countdown.php @@ -13,6 +13,7 @@ $defaults = array( 'team' => null, 'id' => null, 'live' => get_option( 'sportspress_enable_live_countdowns', 'yes' ) == 'yes' ? true : false, + 'link_events' => get_option( 'sportspress_link_events', 'yes' ) == 'yes' ? true : false, ); if ( isset( $id ) ): @@ -27,10 +28,13 @@ endif; extract( $defaults, EXTR_SKIP ); if ( ! isset( $post ) ) return; + +$title = $post->post_title; +if ( $link_events ) $title = '' . $title . ''; ?>
-

post_title; ?>

+

ID, 'sp_venue' );