Codex tools: Log in / create account
This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists.
Contents |
Displays page-links for paginated posts (i.e. includes the <!--nextpage--> Quicktag one or more times). This tag works similarly to wp_link_pages(). This tag must be within The_Loop.
<?php link_pages('before', 'after', 'next_or_number',
'nextpagelink', 'previouspagelink', 'pagelink',
'more_file'); ?>
Displays page-links by default with line breaks before and after, using next page and previous page, listing them with page numbers as Page 1, Page 2 and so on.
<?php link_pages(); ?>
Displays page-links wrapped in paragraph tags.
<?php link_pages('<p>', '</p>', 'number', '', '', 'page %'); ?>
To use the query string to pass parameters, see wp_link_pages()
edit_post_link, edit_comment_link, link_pages, wp_link_pages, get_year_link, get_month_link, get_day_link