Check for 0 grouping instead of position

This commit is contained in:
Brian Miyaji
2014-06-20 17:42:25 +10:00
parent 6d6148280e
commit 686d0de0d8

View File

@@ -19,7 +19,7 @@ foreach ( $lists as $list ):
$id = $list->ID;
$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>
<?php