Categoría: BRICKS DATE_QUERY PRO
-

Posts older than today in Bricks
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: $args = [ ‘post_type’ => ‘post’, ‘post_status’…