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 633 Bricks code tutorials with BricksLabs Pro
Latest Featured Posts First in Bricks Query Loop (No Duplicates)In the Bricks Facebook group a user asks: We can use AI to help unfreeze our brains sometimes or at least have it write the…Read more →Categories: Bricks, FreeTags: Query Loop
Pro Posts Grouped by Taxonomy Terms in Bricks using BricksExtras’ Dynamic Table and Pro TabsHow to output any post type, with the taxonomy terms as Tab titles and posts inside tables with sortable columns.Read more →Categories: Bricks, Plugins, ProTags: BricksExtras, Nested Queries
Pro Category Posts Accordion in BricksThis Pro tutorial provides the steps to set up a dynamic accordion of posts grouped by their categories based on the previous Posts Grouped by…Read more →Categories: Bricks, ProTags: Accordion, bricks/posts/query_vars, Nested Queries
Pro ACF Post Object Query Loop inside a Posts Query Loop in BricksHow to loop through a CPT and within each post, output a list of related posts.Read more →Categories: Bricks, Plugins, ProTags: ACF, Nested Queries
Pro Post-specific ACF Repeater Galleries as Sliders in BricksHow to output ACF Repeater field rows with the images of the Gallery-type sub field as a slider.Read more →Categories: Bricks, Plugins, ProTags: ACF Pro, Nested Queries
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 Staggered Entry Animations for Posts in Bricks Query LoopsThe steps for animating the posts output by a Bricks query loop in a staggered animation.Read more →Categories: Bricks, JavaScript, Plugins, ProTags: Animations, Query Loop
Pro ACF Select Field Query Types in BricksIn the BricksLabs Facebook group a user asks: Hi all, I am building a single post template for a CPT and want to know if…Read more →Categories: Bricks, Plugins, ProTags: ACF, Custom Query Type, 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