Hello Dan,
it is possible to change the order, but there is currently no option to group certain listing types (as I have understood your request).
With the release of WPCasa 1.1.0 (which should land in march) we will order listing types and listing locations in the search form, alphabetically by default. In the meantime you can use the following snippet to do this:
/**
* Order Listing Types by Name in Search Form
*/
add_filter( 'wpsight_get_search_fields', 'custom_get_search_fields' );
function custom_get_search_fields( $fields ) {
$fields['listing-type']['data']['orderby'] = 'name';
return $fields;
}
See here how you can add custom snippets to your site.
All the best,
Joe [WPCasa]
Thanks Joe, much appreciated.
So for now, how are the listing listed in the dropdown? Chronologically?
Dan
Hello Dan,
no, by ID. Which obviously doesn’t make much sense. Order by name makes much more sense therefore we will change it with the upcoming release.
All the best,
Joe [WPCasa]