Advertisements

posts_nav_link

Definition:
function posts_nav_link( $sep = '', $prelabel = '', $nxtlabel = '' ) {}

Display post pages link navigation for previous and next pages.

Parameters

  • string $sep: Optional. Separator for posts navigation links.
  • string $prelabel: Optional. Label for previous pages.
  • string $nxtlabel: Optional Label for next pages.

Source code

function posts_nav_link( $sep = '', $prelabel = '', $nxtlabel = '' ) {

	$args = array_filter( compact('sep', 'prelabel', 'nxtlabel') );

	echo get_posts_nav_link($args);

}

2549

Advertisements

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: