Fix league table caption markup
This commit is contained in:
@@ -24,9 +24,9 @@ $defaults = array(
|
|||||||
|
|
||||||
extract( $defaults, EXTR_SKIP );
|
extract( $defaults, EXTR_SKIP );
|
||||||
|
|
||||||
$output = '<div class="sp-table-wrapper sp-scrollable-table-wrapper">';
|
$output = '<h4 class="sp-table-caption">' . get_the_title( $id ) . '</h4>';
|
||||||
|
|
||||||
$output .= '<h4 class="sp-table-caption">' . get_the_title( $id ) . '</h4>';
|
$output .= '<div class="sp-table-wrapper sp-scrollable-table-wrapper">';
|
||||||
|
|
||||||
$output .= '<table class="sp-league-table sp-data-table' . ( $responsive ? ' sp-responsive-table' : '' ) . ( $sortable ? ' sp-sortable-table' : '' ) . ( $paginated ? ' sp-paginated-table' : '' ) . '" data-sp-rows="' . $rows . '">' . '<thead>' . '<tr>';
|
$output .= '<table class="sp-league-table sp-data-table' . ( $responsive ? ' sp-responsive-table' : '' ) . ( $sortable ? ' sp-sortable-table' : '' ) . ( $paginated ? ' sp-paginated-table' : '' ) . '" data-sp-rows="' . $rows . '">' . '<thead>' . '<tr>';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user