Support » Plugin: WP-PageNavi » [Plugin: WP-PageNavi] Not changing posts — Correct query.

  • overexposeddesign

    (@overexposeddesign)


    When I click on another page it doesn’t load the appropriate posts.
    Things I have tried:
    Re-installing plugin
    Using previous query I used that has worked
    Copying an exact query from authors website
    Tried creating a query in almost every way I know possible.

    Here is my Query:

    [code moderated – plaese follow the forum rules for posting code]

    Any ideas? This seems ridiculous to me. There is no reason it should not be working from what I can tell.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • overexposeddesign

    (@overexposeddesign)

    The pagination works if it’s a query with no arguments at all. Once I make a custom query it doesnt work.

    overexposeddesign

    (@overexposeddesign)

    I was able to narrow the problem down. This problem only seems to be happening when I have my homePage set as static page with this loop as the template file. Not sure why that would affect pagination though.

    overexposeddesign

    (@overexposeddesign)

    Resolved. Found solution here
    http://pastebin.com/brK4AM51

    use conditional above query to set $paged variable.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-PageNavi] Not changing posts — Correct query.’ is closed to new replies.