Support » Plugins » [Plugin: WP Page Numbers] Pagination not working on static page

  • Hey there,

    I’m running this plugin on a page other than the front page (e.g. a page named ”Blog” in blog.php). I have the normal wordpress loop placed in the theme of this page, querying the loop to only show posts (so that it doesn’t just show the content from the page).

    When doing this, for some strange reason the plugin works properly showing the pagination and the correct number of pages, but when I click on any of the numbers, it shows the same posts (e.g. not showing the first page less the 5 most recent posts, etc).

    Wondering if anyone has come across this problem and if anyone can give me a hand!

    http://wordpress.org/extend/plugins/wp-page-numbers/

Viewing 1 replies (of 1 total)
  • I had the same problem today, got it fixed now, try this before the loop, worked for me:
    <? query_posts('paged='.get_query_var('paged').''); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP Page Numbers] Pagination not working on static page’ is closed to new replies.