Possibility to modify the search directly?

Forums › Forums › Search & Filter Pro › Possibility to modify the search directly?

Viewing 2 posts – 1 through 2 (of 2 total)
  • Anonymous
    #34523

    When I search something mouse go away of search box, it is possible to remain on search box in order to edit the word we are looking for?

    Ross Moderator
    #34563

    Hey Alessandro

    There is no built in way, but with some customisation your should be able to achieve what you need.

    Check the Ajax events here (first question):

    http://www.designsandcode.com/wordpress-plugins/search-filter-pro/faqs/

    So, you would need to detect ajax finishing loading, and then you would need some JS to add focus to the search box again – so something like (untested):

    //detects when the ajax request has finished and the content has been updated
    // - add scripts that apply to your results here
    $(document).on("sf:ajaxfinish", ".searchandfilter", function(){
    	//focus the search box
    	$('.searchandfilter input[type="text"]').focus();
    });

    Thanks

Viewing 2 posts – 1 through 2 (of 2 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.