Fixes: Vertical search form
This commit is contained in:
@@ -10,6 +10,8 @@ defined( 'ABSPATH' ) || exit;
|
||||
$GLOBALS['group-info-column'] = 1;
|
||||
|
||||
$display_more_options = isset( $display_more_options ) ? $display_more_options : true;
|
||||
$info_number_input = isset( $info_number_input ) ? $info_number_input : true;
|
||||
$type = $info_number_input ? 'input' : 'select';
|
||||
|
||||
$form_classes = [
|
||||
'opalestate-search-form',
|
||||
@@ -32,7 +34,7 @@ $form_classes = [
|
||||
|
||||
<div class="form-item form-item--information">
|
||||
<h6> <?php esc_html_e( 'Information', 'opalestate-pro' ); ?></h6>
|
||||
<?php echo opalestate_load_template_path( 'search-box/fields/group-info', [ 'type' => 'input' ] ); ?>
|
||||
<?php echo opalestate_load_template_path( 'search-box/fields/group-info', [ 'type' => $type ] ); ?>
|
||||
</div>
|
||||
|
||||
<?php if ( opalestate_is_enable_price_field() ) : ?>
|
||||
|
||||
Reference in New Issue
Block a user