Improved query loop builder with ability to use any parameters in the UI

Are there plans to further extend the UI of Query Loop with something like ‘advanced mode’, where you have all the wp_query parameters at your disposal? I am coming from another page builder (Oxygen), where you can put together literally any query you can imagine. I know Bricks has the support for this as well, but as soon as I want to use a wp_query which isn’t built into the UI, I have to tinker with code snippets.

For a super simple example: Let’s say you want to specify no_found_rows = 'true' … We can’t do that from the UI.

Here’s how it looks in Oxygen:

You click on the “add parameter” button on the bottom of the window, and you have any parameter available to work with, including bringing in dynamic data and php function return value.

So unless I’m missing something, the UI Query Loop builder is not as robust as it could be.

Thanks for the hard work! Bricks is easily my favorite builder right now.

EDIT:

As sort of a workaround, I decided to try implementing what I want with a code snippet following this tutorial, which I succeeded with, but I couldn’t figure out how to add more than one custom wp_query loop. If I re-use the entire code snippet again, my website breaks.

3 Likes

Have used Oxygen before too. It would be very useful to add a kind of advanced query builder to Bricks, which support all WP_query parameters.

Have had the same issue with breaking the page when adding a second custom query loop.

1 Like

@albertvisuals, @StripedGoat
I’ve since updated the tutorial to include an example of adding multiple queries.

3 Likes

what tutorial, so we can do this natively in bricks? just wondering :slight_smile: - thanks for any info

1 Like

Here is the link: Adding any Custom WP_Query loop to Bricks’ Query Loop – BricksLabs

thanks! so another, code all yourself approach. very sad. :confused: but thanks for the link!

Not necessarily. You could generate the Query using the query generator: WP Monkey - Make your development faster!

Then you just have to copy and paste it and change the query-1, query-2 tags.

2 Likes

yeah still nothing inside bricks natively. as they claim about nocode…

You’re still able to build a site using bricks with no code. These are advanced things being asked for. It’ll take time to come around, if at all.

Sadly enough the option still isn’t there. I googled to see if there was a way to add no_found_rows easily to a query in Bricks and found this 1 year old thread and sadly we still have to do it with code.

It would be great if they added options to the query builder. Bricks Ultimate has something called Ultimate Query Builder which really should be a core feature in Bricks.