Responsive tables and individual content filters

This commit is contained in:
Brian Miyaji
2014-01-24 00:05:45 +11:00
parent f21ed7f522
commit ef3136801f
17 changed files with 339 additions and 196 deletions

View File

@@ -47,14 +47,15 @@ if ( !function_exists( 'sportspress_event_results' ) ) {
$output .= '<h3>' . __( 'Results', 'sportspress' ) . '</h3>';
$output .= '<table class="sp-event-results sp-data-table"><thead>';
$output .= '<th class="data-name">' . __( 'Team', 'sportspress' ) . '</th>';
$output .= '<div class="sp-table-wrapper">' .
'<table class="sp-event-results sp-data-table sp-responsive-table"><thead>' .
'<th class="data-name">' . __( 'Team', 'sportspress' ) . '</th>';
foreach( $result_labels as $key => $label ):
$output .= '<th class="data-' . $key . '">' . $label . '</th>';
endforeach;
$output .= '</tr>' . '</thead>' . '<tbody>';
$output .= $table_rows;
$output .= '</tbody></table>';
$output .= '</tbody>' . '</table>' . '</div>';
endif;