• I have a client who wants to display a “Next Page” link in the archives on every post that is paged (e.g. <!–nextpage–>). How do I detect if a page is greater than 1 and display this link?

    Here is what I originally tried:

    <br />
    [php if($paged > 1) : ?]<br />
       <a>?page=2">Next Page</a><br />
    [php] else : [?]<br />
       <a>Full article</a><br />
    [php] endif; [?]<br />

    So it does add the “Next Page” link, however, it does it to all posts? I’m sure I’m not doing something right, could anyone help me?

    Note I wasn’t sure how to make the <? PHP tags show up so I bracketed them.

  • The topic ‘Archive help with Paged content’ is closed to new replies.