Support » Plugin: Quotes Collection » Looking for both auto_refresh and “next” button at the same time

  • I use an auto refresh period, but would like to also include a “next quote” link or button to advance to the next quote without needing to wait for the whole refresh period.

    I put a PHP Code Widget in my sidebar, and entered this code:

    <?php quotescollection_quote( array( ‘show_author’ => true, ‘random’ => false, ‘auto_refresh’ => 6, ‘ajax_refresh’ => true ) ); ?>

    It works the same as if I added the “Random Quote” widget, which also won’t allow simultaneous use of the ‘next’ and ‘auto refresh’ functions.

    Is there a way to get both a “next quote” option and the auto refresh to work simultaneously?

    Reading the support documentation it seems it should be possible, and I can’t tell what I’m doing wrong.

    Very sorry if this is a duplicate post – I thought I posted it a day or two ago but I don’t see it.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter stevejonesmo


    Any chance of this getting some attention?

    Plugin Author Srini G


    The way the current version of the plugin works, and the way JS is coded for this plugin, we can’t have both auto-refresh and the ‘next’ link at the same time. Contact me via email if you want a custom solution.

    • This reply was modified 5 years, 8 months ago by Srini G.
    Thread Starter stevejonesmo



    Thanks – it was more of a “nice to have” idea than a real need.

    The auto-refresh feature is very slick. The issue is that if auto-refreshing a quote collection containing quotes of very different lengths, a fixed refresh period subjects the viewer to either insufficient time to read long quotes or an unnecessarily long delay after reading short quotes.

    Setting a longer refresh period while giving the user a “next” link would have helped, but a better solution would be to have an optional “override” refresh period for each individual quote. Thus one could set the desired default refresh period, but optionally override it to a custom period for an exceptionally long or short quote.

    I understand if that would be beyond the scope of this plugin, just tossing it out as an idea.

    Thanks for a great plugin!

    Plugin Author Srini G


    Thanks for the feedback. I would consider an option to have a flexible auto refresh period depending on the size of the quote.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Looking for both auto_refresh and “next” button at the same time’ is closed to new replies.