WordPress.org

Ready to get started?Download WordPress

Forums

Adding Page numbers to posts (2 posts)

  1. John Lyman
    Member
    Posted 2 years ago #

    I have tried various plugins and the following code in posts, <!--nextpage--> for my website.

    When I add that code into a post in html it simply cuts off the rest of the article after the code after I hit publish.

    Any suggestions for a plugin to add page numbers to posts?

    Thank you

    John

  2. alchymyth
    Forum Moderator
    Posted 2 years ago #

    http://codex.wordpress.org/Styling_Page-Links

    http://codex.wordpress.org/Function_Reference/wp_link_pages

    i.e. you could add

    <?php wp_link_pages(); ?>

    into the loop in index.php, single.php, page.php - somewhere after the line with the_content()

Topic Closed

This topic has been closed to new replies.

About this Topic