WordPress.org

Support

Support » How-To and Troubleshooting » Multiple Pages

Multiple Pages

  • I used to use Angsuman’s Multi-Page Plugin in order to allow my posts to have multiple pages.

    Now that I updated to 2.2 I don’t see the icon in the write post area for me to click in order to specify another page.

    How can I make multiple pages using this or any other plugin available for multi page posts?

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Does anyone know? Doesn’t anyone use multi-page posts??

    Everyone always raves about using WordPress as a CMS and you normally want a multi page function in a cms.

    Someone here MUST know how to get multi-page posts on wordpress 2.2?

    You can just simply insert (not in wysiwyg!) this:
    <!--nextpage-->

    Thank you for the reply moshu. Yes, I already know you have to add that code in the post. The problem is that I add that code and then anything beneath it no longer shows up and there are NO links to click to go to the next page. I’ve tried deactivating the plugin and reactivating it. It just doesn’t want to show the links! What is going on?

    It used to work fine before I upgraded to wp 2.2….

    You don’t really need a plugin for that. However you need to have the template tag in your template:
    <?php wp_link_pages(); ?>

    Well than that is really weird! I have <?php wp_link_pages(); ?> in my template page! But when i add the <!–nextpage–> code i just don’t have the page numbers listed.

    What??????

    This is the code for the page template:

    <?php get_header(); ?>

    <!– content …………………………… –>
    <div id=”content”>

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <h2><?php the_title(); ?></h2>

    <?php the_content(); ?>

    <?php wp_link_pages(); ?>
    <?php $sub_pages = wp_list_pages( ‘sort_column=menu_order&depth=1&title_li=&echo=0&child_of=’ . $id );?>
    <?php if ($sub_pages <> “” ){?>
    <p>Sub Pages Found</p>

      <?php echo $sub_pages; ?>

    <?php }?>

    <?php endwhile; ?>

    <?php endif; ?>

    </div> <!– /content –>

    <?php get_footer(); ?>

    For posts having the template tag in your Page template… it is useless!
    You need it in the template file that is used to display your posts.
    Good reading: http://codex.wordpress.org/Template_Hierarchy

    Ya, sorry about that, I’m an idiot and looked at the wrong page.

    Single.php.

    Nevermind, got it to work.

    Thanks for your time and patience moshu! Very much appreciated.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Multiple Pages’ is closed to new replies.