AnonymousInactive
Thanks for getting back to me Trevor, good to know it can work as in list view ((I’ll take it)). It would be handy to continue using the Beaver Builder shortcodes to build out the results info.
Ollie
AnonymousInactive
Hi,
Does anyone have a grid layout result using the shortcode that they can share?
Or an alternative using Beaver builder to gain a grid output?
Spent way too much time on this one now and hoping someone can help?
We do not support the filtering of Pods templates because they do not use the WP Query function to fetch data. Instead they use Pods custom code to show the posts.
Beaver Builder and Beaver Themer should work, this post gives some details and information:
https://support.searchandfilter.com/forums/topic/second-search-comes-up-blank/#post-160521
And this post on how to (generally) trigger Masonry on Ajax reload of results:
https://support.searchandfilter.com/forums/topic/reload-masonry-grid-after-ajax-call/#post-165867
AnonymousInactive
Hi
I am using Generate Press, Beaver Builder, Themer and Pods.
I have created a template in Pods to show my search results. I could not get this to work with SFP. I then build a template in Themer to show the search result, again I can not get SFP to use this template.
Can you please help. I’ve tried using shortcode and archive methods. I’ve tried with Ajax disabled and on. I’ve tried using the custom template from Pods in results.php, this did not work.
Your help would be much appreciated to get either Pods or Themer to work with SFP to show the results.
AnonymousInactive
Hi Trevor
I have been working with Justin Busa on the Beaver Builder end with regards to this issue who has confirmed that it is not a problem specific to Beaver Themer.
Even with Beaver Themer deactivated, when SFP is active, CPT archives aren’t returning any posts and the $post object is NULL – please see the attached screenshot.
https://www.dropbox.com/s/flr7ipew95rsiyt/Screenshot%202018-01-15%2010.01.47.png?dl=0
It’s definitely an issue with the Search & Filter Pro plugin. Can you please have a look at this urgently?
Thanks in advance!
So, after installing the AdBlock extension to Chrome and in that extension’s advanced setting get it to show errors in the console, in the browser console you now have an AdBlock tab. Set that to show only SCRIPTS, refresh the page with that tab open, and then you can disable/block scripts to see which is causing the problem. Obviously, there are some you would not block, like jQuery.
Doing this, we found that it was the Beaver Builder script that, when blocked, this autoscrolling no longer happens. That would suggest that script/file is the problem.
You are now getting back to them over that after our Skype call.
AnonymousInactive
Trevor –
Hello again. Beaver Builder hasn’t been able to find anything with regard to that auto-scrolling issue.
I tried changing the theme (to Astra) and the auto-scrolling still seems to happen on pages with S&F. https://tsas4.staging.wpengine.com/affiliate/
So it’s likely not theme related.
Could there be a setting in S&F to disable this?
Thanks for your help!
It is from Beaver Builder I think. There may even be a setting for it.
AnonymousInactive
Thanks again. With regard to the second issue, at your suggestion, I played with a few settings on Beaver Builder and get that to work (http://tsas4.wpengine.com/working-paper/). Fixed!
Is there a way to remove the Masonry script so that I don’t get the auto-scroll down on pages that have S&F? Is that something from the Avada theme, Beaver Builder or S&F?
I took a look at the Page Builder and I am not familiar enough with it to try my idea. It was to use the Custom Display Results Method and either hook in the PHP template, or use the filter_next_query
shortcode [e.g. [searchandfilter id="1428" action="filter_next_query"]
]immediately before the grid). However, I can see that it is using Masonry to arrange the posts, and it may be that this will need re-triggering to re-arrange the posts each time a search is done.
Using a different theme (Beaver Themer), one user (@Ash) has very kindly posted how he did it:
https://support.searchandfilter.com/forums/topic/beaver-themer-integration-info-on-documentaion-page/
https://support.searchandfilter.com/forums/topic/beaver-themer-integration-info-on-documentaion-page-2/
https://support.searchandfilter.com/forums/topic/beaver-themr-integration-on-taxonomy-archive/
https://support.searchandfilter.com/forums/topic/beaver-builder-themer-integration/
Other than that, you may need to talk to the (very nice and helpful) guys at Beaver Builder.
The javascript method required to be able to re-trigger Masonry (not specific to Beaver Builder) uses code like this:
<script>(function ( $ ) {
"use strict";
$(document).on("sf:ajaxfinish", ".searchandfilter", function(){
console.log("ajax complete");
// load your Masonry trigger code here
});
}(jQuery));</script>