Responsive tables and individual content filters
This commit is contained in:
@@ -21,7 +21,8 @@ if ( !function_exists( 'sportspress_event_players' ) ) {
|
||||
|
||||
$output .= '<h3>' . get_the_title( $team_id ) . '</h3>';
|
||||
|
||||
$output .= '<table class="sp-event-statistics sp-data-table">' . '<thead>' . '<tr>';
|
||||
$output .= '<div class="sp-table-wrapper">' .
|
||||
'<table class="sp-event-statistics sp-data-table sp-responsive-table">' . '<thead>' . '<tr>';
|
||||
|
||||
$output .= '<th class="data-number">#</th>';
|
||||
$output .= '<th class="data-number">' . __( 'Player', 'sportspress' ) . '</th>';
|
||||
@@ -93,7 +94,7 @@ if ( !function_exists( 'sportspress_event_players' ) ) {
|
||||
|
||||
endif;
|
||||
|
||||
$output .= '</table>';
|
||||
$output .= '</table>' . '</div>';
|
||||
|
||||
endforeach;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user