the_category_rss

Sponsored Link

カテゴリ名またはカテゴリー記事がRSS形式に属するカテゴリー記事を表示します。このタグはループ内で使用する必要があります。

Sponsored Link

Displays the name of the category or categories a post belongs to in RSS format. This tag must be used within The Loop.

<?php the_category_rss( $type ) ?&#91;/php&#93;

<h2>the_permalinkのテンプレートタグのデフォルト用法</h2>
<p>RSS2配信ページの断片。 </p>
<blockquote>Fragment of an RSS2 feed page.</blockquote>
<?php the_category_rss() ?>
<guid><?php the_permalink($id); ?></guid>

the_permalinkのパラメーター

type

(string) 表示する配信のタイプ。 有効値:

(string) The type of feed to display to. Valid values:

  • ‘rss’ (Default)
  • ‘rdf’

関連テンプレートタグ

the_category, the_category_rss, single_cat_title, category_description, wp_dropdown_categories, wp_list_categories, get_the_category, get_category_parents, get_category_link, is_category, in_category

Sponsored Link