I have a multiauthor blog, or more like a database where users can add posts. I would need to display all users and the posts they have written.
I was thinking displaying it as an accordion, by clicking the + it would expand showing all the posts the author has (see below).
+ Firstname Lastname •Post #1 •Post #2 + Fistname Lastname •Post #1 •Post #2
Very similar logic as normal wp loop has.
All help is more than appreciated 🙂
- The topic ‘How to get all usernames and their posts? Kind of "user loop".’ is closed to new replies.