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

Display post pages link navigation for previous and next pages.


  • 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);



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: Logo

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

Facebook photo

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

Connecting to %s

%d bloggers like this: