diff --git a/templates/event-details.php b/templates/event-details.php index d802d1b0..eef9136e 100644 --- a/templates/event-details.php +++ b/templates/event-details.php @@ -18,25 +18,23 @@ if ( $seasons ): $season = array_pop( $seasons ); $data[ SP()->text->string('Season') ] = $season->name; endif; - -$output = '

' . SP()->text->string('Details', 'event') . '

'; - -$output .= '
' . - ''; - -$i = 0; - -foreach( $data as $label => $value ): - - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - - $i++; - -endforeach; - -$output .= '
' . $label . '' . $value . '
'; - -echo apply_filters( 'sportspress_event_details', $output ); +?> +

text->string('Details', 'event'); ?>

+
+ + + + $value ): ?> + + + + + + + + + + + +
+