bloginfo_rss – WordPress*リファレンス
あなたがあなたのUser ProfileとOptions設定でWordPress管理パネルから提供する情報からほとんど集められたあなたのブロッグに関する情報を表示します。 この機能はbloginfo()と同じです、そして、それはWordPressのシンジケート組織化配信における使用のための出力からどんな値上げも剥取ります。
⇒isplays information about your blog, mostly gathered from the information you supply in your User Profile and General Options from the WordPress Administration panels. This function is identical to bloginfo() except it strips any markup from the output for use in WordPress’ syndication feeds.
bloginfo_rssのテンプレートタグ使用方法
<?php bloginfo_rss('show'); ?>
例
ブログタイトルとリンクを表示
表示はタイトルで名前とurlのウェブログを作ります、そして、RSSのリンクタグは供給されます。
⇒Displays blog name and url in title and link tags of RSS feed.
<link><?php bloginfo_rss('name'); ?></link>
<link><?php bloginfo_rss('url') ?></link>
bloginfo_rssのパラメーター
show
⇒(string) Informational detail about your blog. Valid values:
- ‘name’ – Weblog title; set in General Options. (Default)
- ‘description’ – Tagline for your blog; set in General Options.
- ‘url’ – URL for your blog’s web site address.
- ‘rdf_url’ – URL for RDF/RSS 1.0 feed.
- ‘rss_url’ – URL for RSS 0.92 feed.
- ‘rss2_url’ – URL for RSS 2.0 feed.
- ‘atom_url’ – URL for Atom feed.
- ‘comments_rss2_url’ – URL for comments RSS 2.0 feed.
- ‘pingback_url’ – URL for Pingback (XML-RPC file).
- ‘admin_email’ – Administrator’s email address; set in General Options.
- ‘charset’ – Character encoding for your blog; set in Reading Options.
- ‘version’ – Version of WordPress your blog uses.
⇒The following work in WordPress version 1.5 or after:
- ‘html_type’ – “Content-type” for your blog.
- ‘wpurl’ – URL for WordPress installation.
- ‘template_url’ – URL for template in use.
- ‘template_directory’ – URL for template’s directory.
- ’stylesheet_url’ – URL for primary CSS file.
- ’stylesheet_directory’ – URL for stylesheet directory.
関連テンプレートタグ
bloginfo, bloginfo_rss, get_bloginfo, get_bloginfo_rss, wp_title, get_archives, wp_get_archives, get_calendar, get_posts, wp_list_pages, wp_dropdown_pages, wp_loginout, wp_register, query_posts, rss_enclosure
関連記事







