WordPress.org

Ready to get started?Download WordPress

Forums

Displaying random / recent author's profile (4 posts)

  1. vonder7
    Member
    Posted 6 years ago #

    I need a plugin (or other solution) to display random author's name and description from a list of all authors. On my website users are allowed to login and write new posts and I need to display descriptions of random or a specified number of new authors on my main site. Has anyone figured it out?I've been trying to solve it using template tags, searched for plugins, but nothing really seems to work. If anyone can help me, I will be very thankful. Cheers!

  2. MichaelH
    Member
    Posted 6 years ago #

  3. vonder7
    Member
    Posted 6 years ago #

    Thanks for reply. Can you elaborate a bit on that:)I'm not very skilled in php. Should I replace ORDER BY $order by ORDER BY RAND()? How can I pass(and should I at all?) a parameter which generates a random ID to the plugin you've mentioned about?

  4. MichaelH
    Member
    Posted 6 years ago #

    Yes ORDER BY $order would change to ORDER BY RAND()

    Once you get that working you should see you don't have to pass (or sometimes they call that 'seed') a number to do random.

Topic Closed

This topic has been closed to new replies.

About this Topic