Check for 0 grouping instead of position
This commit is contained in:
@@ -19,7 +19,7 @@ foreach ( $lists as $list ):
|
|||||||
$id = $list->ID;
|
$id = $list->ID;
|
||||||
$grouping = get_post_meta( $id, 'sp_grouping', true );
|
$grouping = get_post_meta( $id, 'sp_grouping', true );
|
||||||
|
|
||||||
if ( $grouping !== 'position' && sizeof( $lists ) > 1 ):
|
if ( $grouping == 0 && sizeof( $lists ) > 1 ):
|
||||||
?>
|
?>
|
||||||
<h4 class="sp-table-caption"><?php echo $list->post_title; ?></h4>
|
<h4 class="sp-table-caption"><?php echo $list->post_title; ?></h4>
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
Reference in New Issue
Block a user