30th Mar '23
/
0 comments

Posts Published in the Last x Days in Bricks

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

Get access to all 620 Bricks code tutorials with BricksLabs Pro

Related Tutorials..