[Resolved] List all posts on a page, split them by year
I’m guessing it’s reasonably simple but I can’t find any instruction on how to work this so wondering if anyone could help out.
I’ve created a custom page template (“Archive List”) and in that page I’d like to list every post from my site but split them out by year like this:
|- A post title
|- Another post here
|- Older post here
|- Some more
|- Etc etc
|- Etc etc etc
Anyone able to chuck a snippet of code my way, would be very grateful 🙂
- The topic ‘[Resolved] List all posts on a page, split them by year’ is closed to new replies.