WordPress.org

Ready to get started?Download WordPress

Forums

Rotating Posts
I would like the rotation to be MANUAL, not automatic. How? (6 posts)

  1. karyyyn
    Member
    Posted 3 years ago #

    Hi, I would like the banner to be static (i.e. non-rotating). But still navigatable by click the arrows or the thumbnails. I'm sure it's a quick fix, but can you help?

    Thanks! Great plugin...

  2. mahalie
    Member
    Posted 3 years ago #

    To stop the timer from automatically starting (automatic rotation) you need to comment out a line from the plugin, aprox. line 257 of rotating-posts.php of the plugin (in version 1.10), specifically:
    Change this:
    ." rp_start_timer();\n"

    To this:
    //." rp_start_timer();\n"

    This will prevent the timer from starting. Hiding the pause button is easy using CSS, which you'll want to do since it won't do anything if you disable the timer. Add this to your CSS file.

    a#rp_nav_pause
    {
    	display: none;
    	visibility: hidden;
    }

    Important note about hacking plugins: this is not an ideal approach since if you upgrade your plugin this hack will be lost. You can still upgrade the plugin but you'll have to go back in and re-add the hack (unless the feature has been added to do this through the admin panel). For that reason you might want to disable auto update on the plugin so someone (including yourself) doesn't accidentally update it: http://wordpress.org/support/topic/disable-update-checking-for-a-plugin?replies=4#post-2021866

  3. mahalie
    Member
    Posted 3 years ago #

    Update: I just wrote a "patch" adding this feature. Not sure how to contact Mark - he hides his contact info well :D

  4. Grubbyseismic
    Member
    Posted 3 years ago #

    *bump*

    I'm curious if anything ever came of this...

  5. Dan Yedinak
    Member
    Posted 2 years ago #

    A quick and easy way to handle it would be to set the "Duration between rotations" to a super long interval. Just be sure to make the value 99999999 seconds or less, otherwise the trick backfires and it actually speeds up to a flicker.

  6. YukataNinja
    Member
    Plugin Author

    Posted 2 years ago #

    Using 99999999 as the interval should work well as that is over three years for the interval.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic