Codex tools: Log in / create account
Contents |
Displays page-links for paginated posts (i.e. includes the <!--nextpage--> Quicktag one or more times). 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 %'); ?>
the_ID, the_title, the_title_attribute, single_post_title, the_title_rss, the_content, the_content_rss, the_excerpt, the_excerpt_rss, wp_link_pages, next_post_link, next_posts_link, previous_post_link, previous_posts_link, posts_nav_link, sticky_class, the_meta