Support » Plugin: GD Star Rating » [Plugin: GD Star Rating] Possibly to show top 10 posts by number of Views?

Viewing 1 replies (of 1 total)
  • Something like should work, just add that first line above the Loop (example below):

    <?php query_posts("gdsr_sort=rating&sort_order=asc&showposts=10"); ?>
    <?php if (have_posts()) : ?>
    							<?php while (have_posts()) : the_post(); ?>
    								<?php include (TEMPLATEPATH . "/item.php"); ?>
    							<?php endwhile; ?>
    							<?php else : ?>
    								<?php include (TEMPLATEPATH . "/missing.php"); ?>
    							<?php endif; ?>
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: GD Star Rating] Possibly to show top 10 posts by number of Views?’ is closed to new replies.