• Resolved gulliver

    (@gulliver)


    Is there a way to paginate a WP page (not a post), similar to how using <!–nextpage–> works in posts?

Viewing 4 replies - 1 through 4 (of 4 total)
  • in post you use <!--more--> for a page you use <!--nextpage-->

    Thread Starter gulliver

    (@gulliver)

    Thanks, but…

    <!–more–> defines the pre-‘read more’ break-point in places where the whole post isn’t shown.

    <!–nextpage–> will split a post into multiple pages.

    @gulliver: The <!--nextpage--> quicktag works for Pages, too; but the wp_link_pages function also has to called by the Template File your theme is using to display the Page in question in order for the links to actually be visible.

    Thread Starter gulliver

    (@gulliver)

    @girlieworks… Thanks.

    @staartmees… Also, thanks – and, more importantly, I apologize for doubting you.

    Somewhere between ‘old age, stupidity, dust on screen and glasses’ I’d incorrectly pasted a quicktag with just a single (rather than double) dash. Hence it didn’t work.

    And being totally honest, I’d forgotten that <!–nextpage–> worked on pages and thought it just for posts. Clearly I must have once known it, because my custom theme has the necessary code, appropriately tweaked, and which I must have added years ago.

    Duh me!

    Anyway, thanks to you both for saving me from myself. 😉

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Paginate a page (not a post)’ is closed to new replies.