WordPress.org

Ready to get started?Download WordPress

Forums

Testimonials by Aihrus
[resolved] Random Order Doesn't Work (8 posts)

  1. nbbt
    Member
    Posted 1 year ago #

    No matter what I try, I cannot get the testimonials to display in random order.

    I have tried this through the widget by checking the box, and through shortcode by adding 'random=true' and either way the testimonials come up in the order that they were inputted in.

    There is a workaround of changing the order of the posts through the interface, but I'd rather it be random so it doesn't necessarily start with the same one for each user.

    What can I do to fix this?

    Thanks,

    Ron

    http://wordpress.org/extend/plugins/testimonials-widget/

  2. nbbt
    Member
    Posted 1 year ago #

    I actually can't get any order commands to work through the shortcode.

    I'll show you what I mean:
    None of the following shortcodes will make the widget or the list go in any different order other than what I manually specified through the Testimonials WordPress interface. (I've tried each independently as well as different combinations.)

    [testimonialswidget_widget category=short random=true]
    [testimonialswidget_widget category=short random=false]
    [testimonialswidget_widget category=short order=asc]
    [testimonialswidget_widget category=short order=desc]
    [testimonialswidget_widget category=short orderby=rand]
    [testimonialswidget_widget category=short orderby=none]
  3. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    The simple shortcode [testimonialswidget_widget] and [testimonialswidget_widget tag=support] are working fine on my test system.

    Do you have the latest release installed?

    Have you tried deleting your Testimonials Widget widget completely and adding a new one without any options set? Random mode for widget is on by default.

    Do you have Testimonials Widget Premium activated? If so, have you attempted to clear the cache like http://example.com/?clearcache=1?

  4. nbbt
    Member
    Posted 1 year ago #

    You know what, after banging my head against the wall all day, I just figured it out:

    I had another plugin that was interacting with it called "Post Types Order" that let's you drag and drop to re-order posts. I thought it was just for blog posts, but apparently it affected the Testimonials as well.

    I deactivated that other plugin and the problem is solved.

    Thanks for the help, I guess that's one more thing to troubleshoot if people are having a similar problem.

    -Ron

  5. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    Ron,

    Thank you for the update. Which plugin was the troublemaker?

    Michael

  6. nbbt
    Member
    Posted 1 year ago #

    It's called "Post Types Order"

    Here is the URL:
    http://www.nsp-code.com/wordpress-plugins/post-types-order/

    It's actually kind of handy because you can rearrange the order of posts easily without changing the date on them, but it's not something I need. I would rather have your Testimonials plugin work properly.

    I guess it just overrides the other order functions built into WordPress / other plugins.

    -Ron

  7. Peter Luit
    Member
    Posted 1 year ago #

    Same here. Thanks, that solved the problem.

  8. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    This is fixed now. It'll be available in an upcoming release. See FAQ 72 for details.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic