Updated on 21 Oct 2024
This Pro tutorial provides the steps to arrange the posts output by a Bricks query loop(s) in weekday columns based on the value of a weekday
custom field.
We shall cover two different ways of achieving this.
Using data attributes and CSS Grid
This solution is not accessible but has the benefit of being filterable using 3rd party filtering plugins like WP Grid Builder. Uses a single query.

Using custom query types and CSS Grid
This solution is accessible and uses nested (two) query loops. Filtering is possible using custom JavaScript and covered in this tutorial. Third-party filtering plugins will not work with this approach.
Update on 21 Oct 2024: Added steps on how to sort the posts by time in ascending order.

Using data attributes and CSS Grid
Step 1
Create a field group for your post type having a field of type Select or Button Group or any other type of field using your favorite custom fields plugin that enables selection of one option from many.
In this example, let's go with a Button Group type ACF Field.
Set the choices to
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
Field Name/ID: weekday
Step 2
Edit the Page/template (with Bricks) in which you would like to show the post columns.
Copy and paste the JSON of the fully-built Section from below.
This is a BricksLabs Pro tutorial.
For full access login below or create your BricksLabs Pro account