WordPress.org

Ready to get started?Download WordPress

Forums

Testimonials by Aihrus
Different refresh intervals per id? (9 posts)

  1. bcrab
    Member
    Posted 1 year ago #

    Hello, I was curious if there was a hack (or maybe I'm missing something in the code) where I can apply different refresh intervals to varying testimonials.

    Thank you!

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

  2. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    Nope and am not sure why you want to do such.

    Can you please explain why?

  3. bcrab
    Member
    Posted 1 year ago #

    Basically, if I have a set of rotating testimonials and one item is a paragraph and the other a single sentence, then I could individually set the refresh interval so a visitor doesn't have to wait 16 seconds for a sentence to change.

    Now, I do realize that the "next" buttons could come into play, but I wasn't sure if the refresh intervals could be individually set.

    Thank you!

  4. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    I understand, but no support for such.

    It'd really make the JavaScript bulk up and add unnecessary complication to the system.

  5. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    Did you ever figure this out?

  6. bcrab
    Member
    Posted 1 year ago #

    Sadly no... too many projects going on... about third down the list :-)

  7. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    Got to this yet?

    I'm still trying to think of an easy way to do it. Probably would need to pull the current JavaScript, replace with own that watches a custom time set or sets it own time based upon testimonial length.

    The later would be easier, JavaScript counts words, divides by X, times by seconds, voila, rotate.

  8. bcrab
    Member
    Posted 1 year ago #

    Interesting... I was coming mostly from the approach of using custom time sets... but using a word counter and math seems like it could work too... also cutting down on the backend work.

    Every once in a while when I have free time I hit this and play with it.

  9. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    Have fun when you get a chance with it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.