Update information fields.
This commit is contained in:
@@ -4,14 +4,14 @@ if ( ! $fields ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$type = isset( $type ) ? $type : '';
|
||||
$column = isset( $GLOBALS['group-info-column'] ) ? $GLOBALS['group-info-column'] : 3;
|
||||
if( $type != 'input' ) {
|
||||
$type = isset( $type ) ? $type : '';
|
||||
$column = isset( $GLOBALS['group-info-column'] ) ? $GLOBALS['group-info-column'] : 3;
|
||||
if ( $type != 'input' ) {
|
||||
$col_class = 'col-lg-' . ( 12 / absint( $column ) ) . ' col-md-' . ( 12 / absint( $column ) ) . ' col-sm-' . ( 12 / absint( $column ) );
|
||||
} else {
|
||||
$col_class = 'column-item';
|
||||
}
|
||||
|
||||
|
||||
foreach ( $fields as $key => $label ): ?>
|
||||
<?php if ( 'areasize' == $key ) : continue; endif; ?>
|
||||
<div class="<?php echo esc_attr( $col_class ); ?>">
|
||||
|
||||
@@ -11,7 +11,7 @@ $search_max_price = isset( $_GET['max_price'] ) ? sanitize_text_field( $_GET['ma
|
||||
|
||||
$showareasize = opalestate_options( OPALESTATE_PROPERTY_PREFIX . 'areasize_opt', 1 );
|
||||
$showprice = opalestate_options( OPALESTATE_PROPERTY_PREFIX . 'price_opt', 1 );
|
||||
$fields = OpalEstate_Search::get_setting_search_fields( '_v' );
|
||||
$fields = OpalEstate_Search::get_setting_search_fields();
|
||||
|
||||
?>
|
||||
<div class="ajax-map-search full-width">
|
||||
|
||||
Reference in New Issue
Block a user