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



posts_nav_link ›

Seit0.71
Veraltetn/v
posts_nav_link ( $sep = '', $prelabel = '', $nxtlabel = '' )
Parameter: (3)
  • (string) $sep Optional. Separator for posts navigation links. Default empty.
    Erforderlich: Nein
    Standard: (leer)
  • (string) $prelabel Optional. Label for previous pages. Default empty.
    Erforderlich: Nein
    Standard: (leer)
  • (string) $nxtlabel Optional Label for next pages. Default empty.
    Erforderlich: Nein
    Standard: (leer)
Definiert in:
Codex:

Displays the post pages link navigation for previous and next pages.



Quellcode

function posts_nav_link( $sep = '', $prelabel = '', $nxtlabel = '' ) {
	$args = array_filter( compact( 'sep', 'prelabel', 'nxtlabel' ) );
	echo get_posts_nav_link( $args );
}