30th Mar '23/0 comments/FavoritePosts Published in the Last x Days in BricksSridhar Katakam Updated on 1 Feb 2024 This Pro tutorial shows how to limit the posts output by either the Posts element or a Query Loop in Bricks to those published in the last 14 days. Query Loop Enable Query editor (PHP) and 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: Bricksbricks/posts/query_varsProSridhar 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
Pro Previous Two Posts in Bricks Query LoopThis Pro tutorial shows how we can modify the parameters of a Bricks query to limit the posts to the previous two whilst cycling to…Read more →Categories: Bricks, ProTags: bricks/posts/query_vars
Pro ACF/Meta Box Gallery Images as Bricks Slider in BricksShowing a simpler method of creating custom query loops for ACF Pro Gallery & MetaBox's Advanced Images.Read more →Categories: Bricks, Plugins, ProTags: ACF Pro, bricks/posts/query_vars, Meta Box
Pro Post ID Query Variable Based Post Output in BricksHow to query a single post of a custom post type using the post ID passed to a page via a URL parameter.Read more →Categories: Bricks, ProTags: bricks/posts/query_vars, Filters
Pro Sorting a Bricks Query Loop by Custom Field Matching the URL ParameterA member asks: I am looking to buy traffic from a source, and could make the process more dynamic if i could have the ads…Read more →Categories: Bricks, ProTags: bricks/posts/query_vars, meta_query, URL Parameter
Pro ACF Relationship in BricksUpdate on 3 Jan 2024: You may also be interested in this newer tutorial. This Pro tutorial walks through setting up and using an ACF…Read more →Categories: Bricks, Plugins, ProTags: ACF, bricks/element/settings, bricks/posts/query_vars
Pro Featured Products in Bricks Query LoopShowing how WooCommerce products marked featured can be output in a Bricks query loop.Read more →Categories: Bricks, ProTags: bricks/posts/query_vars, WooCommerce
Pro Voting System in Bricks using WP ULikeUpdated on 16 Feb 2023 This Pro tutorial provides the steps to add upvote and downvote buttons using WP ULike Pro for posts output via…Read more →Categories: Bricks, Plugins, ProTags: bricks/posts/query_vars, Filters, WP ULike
Pro Posts Grouped by Authors in BricksThis Pro tutorial for Bricks users provides the steps to loop through users and inside that, through posts whilst setting the inner query's author parameter…Read more →Categories: Bricks, ProTags: bricks/posts/query_vars, Query Loop
Pro Posts Grouped by Terms in BricksOne of the most useful features of Bricks builder is the Query Loop and it is more powerful than what appears on the surface i.e.,…Read more →Categories: Bricks, Plugins, ProTags: bricks/element/settings, bricks/posts/query_vars, Filters, WooCommerce