-
AuthorPosts
-
November 6, 2014 at 8:29 pm #347338
How do I disable the “instant search” results dropdown from appearing? I don’t want people to see the instant results, just go directly to the search results page.
Thank you again for your phenomenal support!
November 6, 2014 at 8:32 pm #347341Hey atrixdave!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
#top #searchform .ajax_search_response { display: none !important; }
Best regards,
YigitNovember 10, 2014 at 11:31 pm #349098Thank you Yigit! This did the trick :) Is there a way to stop the “wheel from spinning” over the Search button icon when characters are entered in the search box?
November 11, 2014 at 2:00 pm #349359Hi!
Add this to disable the spinning wheel:
.ajax_load { display: none !important; }
Best regards,
IsmaelJuly 29, 2015 at 4:28 pm #480335Hello. When doing the AJAX search my client is seeing a string of dates under the results. They are all the same date that doesn’t seem to have any correlation to anything. Is there a away to just disable the dates? Thanks!
July 29, 2015 at 4:35 pm #480337Hi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
span.ajax_search_excerpt { display: none !important; }
Cheers!
YigitMarch 4, 2016 at 4:23 pm #593335Dear Kriesi,
we want to disable ajax search and replace it with WooCommerce Predictive Search (or any other suitable) to give precedence to products over post or pages
I followed instruction in this post and also in
https://kriesi.at/support/topic/disabling-ajax-search/
and
https://kriesi.at/support/topic/remove-or-fix-ajax-search-functionality/but still results appear normally from ajax search.
(I disabled cache plugin and tested in incognito mode)Thank you
MauroMarch 7, 2016 at 1:51 pm #594286Hi!
Please use this plugin to show products in search results https://wordpress.org/plugins/yith-woocommerce-ajax-search/
Regards,
Vinay KashyapMarch 23, 2016 at 3:10 pm #602542Thank you, but how can I disable ajax serch?
March 26, 2016 at 11:48 am #603806Hey!
refer to this answer: https://kriesi.at/support/topic/remove-or-fix-ajax-search-functionality/#post-191973
Regards,
AndyJanuary 10, 2018 at 3:01 pm #895687Hi, sorry to revive an old thread but haven’t found a real solution.
Commenting out a line in the core Enfold file isn’t really a good option, it’ll be overwritten when we update.Can you add a settings selector for this in the next update maybe? Or give us a better way to turn it off, than hacking the main theme files, or using display:none :-)
Thanks,
TomJanuary 11, 2018 at 4:25 am #895963Hi,
Please try using a Child Theme so the customizations you make will not be overwritten by an update. For the Remove or fix Ajax search functionality solution that is in this thread, it called for editing the avia.js.
To add the avia.js to your child theme, Create a js folder then place a avia.js file inside. Add this on the child theme’s functions.php:function wp_change_aviajs() { wp_dequeue_script( 'avia-default' ); wp_enqueue_script( 'avia-default-child', get_stylesheet_directory_uri().'/js/avia.js', array('jquery'), 2, true ); } add_action( 'wp_print_scripts', 'wp_change_aviajs', 100 );
Please feel free to request – or vote if already requested – adding a settings selector in the next update on Enfold feature request form.
Best regards,
MikeMay 9, 2018 at 3:34 pm #953984@Yigit, @Ismael: Adding CSS rules
display: none !important;
is no real solution, because it leaves the information in the source code.
@Mike: The child theme approach with a customized avia.js worked fine until Enfold version 4.3. Now it throws an exception error in the WP backend, even with an identical copy of the latest avia.js in the child theme folder.Cheers,
StephanMay 11, 2018 at 7:37 am #955053Hi Stephan,
I replied to you in your original thread, please refer to a possible solution there.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.