Tell us what you are trying to do?
I am creating a custom search for property listing page. I have created the search bar which has three fields. Price, No. of bedrooms and property type. under the drop down list, i would like the information to be static, rather than populated from the posts on the page, which will change. once i entered the manual drop down list, the values which I have inserted only seem to appear if there is a present post with that corresponding price.
Is there any documentation that you are following?
I have been following your youtube tutorial, which was great, however I am trying make it more user friendly with these tweeks.
Is there a similar example that we can see?
hidden link
Please see the drop down list for price and bedrooms, i am not doing a minimum and maximum, instead just a simple select option
What is the link to your site?
The site is not currently posted as the listings are a test and cannot be loaded online. please find below the code toolset has inserted. In case you can see a simple error.
[wpv-filter-start hide="false"]
[wpv-filter-controls]
<div class="row">
<div class="col-md-3"><div class="form-group">
<label class="label" for="wpv-price">[wpml-string context="wpv-views"]Price[/wpml-string]</label>
[wpv-control-postmeta field="price" type="select" source="custom" default_label="Please Select" url_param="wpv-price" values="300,400,500,600,700,800,900,1000,1100,1200,1300,1400,1500,1750,2000,2250,2500,2750,3000,3500,4000,4500,5000" display_values="£300 PCM,£400 PCM,£500 PCM,£600 PCM,£700 PCM,£800 PCM,£900 PCM,£1000 PCM,£1100 PCM,£1200 PCM,£1300 PCM,£1400 PCM,£1500 PCM,£1750 PCM,£2000 PCM,£2250 PCM,£2500 PCM,£2750 PCM,£3000 PCM,£3500 PCM,£4000 PCM,£4500 PCM,£5000 PCM," class="input-style"]
</div></div>
<div class="col-md-3"><div class="form-group">
<label class="label" for="wpv-number_of_bedrooms">[wpml-string context="wpv-views"]Number of Bedrooms[/wpml-string]</label>
[wpv-control-postmeta field="number_of_bedrooms" type="select" source="custom" default_label="Please Select" url_param="wpv-number_of_bedrooms" values="0,1,2,3,4,5,6" display_values="Studio,1 Bed,2 Beds,3 Beds,4 Beds,5 Beds,6 Beds" class="input-style"]
</div></div>
<div class="col-md-3"><div class="form-group">
<label class="label" for="wpv-property_type">[wpml-string context="wpv-views"]Property Type[/wpml-string]</label>
[wpv-control-postmeta field="property_type" type="select" default_label="Please Select" url_param="wpv-property_type" class="input-style"]
</div></div>
<div class="col-md-3">[wpv-filter-reset reset_label="Reset Search" output="bootstrap" class="reset-button"]</div>
</div>[/wpv-filter-controls]
[wpv-filter-end]