Forums Forums Search & Filter Pro No filter result

Viewing 10 posts - 1 through 10 (of 12 total)
  • Trevor
    #217914
    This reply has been marked as private.
    Anonymous
    #217935
    This reply has been marked as private.
    Trevor
    #218008
    This reply has been marked as private.
    Anonymous
    #218023
    This reply has been marked as private.
    Trevor
    #218124
    This reply has been marked as private.
    Anonymous
    #218870
    This reply has been marked as private.
    Trevor
    #218874

    Is it even logging ajax complete to the console? If it is not, then the code may need to be different. Assuming the loadMasonry function finishes before the loadMasonry() call, our code would need to be this:

    (function ( $ ) {
      "use strict";
      $(document).on("sf:ajaxformfinish", ".searchandfilter", function(){
        console.log("ajax complete");
        loadMasonry();
      });
    }(jQuery));
    Anonymous
    #218926
    This reply has been marked as private.
    Anonymous
    #218930

    Hi Trevor,

    Apart from the “ajax complete” issue, I notice that the loading speed on mobile is extremely slow (about 10s waiting time). The loading speed on desktop is fine. Are there any particular reasons causing this slow loading issue on mobile? I have already tried rebuilding the cache but there’s no obvious improvement on page speed.

    Anonymous
    #218932

    Hi Trevor,

    1. Update on the “ajax complete” issue
    I used the following code and the masonry is reloaded now. Not sure if it is the best solution though. Please feel free to advise.
    $(document).ajaxComplete(function() {
    loadMasonry();
    });

    2. Slow loading speed on mobile
    I unchecked the options “Post Type Archives”, “Tag, Category & Taxonomy Archives” and “Author Archives” on the settings page and the page speed has instantly improved on mobile. Are there any other options that I can turn off to improve the page speed further?

    Thanks,
    Anna

Viewing 10 posts - 1 through 10 (of 12 total)