WordPress.org

Forums

Random category. (2 posts)

  1. Deckster0
    Member
    Posted 5 years ago #

    As you might know, there are a thousand plug-ins which gives you the power to display a random post anywhere you want on your wordpress blog.

    Does anyone here know a plugin/code that will be able to display a random category?

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Can't say I've seen anything that will do this but it should be possible to code something using get_categories and selecting a random catgeory from the resulting array.

Topic Closed

This topic has been closed to new replies.

About this Topic