20th Sep '24/0 commentsPosts older than today in BricksSridhar Katakam Looking to show posts that were published before today in a Bricks posts query loop? This Pro tutorial shows how this can be done using WordPress' date_query query parameter. Set up a query loop in your Bricks Page/template. Click the query icon and enable PHP query editor. Paste: This is a BricksLabs Pro tutorial. For full access login below or create your BricksLabs Pro account Username Password Remember Me Forgot Password Tagged: Bricksdate_queryProSridhar KatakamSridhar Katakam is a Bricks enthusiast. He likes helping others by researching and solving WordPress-related problems and building websites.Get access to all 610 Bricks code tutorials with BricksLabs Pro
Auto Responsive Grids in BricksThis tutorial provides the CSS that can be pasted for automatic responsive grids in Bricks Builder. Posts element Each post will get a right padding…Read more →Categories: Bricks, FreeTags: CSS, CSS Grid, Posts element, Query Loop
Pro Ordering Posts by Terms in BricksHow to output upcoming events at the top and past events below in a single query loop in Bricks.Read more →Categories: Bricks, ProTags: Query Loop
How to add a layout toggle on query loops in BricksIn this tutorial, we’ll show you how to change the layout of your query loop container based on the click of an icon toggle sitting…Read more →Categories: Bricks, FreeTags: Query Loop
Pro Child Posts Section in BricksThis Pro tutorial provides the steps to limit the posts (can be of any post type) output by Bricks' query loop to children of the…Read more →Categories: Bricks, ProTags: Query Loop
Pro Post Titles and Post Content Tabs in BricksHow to set up Nestable tabs with post titles as the tab menu, and post content and/or any other post-specific data as the tab content.Read more →Categories: Bricks, ProTags: Query Loop, Tabs
Pro Parent Query Loop Object – Traversing Nested Query Loops Up in BricksBricks enables us to build nested query levels of unlimited levels. Here are a couple of examples: Sometimes, you might want to obtain the parent…Read more →Categories: Bricks, ProTags: Nested Queries
Pro YouTube Video Timestamps in BricksThis Pro tutorial provides the steps to output a YouTube video given its ID with custom timestamps and their description text using ACF Pro or…Read more →Categories: Bricks, Plugins, ProTags: ACF Pro, ACF Repeater, Interactions, Loop Index, Meta Box
Pro Meta Box Cloneable Field Query Loop in BricksUpdated on 5 Mar 2025 This Pro tutorial provides the steps to create a custom query type for outputting the values of one or more…Read more →Categories: Bricks, Plugins, ProTags: Custom Query Type, Meta Box, Query Loop
How to List Your Posts Divided by Categories in BricksIn this tutorial, we'll learn how to display a list of posts divided by each category. The DOM tree Here is how I structured my…Read more →Categories: Bricks, FreeTags: Dynamic Data, Query Loop