Forums Forums Search & Filter Pro Search & Filter 2.0 Update and Questions

Viewing 10 posts - 11 through 20 (of 24 total)
  • Anonymous
    #26684

    Hi ross, i need your wisdom!

    Anonymous
    #26732
    This reply has been marked as private.
    Ross Moderator
    #26749
    This reply has been marked as private.
    Anonymous
    #26820
    This reply has been marked as private.
    Ross Moderator
    #26853

    Ok, so your issue with pagination and a bunch of stuff not working is because you didn’t fill in the results url…

    Please see the docs on how to set this up properly:

    http://www.designsandcode.com/documentation/search-filter-pro/search-results/using-a-shortcode/

    I’ve gone ahead and put this in for you.

    So now, bookmarkable urls, and pagination should work correctly.

    The next issue is you are using the same taxonomy multiple times.

    This is in the docs.. here you will also find instructions on adding new fields the right way:

    http://www.designsandcode.com/documentation/search-filter-pro/getting-started/adding-new-fields/#Note_Some_Restrictions

    Thanks

    Anonymous
    #26877
    This reply has been marked as private.
    Anonymous
    #26878
    This reply has been marked as private.
    Anonymous
    #26905
    This reply has been marked as private.
    Anonymous
    #26966
    This reply has been marked as private.
    Anonymous
    #26974

    Ross i did almost everything šŸ˜€ hide empty fields…so easy šŸ˜€

    So right now i need only that part…. you already say that to me… where i place this:

    “3) This is not an option just yet in S&F however Iā€™m thinking of adding this in the admin, but its really not too difficult to implement.

    What you would need to do is hide the div initially with CSS ā€“ which would be either .search-filter-results or #search-filter-results-1234

    This means your results would start off hidden.

    Then you would need to display the results after a search has been performed by the user ā€“ you can do this with JS by attaching an event listener to detect when a search has completed:

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

    //detects the start of an ajax request being made
    $(document).on(“sf:ajaxstart”, “.searchandfilter”, function(){
    console.log(“ajax start”);
    });

    //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(){
    console.log(“ajax complete”);
    //so load your lightbox or JS scripts here again
    });

    //an event fired when S&F is initialised and S&F scripts have been loaded
    $(document).on(“sf:init”, “.searchandfilter”, function(){
    console.log(“S&F JS initialised”);
    });
    view rawsf-pro-ajax-events.js hosted with ā¤ by GitHub
    What you would need to use is the Ajax finish event, and there you would use jQuery to show your results again.

    Thanks”

Viewing 10 posts - 11 through 20 (of 24 total)