Save 36% for Black Friday! Learn more

Adam

Joined

210 Experience
2 Lessons Completed
0 Questions Solved

Activity

Posted in How do I display several posts in related "weeks"

Depends on how many weeks you want to do, but I would add an extra week model as this allows you to grow the number of weeks without having to add more columns to your posts.

Then you can just pass a param to the posts index to specify the week that you want to display.

Alternative: You can add a 'week' column that is an integer and just put the week number in there, eg 1,2,3,4,5,6.