Hide table header row in icon mode
This commit is contained in:
@@ -29,6 +29,7 @@ if ( ! isset( $subs ) ) $subs = array();
|
|||||||
<table class="sp-event-performance sp-data-table<?php if ( $scrollable ) { ?> sp-scrollable-table<?php } ?><?php if ( $sortable ) { ?> sp-sortable-table<?php } ?>">
|
<table class="sp-event-performance sp-data-table<?php if ( $scrollable ) { ?> sp-scrollable-table<?php } ?><?php if ( $sortable ) { ?> sp-sortable-table<?php } ?>">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
<?php if ( $mode == 'values' ): ?>
|
||||||
<?php if ( $show_players ): ?>
|
<?php if ( $show_players ): ?>
|
||||||
<?php if ( apply_filters( 'sportspress_event_performance_show_numbers', $show_numbers, $section ) ) { ?>
|
<?php if ( apply_filters( 'sportspress_event_performance_show_numbers', $show_numbers, $section ) ) { ?>
|
||||||
<th class="data-number">#</th>
|
<th class="data-number">#</th>
|
||||||
@@ -41,10 +42,9 @@ if ( ! isset( $subs ) ) $subs = array();
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
</th>
|
</th>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if ( $mode == 'values' ): foreach ( $labels as $key => $label ): ?>
|
<?php foreach ( $labels as $key => $label ): ?>
|
||||||
<th class="data-<?php echo $key; ?>"><?php echo $label; ?></th>
|
<th class="data-<?php echo $key; ?>"><?php echo $label; ?></th>
|
||||||
<?php endforeach; else: ?>
|
<?php endforeach; ?>
|
||||||
<th class="sp-performance-icons"> </th>
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|||||||
Reference in New Issue
Block a user