• 9,184 views Sep 13, 2006

    Examples

    Default Usage

    <?php link_pages(); ?>

    Displays page-links by default with line breaks before and after, and a bold | as a separator.

    Combo and First Page Links

    The code I use on my pages:

    <?php jpf_link_pages('', '', '', 'next', 'CONTINUED'); ?> <hr> <?php jpf_link_pages('', '<b>|</b>', '', 'combo', 'Next >', '< Prev'); ?>

    The first line uses the plugin simply to create a link on the first page only that draws attention to the reader that this is a multipage post. I don’t use anything special before or after, and a separator is not needed (ignored if provided). ‘Next’ indicates to use the next on first page only mode, and ‘CONTINUED’ is the text I want displayed.
    The second line is simply a horizontal rule.
    The third line uses the plugin again but this time in ‘combo’ mode, which includes numbers with next/prev links. I don’t use anything special before or after, but I use a bold ‘|’ as the separator. ‘Combo’ is the mode, ‘Next >’ and ‘< Prev’ is the text I want displayed for the next/prev links.

    Tags:

  • 14 Responses

    WP_Modern_Notepad

    Leave a Comment

    Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.