WordPress.org

Forums

Multi page post problem (8 posts)

  1. DubberDan
    Member
    Posted 9 years ago #

    I've just created post http://technohippy.org.uk/musings/blog/category/travel/uk/ that I want to be several pages long so have inserted a couple of <!--nextpage--> tags during the bodyt of the post, but all I get when viewing the psot is up to the first tag. No page links and noe remainer of the post.

    What am I doing wrong?

  2. moshu
    Member
    Posted 9 years ago #

    Check if you have something like
    <?php wp_link_pages(); ?>
    in your template file.

  3. DubberDan
    Member
    Posted 9 years ago #

    Nope couldn't see that in either my page.php or my index.php

    Should it be in one of them then, and if so where in which?

  4. moshu
    Member
    Posted 9 years ago #

    I guess it should be in both of them (for posts and for Pages) and/or in the single.php - and by checking other themes you can see it is usually the first line in the feedback div. Default has it in page.php and single.php in the entrytext div.
    In your theme probably would fit in the div class=entry

  5. DubberDan
    Member
    Posted 9 years ago #

    Ah, now I didn't have a single.php at all. So I'lve quickly modifed the default one to fit in with my theme. The page links now appear correctly here:
    http://technohippy.org.uk/musings/blog/travel/brecon-adventures-august-03/#more-27

    but when I follow them I get an error as in here:
    http://technohippy.org.uk/musings/blog/travel/brecon-adventures-august-03/2/

  6. DubberDan
    Member
    Posted 9 years ago #

    bump ;-)

  7. DubberDan
    Member
    Posted 9 years ago #

    bump...

    anyone?

  8. Illys
    Member
    Posted 9 years ago #

    Found the issue! instead of posting <!-- nextpage -->, remove the spaces and insert <!--nextpage-->.
    Also, check out this pluin for a neat way to display your pages: http://www.urbangiraffe.com/2005/03/13/jumpto/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags