WordPress.org

Ready to get started?Download WordPress

Forums

My Content Management
Random sort order? (5 posts)

  1. msiep
    Member
    Posted 2 years ago #

    Is there a way to select a randomized sort order? If not, that would be a very helpful new feature, for example to display one randomly selected testimonial in a widget using a shortcode such as "[my_content type='testimonials' display='full' count='1' order='random']".

    http://wordpress.org/extend/plugins/my-content-management/

  2. Joe Dolson
    Member
    Plugin Author

    Posted 2 years ago #

    It's "rand" -- so, change "random" to "rand" and it should work fine for you.

  3. msiep
    Member
    Posted 2 years ago #

    Great - thank you. Is this option documented somewhere?

  4. Joe Dolson
    Member
    Plugin Author

    Posted 2 years ago #

  5. msiep
    Member
    Posted 2 years ago #

    Thank you. I'm new enough to WordPress that I didn't realize the parameters were generic to WordPress rather than specific to your plugin, so I'd only looked in info about your plugin for this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic