WordPress.org

Ready to get started?Download WordPress

Forums

Pages and Next Page (4 posts)

  1. Finchwizard
    Member
    Posted 9 years ago #

    It's probably been asked a few times, and I searched but couldn't really find the same thing with what I'm happening.

    I've done a Page, it's all about how to get Debian Webserver up and running etc etc.

    Anyway, it's quite a long page, and It'd be nice if it was slip up into 2 or maybe 3 pages.

    Is there an easy way to do that? Or do I kinda need to add all the static pages, and then link them together with the Link button?

    I noticed the "Next Page" button and I was assuming I could just insert that, and it would kinda split up my 1 page into multiple pages with just a "Next Page" link at the bottom, but it doesn't work that way.

    Any suggestions?

    Also, how do I make it so the word <blah> shows up with the < and >'s show up? Because it interprets them as Tags and removes them :)

  2. Avenir
    Member
    Posted 9 years ago #

    You'll need to add the <?php link_pages(); ?> template function to your page.php template in order for the page links to be displayed. See it's documentation on the Codex for more details about how to set it up.

    [Edit] Didn't see your second question. Use HTML entities. < is & lt ; and > is & gt ; (remove the spaces) [link]

  3. CanuckKev
    Member
    Posted 9 years ago #

    The Nextpage function works for me. Maybe there is a something in your theme that is causing it not to function. Which theme are you using.

    I just checked it and it works with Mallow and Kubrick.

  4. Finchwizard
    Member
    Posted 9 years ago #

    I'm using the Greentrack theme from wpthemes.info site.

    Just edited it a bit so it's wider and different header image.

    So I add:

    <?php link_pages(); ?>

    To my pages.php file?

    Is that it?

    I don't really understand how to do it sorry.....I'm usually pretty good with code, just not this one :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.