• I ran into the following:

    There are 113 posts found and 8 posts per page. According WP-paginate this translates to 15 pages, which is wrong. 113/8=14,125. But due to ceil being used instead of floor the extra 15th page is generated falsely.

    Line 118:
    $pages = intval(ceil($wp_query->found_posts / $posts_per_page));

    should be
    $pages = intval(floor($wp_query->found_posts / $posts_per_page));

    http://ww.wp.xz.cn/extend/plugins/wp-paginate/

The topic ‘[Plugin: WP-Paginate] Wrong pagecount (v1.2.1)’ is closed to new replies.