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 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 Posts Grouped by Month and Year in BricksNesting query loops with months & years in descending order, with the inner loop outputting the posts.Read more →Categories: Bricks, ProTags: Nested Queries
How to apply a custom query var to multiple query loops in BricksIn this tutorial, we'll learn how to apply a PHP filter to modify the query var of multiple query loops in a single function Introduction…Read more →Categories: Bricks, FreeTags: Dynamic Data, Query Loop
Pro Events grouped by months within years based on event date custom field valueHow to output events grouped by years and months using three nested query loops in Bricks.Read more →Categories: Bricks, ProTags: Nested Queries
Pro Query Loop in BricksThis Pro tutorial walks you through the steps to use the Query Loop feature in Bricks to display a responsive grid of posts using CSS…Read more →Categories: Bricks, ProTags: Query Loop
How to populate a map with dynamic markers from a CPT using ACF in Bricks (PART 2)This tutorial provides the PHP & JS codes that can be pasted in order to create a flying effect on map markers each time your…Read more →Categories: Bricks, Free, PluginsTags: ACF, Animations, Maps, Query Loop
Pro Post Specific Footers in Bricks using Meta BoxThis Pro tutorial provides the steps to output post-specific footer using Meta Box' Post type of field when using Bricks. Sample screenshots below. Course CPT…Read more →Categories: Bricks, Plugins, ProTags: bricks/posts/query_vars, bricks/query/run, bricks/setup/control_options, Filters, Meta Box, Nested Queries
Using WP Grid Builder Facets with Bricks’ Query LoopUpdate: This tutorial was written before WPGB had a Bricks add-on. Now, it is advisable to use that add-on instead. Get it from here. Updated…Read more →Categories: Bricks, FreeTags: Query Loop, WPGridBuilder
Pro Adding active class to the current term/post in a Bricks query loop on Term archives/single postsUpdated on 29 Feb 2024 In the Sibling Terms Bricks Query Loop tutorial, a member asked: How can I set the class "active" to the…Read more →Categories: Bricks, ProTags: Query Loop, Terms Query