$field){ if($field['sidebar'] == $slug){ if(isset($field['limit'])){ $limit = $field['limit']; }else{ $limit = ''; } ?>