• Hey –

    So I have been trying to fiqure out this issue, here and there for weeks, I have a solution, but not a good one.

    Here is the problem:
    The navigation does not advance and shows the same posts due to the paginate function not being able to grab the current page number. It shows up fine and shows the number of pages needed, but clicking on the page numbers shows the same page 1 and posts and the url will change to 2/3/4, etc. You can see it in action here: http://blog.rosettastone.com at the bottom of the page.

    Here is what I am using in the loop:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    I have been told the following:

    Calls to query_posts() made within the theme have no affect on pagination. To affect pagination links you need to hook into the parse_query action and manipulate the main query. Paging is done off of the results of the main query.

    As well as:

    Look into the parse_query filter and see if I can do what is needed there . . .

    Can you help? I have not worked much with filters (learning that stuff now) and could use some help on this simple, yet difficult issue. I would rather do it right vs. using the hack I worked out and pieced together.

    http://wordpress.org/extend/plugins/wp-paginate/

  • The topic ‘[Plugin: WP-Paginate] Unable to get page number and advance’ is closed to new replies.