WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Rotating Posts] Not rotating

[Plugin: Rotating Posts] Not rotating

Viewing 5 replies - 1 through 5 (of 5 total)
  • ssalenger
    Member

    @ssalenger

    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!

    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.

    Plugin Author YukataNinja
    Member

    @yukataninja

    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?

    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?

    Plugin Author YukataNinja
    Member

    @yukataninja

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Rotating Posts] Not rotating’ is closed to new replies.