next_posts_link

函式
next_posts_link ( $label = null, $max_page = 0 )
引數
  • (string) $label Content for link text.
    Required:
    Default: null
  • (int) $max_page Optional. Max pages. Default 0.
    Required:
定義位置
相關方法
next_post_linkget_next_posts_linkget_next_post_linknext_post_rel_linkedit_post_link
引入
0.71
棄用
-

next_posts_link: 這個函式生成一個指向迴圈中下一組文章的連結。它接受幾個引數來定製連結的文字、格式和其他屬性。

顯示下一個文章的頁面連結。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function next_posts_link( $label = null, $max_page = 0 ) {
echo get_next_posts_link( $label, $max_page );
}
function next_posts_link( $label = null, $max_page = 0 ) { echo get_next_posts_link( $label, $max_page ); }
function next_posts_link( $label = null, $max_page = 0 ) {
	echo get_next_posts_link( $label, $max_page );
}

常見問題

FAQs
檢視更多 >