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 630 Bricks code tutorials with BricksLabs Pro
Pro Top-level Pages and Children Bricks Query LoopThis Pro tutorial for Bricks users can be considered Part 2 or a variation of the earlier Bricks Query Loop for Top-level Parent Pages with…Read more →Categories: Bricks, ProTags: Nested Queries
Pro Custom Nested Queries in BricksIn most of the previous tutorials covering nested query loops in Bricks on this site, we accessed the parent query's looping object in the inner…Read more →Categories: Bricks, ProTags: Nested Queries, Query Loop
Pro Masonry Accordion Query Loops in Bricks BuilderLearn how to enable masonry layout for nestable accordions in Bricks builder and use JavaScript to re-layout the masonry on accordions' open and close.Read more →Categories: Bricks, JavaScript, ProTags: Accordion
Pro Querying Posts by ACF Date Sub Field in BricksUpdated on 17 Nov 2023. This Pro tutorial shows how we can set post__in query parameter of a query loop in Bricks to an array…Read more →Categories: Bricks, Plugins, ProTags: ACF Pro
Pro Meta Box Image Advanced Galleries using lightGallery in BricksShowing images in a lightGallery from Image Advanced sub fields inside a Meta Box Group Field.Read more →Categories: Bricks, Plugins, ProTags: Gallery, lightGallery, Media, Meta Box, Query Loop
Pro Accordion Grid Query Loop in BricksHow to set up a accordion in Bricks such that the "titles" are arranged in a grid with the full width content opening below.Read more →Categories: Bricks, ProTags: Accordion, CSS, 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
Displaying SureCart Featured Products & Products Collections with a Query LoopWe walk through how to use a query loop to display SureCart products, featured products & collections.Read more →Categories: Bricks, Free, PluginsTags: Query Loop, SureCart
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