How to do Pagination??

  • sghegde87

    #8077

    Hey guys,

    I have a very long post and scrolling all the way to the end in the same page looks odd.

    I want to add <<Page1>> <Page 2> kind of thing at the bottom say after 50% of the post.

    Or even Next Page >> , << Prev Page will do..

    (have seen it in many sites but with different themes).

    Could anyone kindly let me know how to do this??

    PS: I don’t want to create another post and manually link it with the text <<Next page>>

    Thank you.

    Prasanna SP

    #40263

    Use <!--nextpage--> tag. You may find this tutorial helpful – http://www.wpbeginner.com/wp-tutorials/how-to-split-wordpress-posts-into-multiple-pages/

    sghegde87

    #40264

    I had tried it… It used to appear as it is in the post.. No page division appeared…

    But then, added this code in single.php of main theme..

    <?php wp_link_pages(); ?> And it worked…. 🙂

    Gracious…

    Marking this ‘Resolved’..

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.