WordPress.org

Ready to get started?Download WordPress

Forums

Pagination, PageBreaks, <!--nextpage--> .... (2 posts)

  1. smergold
    Member
    Posted 4 years ago #

    Hi there

    after spending some hours while looking for pagination in wordpress 2.9, i found out, that there is a "tag" <!--nextpage--> for doing a pagebreak.

    It does not work. WordPress will stop working at this tag. Each text after this nextpage-tag will be ignored, and there is no link for moving to the next page.

    <!--more--> will work when using only one time in an article.

    What i have to do now for setting up pagination?

    I run wordpress 2.9 on Linux (openSuse 11.1) with Apache and MySQL. Plugins: WP-Syntax
    Theme: "corporate" (http://wordpress.org/extend/themes/corporate)

    Thanks a lot for any help
    Smergold

  2. Edward Caissie
    Theme Review Admin
    Posted 4 years ago #

    The theme in question does not "support" the <!--nextpage--> tag. You will need to add to the single.php template file, at the least, the function wp_link_pages(). This is generally added immediately after the function call for the_content().

    Here is some reading material on the function:
    http://codex.wordpress.org/Template_Tags/wp_link_pages

Topic Closed

This topic has been closed to new replies.

About this Topic