Forums Forums Search & Filter Pro Results displayed in grid format for Avada

Tagged: , ,

Viewing 10 posts - 1 through 10 (of 13 total)
  • Trevor
    #165216
    This reply has been marked as private.
    Anonymous
    #165232

    I found a snippet pf code used for FacetWP, not sure if it would work for S&F or not but may help in getting this resolved.

    <?php
    // Add the following into functions.php
    add_action( 'wp_footer', function() {
    ?>
    <script>
    (function($) {
        $(document).on('facetwp-loaded', function() {
            if (FWP.loaded) { // trigger only after the initial refresh
                $blogGrid = $( '.fusion-blog-layout-grid' );
    			$blogGrid.imagesLoaded(function() {
    				$items = $blogGrid.find( 'article' );
    				$blogGrid.isotope( 'appended', $items ).isotope('layout');
    			});
            }
         });
    })(jQuery);
    </script>
    <?php
    }, 100 );
    ?>
    Trevor
    #165234

    I do not think that this would work, but thanks for posting.

    Anonymous
    #166960

    Chris, sorry for taking so long to reply.

    Bottom line: I spoke too soon. The “grid” I spoke of only worked on first load. If I clicked into a listing, then went back to the filter page, the grid layout was no longer there.

    I hate that the basic version of S&F doesn’t use Ajax, but overall, it did what we needed. I might go back to it.

    Trevor
    #166962
    Anonymous
    #166967

    Trevor! Does your wife know you’re up working this late? 😀

    Anonymous
    #166969

    I wouldn’t even know where to put that code on my site.

    Trevor
    #166971

    Humour …..

    I was just about to sign off after following on Twitter the Wasps A Team (their ‘development/academy team) play Leicester Tigers (amazingly, we won), so yes, she is a rugby widow, so she knows.

    Trevor
    #166973

    We can give it a go over Skype. But not now. Off to bed I must go.

    Anonymous
    #166975

    I actually ended up using the short code method and the Custom Post Types for Fusion Builder plugin. I was able to utilize the built in grid, masonry and carousel functions true to Avada along with the Infinite Scroll and Load More functions from Avada. Unfortunately, using the S&F Pro Ajax was still a no go when performing a new search, but I can live without it at this point.

    Custom Post Types for Fusion Builder:
    https://codecanyon.net/item/custom-post-types-and-taxonomies-for-fusion-builder/15572585

    How I utilized it with Search and Filter Pro:
    https://whsnew.pairsite.com/physicians-finder/
    https://whsnew.pairsite.com/locations-practices/

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