NooTheme Premium WordPress Theme › Forums › CitiLights › Mobile Search Feature
- This topic has 8 replies, 2 voices, and was last updated 2 years, 4 months ago by
dangdv.
-
AuthorPosts
-
2 years, 4 months ago #1209181
Hi,
The mobile search feature is not working properly anymore. The PC version is ok but the mobile shows "Nothing Found" when searching the website. I really need your help with this.
Thanks,
Hyperion Bnb
2 years, 4 months ago #1209182This reply has been marked as private.2 years, 4 months ago #1209187This reply has been marked as private.2 years, 4 months ago #1209203Dear, I check and see the search still working, please see video and check your site again.
best regards.
2 years, 4 months ago #1209216This reply has been marked as private.2 years, 4 months ago #1209237Hi,
Is there an update on this issue? Mobile search is not working at all.
Thanks!
2 years, 4 months ago #1209238Hi,
Please see attached video below: that is what I'm seeing when I click search on mobile:
2 years, 4 months ago #1209239This reply has been marked as private.2 years, 4 months ago #1209246Dear, I check your site i see that problem because you custom search field select, to fix your problem please:
1. Remove value none (change to empty) in file 'layouts/noo-property-search-style-2.php' (see attachment)2. Add custom code in file functions.php of your theme to change search query work with multi select cities
add_filter('re_property_search_tax_query', function($tax_query, $request){ $tax_list = array( 'location' => 'property_location', 'sub_location' => 'property_sub_location', 'category' => 'property_category', 'status' => 'property_status', ); $tax_list = apply_filters( 're_property_query_tax_list', $tax_list ); if ( !empty( $tax_list ) ) { foreach ($tax_list as $tax_key => $term) { if( isset( $REQUEST[$tax_key] ) ) { $value = $REQUEST[$tax_key]; $value = is_array($value) ? array_filter($value) : trim($value); if(empty($value)){ continue; } $tax_query[] = array( 'taxonomy' => $term, 'field' => 'slug', 'terms' => implode(',', (array) $value) ); } } } return $tax_query; },10,2);
Best regards.
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.