Switch language
wpseek on Twitter


A WordPress-centric search engine for devs and theme authors




next_post_link [ ]

next_post_link ( $format = '%link »', $link = '%title', $in_same_cat = false, $excluded_terms = '', $taxonomy = 'category' )
Parameters:
  • (string) $format Optional. Link anchor format.
  • (string) $link Optional. Link permalink format.
  • (bool) $in_same_term Optional. Whether link should be in a same taxonomy term.
  • (array|string) $excluded_terms Optional. Array or comma-separated list of excluded term IDs.
  • (string) $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'.
See:
Defined at:
Codex



Display next post link that is adjacent to the current post.

Source

function next_post_link( $format = '%link »', $link = '%title', $in_same_cat = false, $excluded_terms = '', $taxonomy = 'category' ) {
	 echo get_next_post_link( $format, $link, $in_same_cat, $excluded_terms, $taxonomy );
}

Top Google Search Results

More ...

User Note(s)