the_category_rss

函式
the_category_rss ( $type = null )
引數
  • (string) $type Optional, default is the type returned by get_default_feed().
    Required:
    Default: null
相關
  • get_the_category_rss()
定義位置
相關方法
get_the_category_rssthe_categorythe_category_idthe_category_headget_category_rss_link
引入
0.71
棄用
-

the_category_rss – 這個函式用來在RSS feed中輸出類別資訊。它與the_category相似,但專門設計用於feed。

顯示feed中的文章類別。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function the_category_rss( $type = null ) {
echo get_the_category_rss( $type );
}
function the_category_rss( $type = null ) { echo get_the_category_rss( $type ); }
function the_category_rss( $type = null ) {
	echo get_the_category_rss( $type );
}

常見問題

FAQs
檢視更多 >