Support » Plugins » Limit posts shown on Popularity Contest

  • Resolved SarahEC


    I’m using Alex King’s popularity contest in my sidebar and I’m wondering if there is any way to limit the number of posts shown? I’ve read through the forums and readme, but I couldn’t seem to find anything on it. Thanks so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Visit Options -> Popularity.

    There’s a section called, “Popularity Contest Template Tags” and there’ll you find tags and parameters you could use in your sidebar.

    Looking at akpc_most_popular, for example, you’ll see that the first argument dictates how many posts are shown.

    So, for dummies like me it looks like this:
    <?php akpc_most_popular($limit = 5); ?>

    I’ve now got this running on the homepage.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Limit posts shown on Popularity Contest’ is closed to new replies.