Your address will show here +12 34 56 78

Home Forums WP RESIDENCE – Real Estate WordPress Theme FORUM Properties List – Default View changed to List (how to change in code) – GRID / LIST Reply To: Properties List – Default View changed to List (how to change in code) – GRID / LIST

#104694

fspiluttini
Participant

Excuse me, but do not understand, on line 52, is an array… ?

$taxcateg_include = array();

foreach($current_adv_filter_search_action as $key=>$value){
$taxcateg_include[]=sanitize_title($value);
}

$categ_array=array(
‘taxonomy’ => ‘property_action_category’,
‘field’ => ‘slug’,
‘terms’ => $taxcateg_include
);
$col_class = ‘col-md-12’;
$current_adv_filter_search_label= $current_adv_filter_search_action[0];
}else{
$current_adv_filter_search_label=__(‘All Actions’,’wpestate’);
}