the_comments_pagination

函式
the_comments_pagination ( $args = array() )
引數
  • (array) $args See get_the_comments_pagination() for available arguments. Default empty array.
    Required:
    Default: array()
定義位置
相關方法
get_the_comments_paginationthe_posts_paginationthe_comments_navigationget_comments_pagination_arrowget_the_posts_pagination
引入
4.4.0
棄用
-

the_comments_pagination – 這個函式用來為文章的評論部分輸出分頁連結: 當有太多的評論無法在一個頁面上顯示時,它就會被使用。

在適用的情況下,顯示一個分頁導航到下一個/上一個評論集。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function the_comments_pagination( $args = array() ) {
echo get_the_comments_pagination( $args );
}
function the_comments_pagination( $args = array() ) { echo get_the_comments_pagination( $args ); }
function the_comments_pagination( $args = array() ) {
	echo get_the_comments_pagination( $args );
}

常見問題

FAQs
檢視更多 >