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))
- The topic ‘Pagination?’ is closed to new replies.