20th Sep '24/0 comments/FavoritePosts 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 524 Bricks code tutorials with BricksLabs Pro
Load more for Query loops in BricksDid you know that Bricks has AJAX loading for query loop posts on-click out of the box?Read more →Categories: Bricks, FreeTags: Query Loop
Pro Nav Menus Custom Query Types in BricksUpdated on 21 Aug 2024 This Pro tutorial shows how custom query types for each navigation menu can be generated in Bricks. This enables us…Read more →Categories: Bricks, ProTags: Custom Query Type, Menu, Query Loop
Query Results Count in BricksFrom Bricks v1.9.1 we can now get the query result count of any query based on the Bricks ID.Read more →Categories: Bricks, FreeTags: query_results_count
Pro Posts Grouped by Categories in BricksUpdate on 13 Nov 2023: There's a much simpler method here. But the following is still useful to get an understanding of how query loops…Read more →Categories: Bricks, ProTags: bricks/posts/query_vars, Nested Queries
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 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
Dynamic Post ID in Query LoopHow to add unique IDs for each post in Bricks’ Query Loop.Read more →Categories: Bricks, FreeTags: Dynamic Data
Pro 6 Random Featured Posts in Alphabetical Order in BricksHow to output x number of random posts with a specific meta value set, in Alphabetical order.Read more →Categories: Bricks, ProTags: Query Loop
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