Support » Plugins and Hacks » WP-PostRatings » [Plugin: WP-PostRatings] Rating shows stacked up on homepage instead of under each post

  • Hey,

    In the screenshot here , you will see that the ratings all show up together outside the content, top left, instead of being in the posts. My site online has an index, no single pages, categories or archive).

    This is the code I have:

    <div class="loops-wrapper <?php echo $post_layout; ?>">
    
    				<?php while (have_posts()) : the_post(); ?>
    
    					<?php if(is_search()): ?>
    						<?php get_template_part( 'includes/loop' , 'search'); ?>
    					<?php else: ?>
    						<?php get_template_part( 'includes/loop' , 'index'); ?>
    					<?php endif; ?>
    
    				<?php endwhile; ?>
    
    			</div>

    According to the manual, this piece of code should be inserted like this:

    <div class="loops-wrapper <?php echo $post_layout; ?>">
    
    				<?php while (have_posts()) : the_post(); ?>
    <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
    					<?php if(is_search()): ?>
    						<?php get_template_part( 'includes/loop' , 'search'); ?>
    					<?php else: ?>
    						<?php get_template_part( 'includes/loop' , 'index'); ?>
    					<?php endif; ?>
    
    				<?php endwhile; ?>
    
    			</div>

    But that doesn’t do the trick, like you can see (here).
    Please advise. Thanks.

    http://wordpress.org/extend/plugins/wp-postratings/

  • The topic ‘[Plugin: WP-PostRatings] Rating shows stacked up on homepage instead of under each post’ is closed to new replies.