WordPress.org

Ready to get started?Download WordPress

Forums

WP Most Popular
Pagination? (1 post)

  1. watermelonkid
    Member
    Posted 1 year 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))

    http://wordpress.org/extend/plugins/wp-most-popular/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags