[resolved] Can't vote on more than one post in the same page (3 posts)

  1. Safatian
    Posted 2 years ago #

    The voting system works great but only on one post. If I vote on another post after voting on the first on pages like the index page or other loop pages... A popup says "Please rate only 1 post at a time". Also when I vote twice on the same post "Failed to verify Ajax referrer" is displayed instead of "You have already voted".

    I'm not using any caching plugins or anything.


  2. Lester Chan
    Plugin Author

    Posted 2 years ago #

    That is correct and it is a limitation. There is no way around it unless the plugin is re-wrote.

  3. shavonn4prez
    Posted 2 years ago #

    I'm able to do this if I use WP_Query to get the posts if it's any help to you! :)

    				$args=array('orderby'=>'date', 'posts_per_page'=>'5');
    				$recent_posts = new WP_Query($args);
    			while ($recent_posts->have_posts()) : $recent_posts->the_post(); ?>
    				<li><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a><?php if(function_exists('the_ratings')) { the_ratings(); } ?></li>
    			<?php endwhile; ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.