We have not tested whether our plugin is or not compatible with The Grid from theme-one.
You could test it though. Make a test page, and a test form. Let us say that the form ID is 1234.
On the page you need three things.
#1. Somewhere on the page you need the form (either a widget or the shortcode, e.g. [searchandfilter id="1234"]
#2 Immediately before the grid, another shortcode: [searchandfilter id="1234" action="filter_next_query"]
This simply links the form to the grid (if it works) and does not appear on the page).
#3 The grid itself. Try to keep the content settings to default. If there is an option for Masonry, do not enable it. Keep pagination standard.
AnonymousInactive
Hi,
I’m using Enfold theme and I wanted to filter portfilo in masonry.
I have pasted this to text field before masonry:
[searchandfilter id=”757″]
[searchandfilter id=”757″ action=”filter_next_query”]
Filter works, but only after I refresh the page by hand. Submit button doesn’t work.
Another question regarding headings in filter – they are not visible no matter what I do.
Thank you for your help.
AnonymousInactive
Hi,
I have a problem getting AJAX to work on page designed with Beaver Builder. It is not an archive or a layout / part made in Beaver Themer – just a normal page.
I am using it exactly as described here: https://searchandfilter.com/documentation/3rd-party/beaver-builder/ with the integration plugin installed and by using the normal Posts Module with the “Columns” layout (but I’ve tried Masonry too, which gave me the same result).
I have also set the Results URL correctly in settings, and it seems like it should all be working, and it does if I’m not using AJAX, but with AJAX it just “blinks”, and nothing changes when filtering.
I kept the “change URL…”-setting turned ON because it works if I go up to the browsers address bar after filtering and simply hit enter, OR if I turn AJAX off. I can’t find any console errors.
Please help me figure this out. I really want to use AJAX with this plugin.
Here is the page: https://gothenburgculturefestival.dearstage.se/mat/
AnonymousInactive
Hello, is there a way I can edit the result layout to be exactly the same as the layout of my portfolio? The layout that I want to copy is a 3 column masonry grid. Upon checking the layout of the results, it was just big images with titles and post dates. I hope you can help me!
AnonymousInactive
Hi Trevor,
I finaly found the solution using a part of your code and Masonry documentation.
This is my full process to help other if you have a new request about that :
> I create a search&filter form using shortcode method, ajax load and infinite scroll.
> I used the RESULTS template of Infinite scroll but i delete the div ‘search-filter-results-list’.
> I call the masonry JS file and i use this function to apply the masonry system to my grid :
$container = $('.search-filter-results');
$container.masonry({
itemSelector: '.post',
columnWidth: '.post'
});
$(function(){
$(document).on("sf:ajaxfinish", ".searchandfilter", function(){
console.log("ajax finish");
$container.masonry('reloadItems');
$container.masonry().append().masonry('appended');
});
}(jQuery));
Thanks a lot for your help.
Simon.
I am not overly familiar with the masonry coding. We did once figure a way to do it (our developer did), see here (I have gone back through the thread to reveal most of the posts, redacting sections where needed for privacy, anything still private has nothing important in):
https://support.searchandfilter.com/forums/topic/infinite-scroll-with-masonry
Maybe add this to the page also then:
<script type="text/javascript">
$(function(){
$(document).on("sf:ajaxfinish", ".searchandfilter", function(){
console.log("ajax finish");
$('.search-filter-results').masonry({
itemSelector: '.post',
columnWidth: '.post',
});
});
}(jQuery));
</script>
The problem is then that Masonry has to be re-applied on each ‘page’ load.
How do/did you apply it when the page first loads?
The layout does not look good after the first 6 posts. Is this what you mean? If masonry is OF, is it then OK?
AnonymousInactive
Hello,
I’m using your grat plugin to display results (images) in a masonry grid but with the infinite scroll that doesn’t word. I’m using the shortcode method.
Can you help me and explain me the full method to implement masonry inside your plugin process ?
Waiting your feedback, thanks.