Ok, I’m looking to diplay blog users in my sidebar. Now, I know that I could use the list_authors tag. However, I’m looking for a little more functionality. Basically, I would like to dynamically list blog authors, sorting them so that the author who has made the most posts is at the top. I would also like to hide those authors who havn’t posted yet. On top of that, would like to add a second line below the author name (separated by a <br>) that displays some secondary information (thier academic standing – this is a blog for an academic program). I know this may be a tall order, but if anyone has any experience with this, any thoughts as to ow I can go about it, or can point me in the direction of a plugin or a hack, I would be extremely greatful. cheers.
woops – slight revision. I Was reading the list_authors documentation, and I noticed that one of the parameters allowed you to hide authors with no posts. So, if I were to use the list_authors tag, I would only want to sort by the number of posts each author has made, and then add that second line of text below the name. thanks.
wp_list_authorsare too rigid for your needs. What you’ll need to do is create a custom query, and then loop over the results.
sigh – out of my range of experience. Any pointers as to whre I should look for some help.
You can look in
list_authors()function, and use that as a starting point.
Any success, ecwatral? I have a similar need – a community activist organization using wordpress as a CMS, and having people (who want to join us to help out) register on the site. That makes them all Subscribers in WordPress, and allows us to send them occasional email notifications and stuff.
But we’d like to have a page (subscriber-only) listing all the members with some bio information on each one. So it’d be way more than list_authors, sort of looping through each user on the site and displaying info on each one.
Any sort of solution out there?
- The topic ‘Display list of users (with a twist) – help!’ is closed to new replies.