Display column labels for time and results in split team mode
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @package SportsPress/Templates
|
* @package SportsPress/Templates
|
||||||
* @version 1.8.7
|
* @version 1.9
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
@@ -76,9 +76,9 @@ if ( $show_title && false === $title && $id )
|
|||||||
echo '<th class="data-home">' . __( 'Home', 'sportspress' ) . '</th>';
|
echo '<th class="data-home">' . __( 'Home', 'sportspress' ) . '</th>';
|
||||||
|
|
||||||
if ( 'combined' == $time_format && sp_column_active( $usecolumns, 'time' ) ) {
|
if ( 'combined' == $time_format && sp_column_active( $usecolumns, 'time' ) ) {
|
||||||
echo '<th class="data-time"> </th>';
|
echo '<th class="data-time">' . __( 'Time/Results', 'sportspress' ) . '</th>';
|
||||||
} elseif ( in_array( $time_format, array( 'separate', 'results' ) ) && sp_column_active( $usecolumns, 'results' ) ) {
|
} elseif ( in_array( $time_format, array( 'separate', 'results' ) ) && sp_column_active( $usecolumns, 'results' ) ) {
|
||||||
echo '<th class="data-results"> </th>';
|
echo '<th class="data-results">' . __( 'Results', 'sportspress' ) . '</th>';
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<th class="data-away">' . __( 'Away', 'sportspress' ) . '</th>';
|
echo '<th class="data-away">' . __( 'Away', 'sportspress' ) . '</th>';
|
||||||
|
|||||||
Reference in New Issue
Block a user