Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #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!

    #347341

    Hey 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,
    Yigit

    #349098

    Thank 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?

    #349359

    Hi!

    Add this to disable the spinning wheel:

    .ajax_load {
    display: none !important;
    }

    Best regards,
    Ismael

    #480335

    Hello. 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!

    #480337

    Hi!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    span.ajax_search_excerpt {
        display: none !important;
    }

    Cheers!
    Yigit

    #593335

    Dear 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
    Mauro

    #594286

    Hi!

    Please use this plugin to show products in search results https://wordpress.org/plugins/yith-woocommerce-ajax-search/

    Regards,
    Vinay Kashyap

    #602542

    Thank you, but how can I disable ajax serch?

    #603806
    #895687

    Hi, 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,
    Tom

    #895963

    Hi,
    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,
    Mike

    #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,
    Stephan

    #955053

    Hi Stephan,

    I replied to you in your original thread, please refer to a possible solution there.

    Best regards,
    Victoria

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.