久久精品水蜜桃av综合天堂,久久精品丝袜高跟鞋,精品国产肉丝袜久久,国产一区二区三区色噜噜,黑人video粗暴亚裔

WordPress:Template Tags/comments number

來(lái)自站長(zhǎng)百科
跳轉(zhuǎn)至: 導(dǎo)航、? 搜索

描述[ ]

顯示評(píng)論的總數(shù),文章的Trackbacks, 和Pingbacks。必須在The Loop內(nèi)部使用這個(gè)標(biāo)簽。

用法[ ]

%%% <?php comments_number('zero', 'one', 'more'); ?> %%%

例子[ ]

對(duì)于評(píng)論數(shù)目,文本的回應(yīng)[ ]

根據(jù)評(píng)論的數(shù)目,顯示文本:評(píng)論數(shù)目為零- 沒(méi)有回應(yīng); 評(píng)論數(shù)目為一 - 一個(gè)回應(yīng);多于一個(gè)評(píng)論(總共42個(gè)評(píng)論)顯示42 個(gè)回應(yīng)。

<p>This post currently has 
<?php comments_number('no responses','one response','% responses'); ?>.</p> 

參數(shù)[ ]

zero
(string)沒(méi)有評(píng)論時(shí)候,顯示的文本。默認(rèn)'沒(méi)有評(píng)論'。
one
(string) 有一個(gè)評(píng)論時(shí)候,顯示的文本。默認(rèn)'1 個(gè)評(píng)論'
more
(string) 不止一個(gè)評(píng)論時(shí)候,顯示的文本。% 被評(píng)論數(shù)目代替,因此,當(dāng)有五個(gè)評(píng)論的時(shí)候,'% so far' 顯示為 "5 so far" 。默認(rèn) '% 評(píng)論'。

相關(guān)的[ ]

comments_number, comments_link, comments_rss_link, comments_popup_script, comments_popup_link, comment_ID, comment_author, comment_author_IP, comment_author_email, comment_author_url, comment_author_email_link, comment_author_url_link, comment_author_link, comment_type, comment_text, comment_excerpt, comment_date, comment_time, comments_rss_link, comment_author_rss, comment_text_rss, comment_link_rss, permalink_comments_rss

模板:PHP 函數(shù) 標(biāo)簽 頁(yè)底文字