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 634 Bricks code tutorials with BricksLabs Pro
Pro Custom SQL Ordering for Sorting Events in BricksShowing events ordered by the event date with upcoming events in ascending order and past events in descending order.Read more →Categories: Bricks, ProTags: Ordering, Sorting, SQL
Pro “My Favorites” in BricksThis Pro tutorial provides the steps to set up and use My Favorites in Bricks Builder.Read more →Categories: Bricks, Plugins, ProTags: 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 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 Nested Meta Box Query Loop Inside a CPT Query Loop in BricksThis Pro tutorial provides the steps for setting up a cloneable Meta Box group query inside a CPT query in Bricks. Scenario: CPT: course Meta…Read more →Categories: Bricks, Plugins, ProTags: Meta Box, Query Loop
HappyFiles Bricks Query LoopThis tutorial explores different ways in which images from WordPress Media Library organized via HappyFiles can be pulled and shown in Bricks using query loop(s).…Read more →Categories: Bricks, Free, PluginsTags: HappyFiles
Pro Masonry for Query Loop in BricksIf you are looking to implement masonry with a 'view more' button i.e., click-type of infinite scroll follow this tutorial instead. Updated on 15 Mar…Read more →Categories: Bricks, ProTags: Masonry, Query Loop
Pro Category and Search Filtering for Nested Bricks Query LoopsHow to add a category dropdown and search input field so visitors can filter posts grouped by categories..Read more →Categories: Bricks, JavaScript, ProTags: Frontend Filters, Nested Queries
Pro Alternating Posts from Two Post Types in BricksHow to output posts from two seperate post types, alternating in a query loop.Read more →Categories: Bricks, ProTags: Query Loop