Forums

[resolved] Page breaks for long posts (7 posts)

  1. Shiznit
    Member
    Posted 4 years ago #

    I have a coding blog that I'm working up and as some of you developers and designers know, some snippets can be rather long (dunno why they call them "snippets" lol)

    But anyway, I cannot seem to find a way of creating a page break so that my readers can navigate through the post without scrolling for an hour.

    Any help would be greatly appreciated.

  2. moshu
    Member
    Posted 4 years ago #

    <!--nextpage--> - you should insert it into your posts (no wysiwyg, of course)

    Note. It works only if you have Template_Tags/wp_link_pages in your template file(s).

  3. erodleir
    Member
    Posted 4 years ago #

    ¿Can you insert in pages and entries too?

  4. moshu
    Member
    Posted 4 years ago #

    Yes, but for Pages you will have to have the template tag in your Page template(s), like page.php

    Actually, for those not using the Visual, there shouold be a Quicktag named "page".

  5. Shiznit
    Member
    Posted 4 years ago #

    thank you so much - that worked perfectly!

  6. djdevy
    Member
    Posted 3 years ago #

    how do I know if I have Template_Tags/wp_link_pages in your template file(s) ??
    I'm a beginner and I have some problems using the <!--nextpage--> command
    Thanks

  7. moshu
    Member
    Posted 3 years ago #

    By looking at them. Open the themes template file(s) in Notepad and search for this string.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags