Created
April 26, 2022 16:00
-
-
Save hivepress/ca4e2975aefc788bf57cb0c3a8cc9e88 to your computer and use it in GitHub Desktop.
Remove the Location field from the listing search form #hivepress #geolocation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( | |
'hivepress/v1/forms/listing_search', | |
function( $form ) { | |
unset($form['fields']['location']); | |
return $form; | |
}, | |
1000 | |
); |
This is related to the Flatpickr script we're using, and would require code customizations flatpickr/flatpickr#1812 We'll also consider making this change in the next update, you can describe the bug here https://community.hivepress.io/c/bug-reports/6
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi. I need way to disable the mobile keyboard from displaying on click of the dates field. Choose from the calendar only.