• anela

    (@anela)


    I was using a plugin to kinda do what I needed, but it broke with the newest version of WordPress, so ideally I’d like to do this without a plugin, to avoid this in the future.

    What I need is to display a list of all users who have something in their description/bio area of their profile, also displaying that text, of course. I also need to display the full name and email address.

    I thought I could just query the database but now that I see there are two databases that handle this information, I’m lost.

    Any help is appreciated, thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator cubecolour

    (@numeeja)

    Which plugin were you using previously? Perhaps the author is on the case and will issue a fix soon? Could it be worth shooting them an email to ask?

    Thread Starter anela

    (@anela)

    It’s called People Lists, I believe. And maybe, but originally I wanted to do it this way, anyway. Plus, with that, I had to manually drag people to the list, if I can just display fro the database anyone with a description, then I won’t have to worry about doing it, it will be automatic.

    Cerebral ideas

    (@cerebral-ideas)

    I’ve been looking for a way to display a list of users as well. It would be nice to be able to query their avatar, display name and description, but like Anela said, “there are two databases … I’m lost.”

    Thanks in advance to anyone that can help.

    Justin

    esmi

    (@esmi)

    there are two databases

    No there aren’t. 1 WP install = 1 database. Perhaps you meant 2 tables?

    Cerebral ideas

    (@cerebral-ideas)

    Yes, sorry. Two tables … I just copied and pasted what Anela said. Do you have any ideas on our issue though?

    Thread Starter anela

    (@anela)

    Yeah… Two tables. You knew what I meant. ??

    esmi

    (@esmi)

    I’ve not tried it yet myself but it seems to me that you could possibly use wp_list_authors with echo=0 to grab a list of authors. Maybe strip the tags and use the resulting plain list to feed into a foreach loop that re-used some of the Author template code.

    Cerebral ideas

    (@cerebral-ideas)

    That’s exactly what I wanted to try, but I didn’t want to spend hours chasing my tail if it didn’t work. Since you have corroborated that thought, I may try it if what I am trying right now does not. Thanks Esmi!

    At the moment, if any is interested, I am using Justin Tadlock’s method seen here (it seems to work for my situation):

    https://justintadlock.com/archives/2008/06/09/doing-more-with-gravatars-authors-template-page

    Good luck Anela.

    Thread Starter anela

    (@anela)

    Thanks, I will look at it in a second here.
    I did think of doing a loop to put it out, but again, the two tables really just made me go uhhhhhh.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Display list of users and descriptions’ is closed to new replies.