Sprache wechseln
wpseek auf Twitter


Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren




next_post_link ›

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



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

Quellcode

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 Suchergebnisse

Mehr ...

Nutzerkommentare