Fix double header when multiple player lists displayed in team
This commit is contained in:
@@ -22,7 +22,7 @@ foreach ( $lists as $list ) :
|
||||
$id = $list->ID;
|
||||
$grouping = get_post_meta( $id, 'sp_grouping', true );
|
||||
|
||||
if ( $grouping == 0 && sizeof( $lists ) > 1 ) :
|
||||
if ( $grouping == 'position' && sizeof( $lists ) > 1 ) :
|
||||
?>
|
||||
<h4 class="sp-table-caption"><?php echo wp_kses_post( $list->post_title ); ?></h4>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user