Results displayed in grid format for Avada

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

Tagged: , ,

Viewing 10 posts – 1 through 10 (of 14 total)
  • Anonymous
    #165176

    I am currently building out a website for a hospital and have been spending countless hours trying to find a work around for this using Avada. Unfortunately, I have been able to come up with nothing when activating the Ajax within S&F. Currently I have 2 separate search pages, one for Location and one for Physicians. I currently using the Display Results: Post Type Archive and using some of the built in Avada Theme Options and some CSS to get my grid results but have to use it without Ajax enabled.

    I would love to get the code for if anyone can figure this out.

    Josh, I would be interested in how you were able to get the results to use the Recent Posts element in the Fusion Builder.

    Here are the pages I have setup:
    https://whsacf.ideaswithoutlimits.com/physicians/
    https://whsacf.ideaswithoutlimits.com/locations/

    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.

Viewing 10 posts – 1 through 10 (of 14 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.