5, 'column' => 3, 'paged' => 1, 'showsortby' => false, 'style' => 'grid', ], $settings ); extract( $settings ); if ( is_front_page() ) { $paged = ( get_query_var( 'page' ) ) ? get_query_var( 'page' ) : 1; } else { $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1; } $args = [ 'posts_per_page' => $posts_per_page, 'paged' => $paged, 'cities' => $cities, 'categories' => $categories, 'operator' => $cat_operator, 'types' => $types, 'statuses' => $statuses, 'showmode' => $showmode, 'labels' => $labels, ]; $query = Opalestate_Query::get_property_query( $args ); $class = 'column-item'; ?> 'list' ] ); ?>