首页 WordPress函数大全 get_posts_nav_link()

get_posts_nav_link()

2020-05-01 / 5105阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_posts_nav_link( string|array $args = array() )

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

描述

参数

$args

(string|array)
(Optional)
Arguments to build the post pages link navigation.

  • 'sep'
    (string) Separator character. Default '—'.
  • 'prelabel'
    (string) Link text to display for the previous page link. Default '« Previous Page'.
  • 'nxtlabel'
    (string) Link text to display for the next page link. Default 'Next Page »'.

Default value: array()

返回

(string) The posts link navigation.

大家谈论
    我的见解