diff --git a/includes/sp-core-functions.php b/includes/sp-core-functions.php
index 52bb9ee6..d2598a30 100644
--- a/includes/sp-core-functions.php
+++ b/includes/sp-core-functions.php
@@ -75,12 +75,8 @@ function sp_get_template( $template_name, $args = array(), $template_path = '',
do_action( 'sportspress_before_template_part', $template_name, $template_path, $located, $args );
- echo '
';
-
include( $located );
- echo '
';
-
do_action( 'sportspress_after_template_part', $template_name, $template_path, $located, $args );
}
diff --git a/templates/event-details.php b/templates/event-details.php
index 95e98926..bf3f3176 100644
--- a/templates/event-details.php
+++ b/templates/event-details.php
@@ -29,7 +29,7 @@ if ( $seasons ):
$data[ __( 'Season', 'sportspress' ) ] = $season->name;
endif;
?>
-
+