Viewing 3 replies - 1 through 3 (of 3 total)
  • I was just going through this as well. The solution is in the Codex too:

    if ( get_query_var( 'paged' ) ) { $paged = get_query_var( 'paged' ); }
    elseif ( get_query_var( 'page' ) ) { $paged = get_query_var( 'page' ); }
    else { $paged = 1; }

    On a few static pages ‘page’ is used on other pages ‘paged’. The above line will solve it.

    hello, I have this problem I duplicate the post and I do not know how to fix it, you can help me thank you very much.
    The code they wrote as a solution does not know where to put it.

    I have tried implementing a few different iterations of that pagination code in various manners and no matter what I do I get duplicate posts.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Duplicate Posts’ is closed to new replies.