[wp-hackers] Using nextpage style pagination in Pages

Benedict Eastaugh ionfish at gmail.com
Thu Nov 8 23:37:14 GMT 2007


You need wp_link_pages() at the end of the post or page loop.

On 08/11/2007, Mindshare Studios <info at mindsharestudios.com> wrote:
> >> Just use <!--nextpage--> as you would on a post.
>
> I could be wrong but that doesn't seem to be working for me.
>
> I've got this in my index.php template file:
> <?php posts_nav_link(' &#8212; ', __('&laquo; Previous Page'), __('Next Page
> &raquo;')); ?>
>
> And this in my page in the editor:
> <!--nextpage-->
>
> But I'm getting nothing.
>
>
> On 08/11/2007, Mindshare Studios <info at mindsharestudios.com> wrote:
> > Hi - This seems like a question that must have been asked before but I
> > couldn't find anything in my searches.
> >
> > Is there a way to enable pagination inside a WordPress page like you can
> > with posts using something like the posts_nav_link function?
> >
> > Thanks,
> > Damian
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list