How to Use WP Grid Builder to Filter GenerateBlocks Query Loop
HTML-код
- Опубликовано: 9 ноя 2022
- WP Grid Builder has been for some time now my preferred way to add filters to your WordPress site. Filtering posts of any kind by categories or custom taxonomies, adding search fields and more can all be done with WP Grid Builder facets.
In this tutorial, I show you how to get WP Grid Builder working with the GenerateBlocks Query Loop element. Out of the box, it doesn't quite work due to requiring an additional query argument, but I'll provide you the code to get it working.
Code and more info: permaslug.com/how-to-use-wp-g...
Get WP Code Box: permaslug.com/go/wpgb
Learn about my Generate Made Easy course: permaslug.com/generate-made-e...
-- More --
Join this channel to get access to sweet perks for comments and during live streams and premiers: / @permaslug
Website: permaslug.com - Наука
Oh man, this is great. I would have never figured this out on my own 😭 . I've needed this in the past, and I'm sure I'll need it again! Thanks Jonathan!
You're so welcome! Same here, needed it for a client site
Yes, I'd like to know more about WP GRID BUILDER combined with Generate Blocks. Thanks for the content, top!!!
Perfect time. I will be using this soon. Thank you!! Would love to see more about grid builder.
Man, you saved me with this video. I'm really loving your content focused on GenerateBlocks and how to use it with other powerful plugins. It's unfortunate that other plugins don't integrate with GenerateBlocks as much as with other builders. If you're looking for inspiration for a next video, here is a tricky one that I'm sure will help many people: How to use Meta Box "Relationships" with GenerateBlocks Query Loops :)
Nice video! Just subscribed. I dev mainly with GeneratePress / GenerateBlocks Pro. I’ve been using FacetWP the last few years with their FacetWP Maps Google Maps API / geolocation proximity facet. Wp Grid builder looks to have a for user friendly UI.
Right now I’m looking for a multisite, cross site search solution. I haven’t found one yet. SearchWP may work. FacetWP with the proximity map feature won’t work cross site unfortunately.
Any suggestions?
I found an elastic search plugin built to work with cloudways which I just signed up for. Looking into Multitenancy WaaS as well.
I’ll be sure to check out your site and your GeneratePress course as well as share your quality content in user groups. Looking forward to future videos.
Love this video, just what I need, but the facets are now showing on the front end?
Great vid, thanks!
Just wondering what if we dont have gutenberg access but rather php files - for example how could we hook gridbuilder into sth like a BuddyBoss member directory?
Hey Jonathan, I have a question .. actually two..if you don’t mind… I can’t seem to be able to successfully sort by terms of my custom taxonomy. How to do that properly? Do I need to enable some settings?
My second question: Should I use Meta Box Custom Table extension to store my custom post type posts in a separate table? It has 10 custom fields. It’s allegedly better from performance standpoint. But the drawback is that wpgridbuilder can’t sort by custom fields if I go with that approach.
Thanks for your reply in advance! 🙏🏼😄
Hi Jonathan, how can I use Query Loop pagination with Grid Builder Filter below the main content?
I wonder if this can be adapted to work with Piotnet Grid. I purchased their LTD, and decided to go this route instead of WP Grid Builder. GeberateBlocks really needs Facets. If I could get this to work with Piotnet Grid, it would be a step in the right direction.
how to in Oxygen page builder?
(off the topic) is it possible to set-up a search facet to serach over multiple (ACF) fields?
thanks
the problem with filters here in general for me, in this plugin is that evrytime i refresh the page after i set the filters and save them (in facet ofcourse) , just resets ... i cant set them at all!
Thanks for the overview. On first glance, a little overwhelming. Do you have use other code snippets often when using wpgridbuilder?
I noticed you used codebox for your snippets. Do you prefer it over the code snippets plugins? Any pro’s or con’s of either?
Similar question on wpgridbuilder vs facetwp. Trying to find something relatively lightweight that doesn’t require doing code.
On the category filter, can you specify 2 or more specific categories to limit the query to?
Thanks all your videos.
No other code snippets required for WPGridBuilder.
I prefer WPCodeBox over any other way to manage code snippets, for sure.
WPGridBuilder is a far better choice over FacetWP. You need to incorporate a lot of custom code to make FacetWP work. FacetWP hasn't changed in many years andis very difficult to use compared to WPGB.
Yes, you can combine as many categories and filters together as you want in WPGB
Thanks for the information
Do you have to add the code snippet for each facet?
Hi this helped a lot it's working really nice on query loop block on page. But I have some issues with archive pages using GeneratePress elements with Loop Template, you have some tutorials about this.
Can use in another theme like blocksy or kadence ?
Thanks for the video. Is it possible to put the search input box instead of filter?
Yes absolutely, WP Grid Builder can do that too
Have you noticed that this solution is not working anymore with recent updates to GenerateBlocks and/or to WP Gridbuilder? I implemented your solution and it worked perfectly until recently -- now the filters don't seem to detect the query loop at all. If it's just for me, well it sucks but it's life, I'll have to figure it out. However I'm wondering if it's a more generalized issue, in which case I'd love to hear a comment from you about it. And of course, if you can spare the time, a solution to make it work. I'm willing to pay $ for the solution :)
hi Jonathan, can i use in elementor with loop grid?
I'm not sure as I've barely used Elementor for more than a few minutes
Does Wp Grid Builder use jQuery?
Did anyone find out how to add a adsense custom in-feed ad, randomly inside a grid? im pretty sure its one of the filters..
like every x cards rendered, show a in-grid ad..
don't know how much on the coding side you are, but I'd like to have some more wpgb videos, since the snippets in the documentation are a little bit on the lower side in terms of understanding HOW to use them for real solutions.
Yeah, their documentation leaves a lot to be desired. What would you like to see?
Good to know is that after a while they stop supporting lifetime users. My tickets get automatically deleted by their system.
Gridbuilder in our experience has been the absolute worst support we have ever received from any plugin or theme vendor (and we have bought many). The dev seems to do the "support" himself as well!? Words like abrupt & disinterested come to mind. The worst of the worst. We quickly moved to Piotnet. Night and day in terms of support. So friendly and attentive and a fraction of the price.
I have to agree with this. Rude is the impression that I got from. And it seems like the support is done by the Founder himself. All I wanted was a bit of help because how lacking is their documentation, but then not only he didn't have the patience to watch my Loom video where I made for him to help him understand the full picture of the issue that I'm going through, he just told me to refer to the documention (which isn't helping at all).
Sigh.
@@IvanOung I am sorry to hear about your treatment. We got the same. I would describe it as abosolute and total distain for high paying customers! I would not use the software if it was given away for free.