Howdy. I'm fairly familiar with the loop and php, but this one has me against the wall.
I want to display the one last post from each author.
How might I approach that?
Howdy. I'm fairly familiar with the loop and php, but this one has me against the wall.
I want to display the one last post from each author.
How might I approach that?
In your main content area?
Well I made static pages... so I have a dedicated set of code for that particular page. Makes it easier.
Still working on this... was looking at the various tags... nothing that's an automatic winner. I just want:
Author A
Author A's last post
Author B
Author B's last post
...and on and on through all the authors.
I imagine two possible ways of doing this:
While the loop quieries authors, an inner loop quieries last posts.
Or:
All the authors have to be quiered into an array, then a loop is run that gets their last posts.
Any thoughts?
My All Authors Page template should provide some help on looping through the authors:
This topic has been closed to new replies.