Hello, im working on a new project and i want to make a blog. The main blog is pretty simple. Just pulling the posts from the database. However i would like to have a wordpress-like short by date system. I f you dont know how it looks like take a screenshot:
It shorts the posts by month and year. The posts table is already keeping the creation date so i just have to process them.
I could make a model which gets all the posts from a specific month/year but i dont know how to display them like above. Any suggestion?