WordPress.org

Forums

Testimonials Widget
[resolved] Order list by ID? (7 posts)

  1. lonrot
    Member
    Posted 2 years ago #

    Hi,

    Even when using the shortcode to call ids, the list won't sort according the array order.

    For example, here:

    [testimonialswidget_list ids="538,451,442,449,426,443,557,443,557,434,555,561,553,559,565"]

    I want 538 to be the first in appearing and 565 to be the last, but the page displays the testimonials in order of age. First the newest, last the oldest.

    What can be done to fix this?

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

  2. Michael Cannon
    Member
    Plugin Author

    Posted 2 years ago #

    Have you tried adding orderby=none to your shortcode?

  3. lonrot
    Member
    Posted 2 years ago #

    Thanks I will try that.

  4. lonrot
    Member
    Posted 2 years ago #

    Michael,

    That doesn't seem to work. It changes the order but not according to my list.

    I've tried this:

    [testimonialswidget_list ids="443,557,434,555,561,553,559,565,538,451,442,449,426,443,557" orderby=none]

    Or this:

    [testimonialswidget_list orderby=none ids="443,557,434,555,561,553,559,565,538,451,442,449,426,443,557"]

    And I will get the same unknown order.

  5. Michael Cannon
    Member
    Plugin Author

    Posted 2 years ago #

    My own tests show similar problems. I'm debugging further. Please be patient.

  6. Michael Cannon
    Member
    Plugin Author

    Posted 2 years ago #

    The orderby=none option now works as desired to order testimonials by specific IDs.

    See FAQ 46 of version 2.4.6 for details.

  7. lonrot
    Member
    Posted 2 years ago #

    Thank you Michael, just updated and now it works!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Testimonials Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic