WordPress.org

Ready to get started?Download WordPress

Forums

Rotating Posts
Not rotating (6 posts)

  1. ssalenger
    Member
    Posted 2 years ago #

    I think I set up Rotating Posts correctly. I haven't updated any of the plugin code, just overwrote the CSS. It looks exactly the way I'd like it to.

    For some reason though, the posts aren't rotating. I've tried in several browsers on several computers. You can see it in use on this site, in the white strip that has arrows and starts with Case Study 3:

    http://ec2-50-18-7-202.us-west-1.compute.amazonaws.com/

    Unfortunately none of the posts about this issue seem to describe the solution. I'd appreciate any help. Thank you!

    http://wordpress.org/extend/plugins/rotating-posts/

  2. ssalenger
    Member
    Posted 2 years ago #

    If anyone can help point me in the direction of what I can do to fix this, I would greatly appreciate it. I'm not really sure where to begin. The theme I'm using does use some javascript, so there could be a conflict, but I'm not sure how to check.

    Any help would be greatly appreciated!

  3. ssalenger
    Member
    Posted 2 years ago #

    More information - If I run Firefox's Error Console, I get a message that says rp_start_timer is undefined and it references like 220. I have no idea what file it is referring to, or how to get it to realize that rp_start_timer IS defined.

    Can anyone help? This issue makes no sense to me.

  4. YukataNinja
    Member
    Plugin Author

    Posted 2 years ago #

    rp_start_timer is defined in rotating-posts.js. If you look in the source of your website main page, there should be link to this script that looks like:

    <script type='text/javascript' src='http://****/wp-content/plugins/rotating-posts/rotating-posts.js?ver=1.0'></script>

    This is automatically added when the plugin is enabled. Maybe there something wrong with the URL that is automatically added? If you try and navigate directly to the js file from the URL above, does it work?

  5. ssalenger
    Member
    Posted 2 years ago #

    Thanks for responding YukataNinja! The link does work, and it seems that it installed correctly. That's what is so odd.

    http://clearwavesoftware.com/wp-content/plugins/rotating-posts/rotating-posts.js?ver=1.0

    Do you know of any reason that it would just ignore the function like it seems to be doing?

  6. YukataNinja
    Member
    Plugin Author

    Posted 2 years ago #

    Looks like the php is getting added before the link to the js, so it cannot find the js function.

    How are you adding rotating posts to the page? Are you using the shortcode [rotating-posts] in a post or are you editing a theme using <?php rotating_posts(); ?>. If you are editing a theme, then the code needs to go inside of <body>. If you are using the shortcode you might have found a bug.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic