Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › user livefr codecanyon
- This topic has 11 replies, 2 voices, and was last updated 6 years, 2 months ago by
Ernest Marcinko.
-
AuthorPosts
-
March 3, 2020 at 1:51 pm #26109
livefr57
ParticipantHello, thanks for answering. Could you tell me where I can apply these changes?
1) I also need to know how I can get this design when searching my page, since with its search engine the design changes:
As you can see, the design changes and I like the first one because it shows the brand and its more flexible design
-
This topic was modified 6 years, 3 months ago by
livefr57.
March 3, 2020 at 5:17 pm #26119Ernest Marcinko
KeymasterHi!
I think the issue is, that the search redirection is not set to the WooCommerce results page. Make sure to change that under the Magnifier and Return events. That will resolve the issue 🙂
March 4, 2020 at 1:21 pm #26134livefr57
ParticipantYou cannot access this content.
March 4, 2020 at 4:29 pm #26135livefr57
ParticipantYou cannot access this content.
March 4, 2020 at 4:45 pm #26137Ernest Marcinko
KeymasterHi,
In that case, if you want to remove the spaces anyway, then I recommend using a custom code.
Try adding this custom code to the functions.php in your theme/child theme directory. Before editing, please make sure to have a full site back-up just in case!
add_filter('asp_search_phrase_before_cleaning', 'asp_replace_characters', 10, 1); add_filter('asp_query_args', 'asp_replace_characters', 10, 1); function asp_replace_characters( $s ) { $characters = " "; // Type characters one after another $replace_with = ''; // Replace them with this (space by default) if ( is_array($s) ) { if ( isset($s['s']) && !$s['_ajax_search'] ) $s['s'] = str_replace(str_split($characters), $replace_with, $s['s']); } else { $s = str_replace(str_split($characters), $replace_with, $s); } return $s; }March 5, 2020 at 8:38 am #26144livefr57
ParticipantYou cannot access this content.
March 5, 2020 at 4:06 pm #26147livefr57
ParticipantYou cannot access this content.
March 5, 2020 at 5:20 pm #26151Ernest Marcinko
KeymasterHi,
This is a ticket, you can mark each reply that you want to have private with the “Set as private reply” checkbox. All server related details in your first post are also private, not visible to anyone.
March 6, 2020 at 8:41 am #26154livefr57
ParticipantYou cannot access this content.
March 6, 2020 at 5:16 pm #26163Ernest Marcinko
KeymasterYou cannot access this content.
March 7, 2020 at 9:32 am #26167livefr57
ParticipantYou cannot access this content.
March 7, 2020 at 2:38 pm #26168Ernest Marcinko
KeymasterYou cannot access this content.
-
This topic was modified 6 years, 3 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.