WP Most Popular
Pagination? (1 post)

  1. watermelonkid
    Posted 3 years ago #

    I'm wondering if there's a way to paginate results? We're using the plugin for a list of popular which is much longer than I'd like to show on one page, but I would like to keep the number of results large.

    I've tried the following, but it seems like 'limit' and 'showposts' don't play nicely, as showposts is ignored. I am getting pagination showing up at the bottom, but just 1 of 1.

    $paged = (get_query_var('paged'));
    $posts = wmp_get_popular( array('post_type' => 'resources', 'range' => 'monthly', 'paged' => $paged, 'limit' => 100, 'showposts'=> 10))


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Most Popular
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic