<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FAQ &#187; template</title>
	<atom:link href="http://tenman.info/labo/manual/tag/template/feed/" rel="self" type="application/rss+xml" />
	<link>http://tenman.info/labo/manual</link>
	<description>Just another 仙台入門new weblog</description>
	<lastBuildDate>Fri, 20 Aug 2010 09:14:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>逆引き　　テンプレートコーディング</title>
		<link>http://tenman.info/labo/manual/2009/06/05/%e9%80%86%e5%bc%95%e3%81%8d%e3%80%80%e3%80%80%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e3%82%b3%e3%83%bc%e3%83%87%e3%82%a3%e3%83%b3%e3%82%b0/</link>
		<comments>http://tenman.info/labo/manual/2009/06/05/%e9%80%86%e5%bc%95%e3%81%8d%e3%80%80%e3%80%80%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e3%82%b3%e3%83%bc%e3%83%87%e3%82%a3%e3%83%b3%e3%82%b0/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 04:51:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[管理者]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://tenman.info/labo/manual/?p=688</guid>
		<description><![CDATA[head line ブログ名メインページへのURLサブタイトルメタタイプの入力ここの部分&#60;?php bloginfo(&#8216;html_type&#8217;);?&#62;文字コード&#60;?php blog [...]]]></description>
			<content:encoded><![CDATA[<a name="TOP" id="TOP">head line</a>

<ul><li><a href="#h2-post-6881">ブログ名</a></li><li><a href="#h2-post-6882">メインページへのURL</a></li><li><a href="#h2-post-6883">サブタイトル</a></li><li><a href="#h2-post-6884">メタタイプの入力</a></li><li><a href="#h2-post-6885">ここの部分&lt;?php bloginfo(&#8216;html_type&#8217;);?&gt;</a></li><li><a href="#h2-post-6886">文字コード&lt;?php bloginfo(&#8216;charset&#8217;);?&gt;</a></li><li><a href="#h2-post-6887">スタイルシートの適応</a></li><li><a href="#h2-post-6888">バージョン情報</a></li><li><a href="#h2-post-6889">フィールドファイルのアドレス（RSSとATOM）</a></li><li><a href="#h2-post-68810">前後ページへリンクする</a></li><li><a href="#h2-post-68811">最近の記事のメニューリストを作る</a></li><li><a href="#h2-post-68812">カテゴリーメニューリスト</a></li><li><a href="#h2-post-68813">月別のアーカイブメニュー</a></li><li><a href="#h2-post-68814">ファッションスタイル</a></li><li><a href="#h2-post-68815">クエリースタイル</a></li><li><a href="#h2-post-68816">管理画面へのログイン</a></li><li><a href="#h2-post-68817">ユーザ登録、登録画面へのリンク</a></li><li><a href="#h2-post-68818">記事タイトルのループ表示</a></li><li><a href="#h2-post-68819">記事タイトルのループ表示（beforeとafterの記載例）</a></li><li><a href="#h2-post-68820">記事タイトルのシングル表示</a></li><li><a href="#h2-post-68821">記事の内容のループ表示</a></li><li><a href="#h2-post-68822">記事の内容のループ表示（文字だけ）</a></li><li><a href="#h2-post-68823">カスタムフィールドのエリア、キーワードを表示</a></li><li><a href="#h2-post-68824">記事のID（カウント）を表示</a></li><li><a href="#h2-post-68825">記事のURLを表示する</a></li><li><a href="#h2-post-68826">複数に分裂した記事番号へのURLの表示</a></li><li><a href="#h2-post-68827">複数に分裂したページに前後リンクを表示させる</a></li><li><a href="#h2-post-68828">記事の投稿日を表示する</a></li><li><a href="#h2-post-68829">カテゴリー名を表示する</a></li><li><a href="#h2-post-68830">カテゴリーのパンぐずリストを表示</a></li><li><a href="#h2-post-68831">アーカイブメニューを表示する</a></li><li><a href="#h2-post-68832">カレンダーを表示する</a></li><li><a href="#h2-post-68833">パーツを読み込む</a></li><li><a href="#h2-post-68834">コンディショナルタグ</a>

<ul><li><a href="#h3-post-6881">ダイナミックハイライトメニュー</a></li><li><a href="#h3-post-6882">ダイナミックタイトルタグ</a></li><li><a href="#h3-post-6883">ダイナミックコンテンツ</a></li><li><a href="#h3-post-6884">ハイライトする記事を目立たせる</a></li><li><a href="#h3-post-6885">1つのテンプレートをユニークにする</a></li><li><a href="#h3-post-6886">カテゴリテンプレートをユニークにする</a></li></ul></li><li><a href="#h2-post-68835">クエリーポスト</a>

<ul><li><a href="#h3-post-6887">最新記事を表示する</a></li><li><a href="#h3-post-6888">特定の記事を表示する</a></li><li><a href="#h3-post-6889">特定のカテゴリから除外する</a></li></ul></li><li><a href="#h2-post-68836">カスタムフィールド</a></li><li><a href="#h2-post-68837">リストページ</a>

<ul><li><a href="#h3-post-68810">サイトマップ</a></li><li><a href="#h3-post-68811">ダイナミックサブページメニュー</a></li></ul></li><li><a href="#h2-post-68838">ページテンプレート</a></li><li><a href="#h2-post-68839">/</a></li><li><a href="#h2-post-68840">WordPress各種設定</a>

<ul><li><a href="#h3-post-68812">トップページをカスタムする</a></li><li><a href="#h3-post-68813">パーマリンク</a></li></ul></li><li><a href="#h2-post-68841">カテゴリ接頭語</a></li></ul>

</ul>

<h2 id="h2-post-6881">ブログ名</h2>

&lt;?php bloginfo(&#8216;name&#8217;);?&gt;

<h2 id="h2-post-6882">メインページへのURL</h2>

&lt;?php bloginfo(&#8216;url&#8217;);?&gt;

<h2 id="h2-post-6883">サブタイトル</h2>

&lt;?php bloginfo(&#8216;description&#8217;);?&gt;

<h2 id="h2-post-6884">メタタイプの入力</h2>

&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;ここの部分; charset=文字コード&quot; /&gt;

<p>例）<br /></p>

&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;&lt;?php bloginfo(&#8216;html_type&#8217;);?&gt;; charset=&lt;?php bloginfo(&#8216;charset&#8217;);?&gt;&quot; /&gt;

<h2 id="h2-post-6885">ここの部分&lt;?php bloginfo(&#8216;html_type&#8217;);?&gt;</h2>

<h2 id="h2-post-6886">文字コード&lt;?php bloginfo(&#8216;charset&#8217;);?&gt;</h2>

<h2 id="h2-post-6887">スタイルシートの適応</h2>

&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;&lt;?php bloginfo(&#8216;stylesheet_url&#8217;); ?&gt;&quot; /&gt;

<h2 id="h2-post-6888">バージョン情報</h2>

&lt;meta name=&quot;generator&quot; content=&quot;WordPressここの部分&quot;/&gt;

<p>例）<br /></p>

&lt;meta name=&quot;generator&quot; content=&quot;WordPress&lt;?php bloginfo(&#8216;charset&#8217;);?&gt;&quot;/&gt;

&lt;?php bloginfo(&#8216;charset&#8217;);?&gt;

<h2 id="h2-post-6889">フィールドファイルのアドレス（RSSとATOM）</h2>

&lt;link rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot; title=&quot;&lt;?php bloginfo(&#8216;name&#8217;);?>(RSS2.0)&quot; href=&quot;&lt;?php bloginfo(&quot;rss2_url&quot;); ?&gt;&quot; /&gt;

&lt;link rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot; title=&quot;&lt;?php bloginfo(&#8216;name&#8217;);?>(RSS2.0)&quot; href=&quot;&lt;?php bloginfo(&quot;atom_url&quot;); ?&gt;&quot; /&gt;

<p>記事タイトルをリストアップ</p>

&lt;?php if(have_posts() ): while(have_posts() ): the_post(); ?&gt;

&lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;/h2&gt;　//記事タイトル

&lt;?php the_content(); ?&gt;　//記事タイトル

&lt;?php endwhile; endif; ?&gt;

<h2 id="h2-post-68810">前後ページへリンクする</h2>

&lt;?php posts_nav_link(&#8216; |&#8217;,'&laquo;前のページ&#8217;,'次のページ &raquo;&#8217;); ?&gt;

<p>表示設定で設定した数値が超えたときに表示されます。</p>

<h2 id="h2-post-68811">最近の記事のメニューリストを作る</h2>

&lt;?php wp_get_archives(&#8216;type=postbypost&amp;limit=10&#8242;); ?&gt;

<h2 id="h2-post-68812">カテゴリーメニューリスト</h2>

&lt;?php list_cats(0,&#8217;name&#8217;)?&gt;

<h2 id="h2-post-68813">月別のアーカイブメニュー</h2>

&lt;?php wp_get_archives(&#8216;type=monthly&#8217;); ?&gt;

<p>テンプレートタグ種類</p>

<h2 id="h2-post-68814">ファッションスタイル</h2>

<p>1. パラメータの記述（パラメータ値を指定する。このとき、文字列（&#8217;type&#8217;,'format&#8217;,'before&#8217;,'after&#8217;）・数値（&#8217;limit&#8217;,）パラメータ（show_post_count）は「"」で囲む。またブーリアンの場合は「"」で囲まない。</p>

<p>例）&lt;?php get_archives(&#8216;type&#8217;,'limit&#8217;,'format&#8217;,'before&#8217;,'after&#8217;,show_post_count); ?&gt;</p>

<p>注意）指定順序を変えないこと、省略もしないこと</p>

<p>デフォルトの指定）&lt;?php get_archives();?&gt;、またはパラメータのデフォルトの指定は&lt;?php　get_archives(",",",&#8217;before&#8217;,'after&#8217;,show_post_count); ?&gt;</p>

<h2 id="h2-post-68815">クエリースタイル</h2>

<p>1. クエリーの記述（パラメータ名と値）</p>

<p>例）&lt;?php wp_get_archives(&#8216;type=xx &amp; limit=xx &amp; format=xx &amp; before=xx &amp; after=xx &amp; show_post_count=xx&#8217;); ?&gt;</p>

<p>テンプレートの分類</p>

<p>一般</p>

<p>記事</p>

<p>日付</p>

<p>カテゴリー</p>

<p>リンク</p>

<p>コピーライト</p>

<p>コメント</p>

<p>その他</p>

<p>パラメータの一覧</p>

<h2 id="h2-post-68816">管理画面へのログイン</h2>

&lt;?php wp_loginout(); ?&gt;

<h2 id="h2-post-68817">ユーザ登録、登録画面へのリンク</h2>

&lt;?php wp_register();?&gt;

<h2 id="h2-post-68818">記事タイトルのループ表示</h2>

&lt;?php if(have_posts() ):while(have_posts() ): the_post(); ?&gt;

&lt;p&gt;&lt;?php the_title(); ?&gt;&lt;/p&gt;

&lt;?php endwhile; endif; ?&gt;

<h2 id="h2-post-68819">記事タイトルのループ表示（beforeとafterの記載例）</h2>

&lt;?php if(have_posts() ):while(have_posts() ): the_post(); ?&gt;

&lt;?php the_title(&#8216;&lt;p&gt;&#8217;,'&lt;/p&gt;&#8217;); ?&gt; //このように記載すると上記と同じようになる。

&lt;?php endwhile; endif; ?&gt;

<h2 id="h2-post-68820">記事タイトルのシングル表示</h2>

&lt;?php single_post_title(); ?&gt;

<h2 id="h2-post-68821">記事の内容のループ表示</h2>

&lt;?php if(have_posts() ):while(have_posts() ): the_post(); ?&gt;

&lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;

&lt;?php the_content(); ?&gt;

&lt;?php endwhile; endif; ?&gt;

<h2 id="h2-post-68822">記事の内容のループ表示（文字だけ）</h2>

&lt;?php if(have_posts() ):while(have_posts() ): the_post(); ?&gt;

&lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;

&lt;?php the_excerpt(); ?&gt; //RSSの場合はthe_excerpt_rss();を使用する。

&lt;?php endwhile; endif; ?&gt;

<h2 id="h2-post-68823">カスタムフィールドのエリア、キーワードを表示</h2>

&lt;?php if(have_posts() ):while(have_posts() ): the_post(); ?&gt;

&lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;

&lt;?php the_meta(); ?&gt;

&lt;?php endwhile; endif; ?&gt;

<h2 id="h2-post-68824">記事のID（カウント）を表示</h2>

&lt;?php if(have_posts() ):while(have_posts() ): the_post(); ?&gt;

&lt;h1&gt;&lt;?php the_ID(); ?&gt;&lt;/h1&gt;

&lt;?php edit_post_link(); ?&gt;

&lt;?php endwhile; endif; ?&gt;

<h2 id="h2-post-68825">記事のURLを表示する</h2>

&lt;?php if(have_posts() ):while(have_posts() ): the_post(); ?&gt;

&lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;

&lt;?php the_parmalink(); ?&gt;　//RSSの場合は&lt;?php parmalink_single_rss(); ?&gt;　//PHPの記述の場合&lt;?php echo get_parmalink(10); ?&gt;

&lt;?php endwhile; endif; ?&gt;）

<h2 id="h2-post-68826">複数に分裂した記事番号へのURLの表示</h2>

&lt;?php if(have_posts() ):while(have_posts() ): the_post(); ?&gt;

&lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;

&lt;?php the_content(); ?&gt;

&lt;p&gt;&lt;?php link_page(); /&gt;&lt;/p&gt;

&lt;?php endwhile; endif; ?&gt;）

<h2 id="h2-post-68827">複数に分裂したページに前後リンクを表示させる</h2>

&lt;?php if(have_posts() ):while(have_posts() ): the_post(); ?&gt;

&lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;

&lt;?php the_content(); ?&gt;

&lt;?php endwhile; endif; ?&gt;

&lt;p&gt;&lt;?php posts_nav_link(); ?&gt;&lt;/p&gt;

&lt;p&gt;&lt;?php previous_posts_link(); ?&gt;&lt;/p&gt;

&lt;p&gt;&lt;?php next_posts_link(); ?&gt;&lt;/p&gt;

<h2 id="h2-post-68828">記事の投稿日を表示する</h2>

&lt;?php if(have_posts() ):while(have_posts() ): the_post(); ?&gt;

&lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;

&lt;?php the_date(); ?&gt; &lt;?php the_time(); ?&gt;

&lt;?php endwhile; endif; ?&gt;

<h2 id="h2-post-68829">カテゴリー名を表示する</h2>

&lt;?php if(have_posts() ):while(have_posts() ): the_post(); ?&gt;

&lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;

&lt;?php the_category(); ?&gt; //ドロップダウンで表示させたい場合は&lt;?php dropdown_cats(); ?&gt;

&lt;?php endwhile; endif; ?&gt;

<h2 id="h2-post-68830">カテゴリーのパンぐずリストを表示</h2>

&lt;?php echo get_category_parents($cat); ?&gt;

<h2 id="h2-post-68831">アーカイブメニューを表示する</h2>

&lt;?php get_archives(); ?&gt;

&lt;?php get_archives(&#8216;type=postbypost&amp;limit=5&#8242;,); ?&gt;

<h2 id="h2-post-68832">カレンダーを表示する</h2>

&lt;?php get_calendar(); ?&gt;

<h2 id="h2-post-68833">パーツを読み込む</h2>

&lt;?php get_header(); ?&gt; //ヘッダーを読み込む

&lt;?php get_footer(); ?&gt; //フッダーを読み込む

&lt;?php get_sidebar(); ?&gt; //サイドを読み込む

&lt;?php get_comments_template(); ?&gt; //コメントテンプレートを読み込む

<h2 id="h2-post-68834">コンディショナルタグ</h2>

<p>コンディショナルタグは、どのコンテンツをいくつ表示するかをコントロールすることができる。</p>

<h3 id="h3-post-6881">ダイナミックハイライトメニュー</h3>

<p>Home、Category、Archive、Search、Singleのどれかのページにいるとすると、箇条書き（ナビゲーション）のはじめの項目のliタグに、class=&quot;current&quot;を追加する。</p>

<p>例）&quot;about&quot;という名前のページにいるときに、class=&quot;current&quot;を追加する。</p>

&lt;ul id=&quot;nav&quot;&gt;
&lt;li&lt;?php if ( is_home() | | is_category() | | is_archive() | | is_search() | | is_single() | | is_date() ) { echo &#8216; class=&quot;current&quot;&#8217;; } ?&gt;&gt;&lt;a href=&quot;#&quot;&gt;Gallery&lt;/a&gt;&lt;/li&gt;
&lt;li&lt;?php if ( is_page(&#8216;about&#8217;) ) { echo &#8216; class=&quot;current&quot;&#8217;; } ?&gt;&gt;&lt;a href=&quot;#&quot;&gt;About&lt;/a&gt;&lt;/li&gt;
&lt;li&lt;?php if ( is_page(&#8216;submit&#8217;) ) { echo &#8216; class=&quot;current&quot;&#8217;; } ?&gt;&gt;&lt;a href=&quot;#&quot;&gt;Submit&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

<h3 id="h3-post-6882">ダイナミックタイトルタグ</h3>

<p>動的にtitleタグをheader.phpに加える</p>

&lt;title&gt;
&lt;?phpif (is_home()) {

<p>echo bloginfo(&#8216;name&#8217;);<br />
} elseif (is_404()) {<br />
echo &#8217;404 Not Found&#8217;;<br />
} elseif (is_category()) {<br />
echo &#8216;Category:&#8217;; wp_title(");<br />
} elseif (is_search()) {<br />
echo &#8216;Search Results&#8217;;<br />
} elseif ( is_day() | | is_month() | | is_year() ) {<br />
echo &#8216;Archives:&#8217;; wp_title(");<br />
} else {echo wp_title(");<br />
}<br />
?&gt;<br /></p>

&lt;/title&gt;

<h3 id="h3-post-6883">ダイナミックコンテンツ</h3>

<p>トップページのみに表示されるファイルを指定</p>

&lt;?php if ( is_home() ) { include (&#8216;file.php&#8217;); } ?&gt;

<h3 id="h3-post-6884">ハイライトする記事を目立たせる</h3>

<p>CSSクラスを追加</p>

&lt;?php if ( in_category(&#8217;2&#8242;) ) { echo (&#8216;class=&quot;feature&quot;&#8217;); } ?&gt;

<h3 id="h3-post-6885">1つのテンプレートをユニークにする</h3>

<p>あるカテゴリで個々の記事を表示するために、1つの違うテンプレートを使いたいとする。<br />
記事がどのカテゴリに属しているかをin_categoryでチェックし、それからテンプレートを選択すればよい。</p>

<p>デフォルトのsingle.phpには、以下のコードを入力する。記事がカテゴリ1に属していればsingle1.phpというテンプレートを使い、一方カテゴリ2であればsingle2.php、ほかのものならばsingle_other.phpを適用する、というコードになっている。</p>

&lt;?php
$post= $wp_query- &gt;post;

<p>if ( in_category(&#8217;1&#8242;) ) {<br />
include(TEMPLATEPATH . &#8216;/single1.php&#8217;);<br />
} elseif ( in_category(&#8217;2&#8242;) ) {<br />
include(TEMPLATEPATH . &#8216;/single2.php&#8217;);<br />
} else {<br />
include(TEMPLATEPATH . &#8216;/single_other.php&#8217;);<br />
}<br />
? &gt;</p>

<h3 id="h3-post-6886">カテゴリテンプレートをユニークにする</h3>

<p>異なるカテゴリテンプレートを使って、特定のカテゴリを表示したいとしよう。これは単純にカテゴリテンプレートをcategory-2.phpとして保存すればよい。（注意：&quot;-&quot;とカテゴリID番号をファイル名にする）すると、category-2.phpはカテゴリ2を表示した際に使われ、category-3.phpはカテゴリ3のときに使われる、など。</p>

<p>（訳者注：上記と絡ませて使うと便利。コンディショナルタグで表示ページを指定し、カテゴリごとにページデザインを変える、など）</p>

<p>1つ目の記事のあとにGoogle Adsenseを表示する</p>

<p>多くの人が僕に質問する。「どうやって、1つ目の記事のあとにGoogle Adsenseを表示しているんだい？」これはすごく単純。ループ内に変数($loopcounter)を加えればよいだけだ。</p>

<p>もし、$loopcounterが1以下、または等しいのであれば、そのときはgoogle-ad.phpを組み入れる。</p>

&lt;?php if (have_posts()) : ?&gt;&lt;?php while (have_posts()) : the_post(); $loopcounter++; ?&gt;

<p>// the loop stuffs<br /></p>

&lt;?php if ($loopcounter &lt;= 1) { include (TEMPLATEPATH . &#8216;/ad.php&#8217;); } ?&gt;
&lt;?php endwhile; ?&gt;
&lt;?php else : ?&gt;
&lt;?php endif; ?&gt;

<h2 id="h2-post-68835">クエリーポスト</h2>

<p>ループ内にいくつの記事を表示するのかを制御する</p>

<p>どのコンテンツが、どこに、どうやって表示されるのかを制御させられるのがクエリーポスト</p>

<p>特定のカテゴリにクエリーを要求することもできるし、除外することもできる。</p>

<p>最新記事の一覧を表示したもの、特定の記事を表示するもの、またどうやって特定のカテゴリから除外するのかについて、クエリーポストを使った例を示してみよう。</p>

<h3 id="h3-post-6887">最新記事を表示する</h3>

<p>以下のコードが最新5件を一覧に表示するものだ。</p>

&lt;?php query_posts(&#8216;showposts=5&#8242;); ?&gt;
&lt;ul&gt;
&lt;?php while (have_posts()) : the_post(); ?&gt;
&lt;li&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/li&gt;
&lt;?php endwhile;?&gt;
&lt;/ul&gt;

<h3 id="h3-post-6888">特定の記事を表示する</h3>

<p>カテゴリ2は特別なカテゴリとする。このカテゴリから5件をサイドバーに表示したい。そんなときは、こんなコードをsidebar.phpに入れればよい。</p>

&lt;?php query_posts(&#8216;cat=2&amp;showposts=5&#8242;); ?&gt;
&lt;ul&gt;
&lt;?php while (have_posts()) : the_post(); ?&gt;
&lt;li&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/li&gt;
&lt;?php endwhile;?&gt;
&lt;/ul&gt;

<h3 id="h3-post-6889">特定のカテゴリから除外する</h3>

<p>特定のカテゴリを表示しない</p>

<p>以下のコードはカテゴリ2の全ての記事を除外したものだ。（注意：ID番号の前にマイナス記号が入っている）</p>

&lt;?php query_posts(&#8216;cat=-2&#8242;); ?&gt;
&lt;?php while (have_posts()) : the_post(); ?&gt;

<p>//the loop here<br /></p>

&lt;?php endwhile;?&gt;

<p>Tips：posts_per_page引数を使うことによって、ページの記事ごとに上書することもできる。（例：query_posts(&#8216;posts_per_page=6&#8242;);）</p>

<h2 id="h2-post-68836">カスタムフィールド</h2>

<p>記事のコンテンツや抜粋と同じように、特別なデータやテキストを記事に加えることができる。</p>

<p>はじめに記事のカスタムフィールドに追加する。</p>

<p>記事イメージと記事へのリンクを表示するため、以下のコードをループに入れる。</p>

&lt;?php //get article_image (custom field) ?&gt;
&lt;?php $image= get_post_meta($post-&gt;ID, &#8216;article_image&#8217;, true); ?&gt;

&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php echo $image; ?&gt;&quot; alt=&quot;&lt;?php the_title(); ?&gt;&quot; /&gt;&lt;/a&gt;

<p>Tips：WordPressでは複数のキーを作り、保存もできる。その上、そのキーはほかの記事にも使うことができる。</p>

<p>サイトのサムネール、ツールチップのイメージ、URLを表示するために、カスタムフィールド等に使う</p>

<h2 id="h2-post-68837">リストページ</h2>

<p>wp_list_pagesというテンプレートタグは、ナビゲーションのためにヘッダーやサイバーにページの一覧を表示するために使われる。どのようにwp_list_pagesを用いて、サイトマップやサブメニューを作るのかを示してみよう。</p>

<h3 id="h3-post-68810">サイトマップ</h3>

<p>全てのページのサイトマップ（サンプル）を作るために、サイトマップのページテンプレートに次のコードを入れよう。（注意：僕はページID12を除外している。なぜならページID12は僕のサイトマップ自身のページであり、そのページを表示する必要がないと思うからだ）。</p>

&lt;ul&gt;
&lt;?php wp_list_pages(&#8216;exclude=12&amp;title_li=&#8217; ); ?&gt;
&lt;/ul&gt;

<h3 id="h3-post-68811">ダイナミックサブページメニュー</h3>

<p>サブページにいるとすると、サブページのメニューを出力する。そうするためには、このコードをsidebar.phpに入れよう。</p>

&lt;?php
$children= wp_list_pages(&#8216;title_li=&amp;child_of=&#8217;.$post-&gt;ID.&#8217;&amp;echo=0&#8242;);

<p>if ($children) { ?&gt;<br /></p>

&lt;ul&gt;
&lt;?php echo $children; ?&gt;
&lt;/ul&gt;
&lt;?php } ?&gt;

<h2 id="h2-post-68838">ページテンプレート</h2>

<p>WordPressをホームページのように使う</p>

<p>どのようにページがどのように表示されるべきかを制御するのがページテンプレート機能だ。</p>

<p>この機能を使うためには、まずページテンプレートを作る必要がある。それから、あるページに特定のテンプレートを指定することができるようになる。</p>

<p>ページテンプレートがどのように構造化されたのかを示してみよう。（例えば、portfolio.php）</p>

&lt;?php

<p>/*<br />
Template Name: Portfolio</p>

<h2 id="h2-post-68839">/</h2>

<p>?&gt;<br /></p>

&lt;?php get_header(); ?&gt;

<p>//the loop here<br /></p>

&lt;?php get_footer(); ?&gt;

<p>記事を投稿したり編集したりするときに、右側に&quot;Page Template&quot;というタブがあります。<br />
利用できるテンプレートが表示される。</p>

<h2 id="h2-post-68840">WordPress各種設定</h2>

<p>管理画面には、はじめからたくさんの設定をすることができ、もっとあなたのサイトをよくできる。ここにいくつかあげよう。</p>

<h3 id="h3-post-68812">トップページをカスタムする</h3>

<p>デフォルトにおいては、WordPressはトップページにあなたの記事を表示する。しかし、もし静的なページ（ようこそやスプラッシュなど）を代わりに使いたいのであれば、管理画面 &gt; 各種設定 &gt; 表示設定から決定することができる。</p>

<h3 id="h3-post-68813">パーマリンク</h3>

<p>デフォルトのWordPressは記事のURLにwww.yoursite.com/?p=123というものを使っているが、これは検索エンジンにとって好ましいURLではない。パーマリンクは、管理画面 &gt; 各種設定 &gt; パーマリンク設定から変更することができる。個人的には、パーマリンクは/%category%/%postname%/が気に入っている。</p>

<h2 id="h2-post-68841">カテゴリ接頭語</h2>

<p>デフォルトのWordPressのカテゴリの接頭語は、カテゴリになっている（例：yoursite.com/category/cat-name/）。</p>

<p>これにarticleをカテゴリーベースに入れることにより（各種設定 &gt; パーマリンク）、カテゴリURLをyoursite.com/article/cat-name/にすることができる。</p>

]]></content:encoded>
			<wfw:commentRss>http://tenman.info/labo/manual/2009/06/05/%e9%80%86%e5%bc%95%e3%81%8d%e3%80%80%e3%80%80%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e3%82%b3%e3%83%bc%e3%83%87%e3%82%a3%e3%83%b3%e3%82%b0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom taxonomies in WordPress 2.8</title>
		<link>http://tenman.info/labo/manual/2009/06/03/custom-taxonomies-in-wordpress-28/</link>
		<comments>http://tenman.info/labo/manual/2009/06/03/custom-taxonomies-in-wordpress-28/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 06:07:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[管理者]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://tenman.info/labo/manual/?p=729</guid>
		<description><![CDATA[引用元: Custom taxonomies in WordPress 2.8. 2.8 beta2 ではカスタムタクソノミーが不完全？ register_taxonomy でタクソノミーを登録する 第一引数は英数字でな [...]]]></description>
			<content:encoded><![CDATA[引用元: <a href="http://justintadlock.com/archives/2009/05/06/custom-taxonomies-in-wordpress-28">Custom taxonomies in WordPress 2.8</a>.

<p><a href="http://ja.forums.wordpress.org/topic/1870?replies=8" onclick="this.target='_self';" onkeypress="this.target='_self';">2.8 beta2 ではカスタムタクソノミーが不完全？</a></p>

<ul><li>register_taxonomy でタクソノミーを登録する</li>
<li>第一引数は英数字でなければならない</li>
<li>wp_rewrite を register_activation_hook の時に flush する</li></ul>

<p><a href="http://www.simonwheatley.co.uk/2009/03/11/custom-taxonomies-in-wordpress/" onclick="this.target='_self';" onkeypress="this.target='_self';">Custom taxonomies in WordPress</a></p>

]]></content:encoded>
			<wfw:commentRss>http://tenman.info/labo/manual/2009/06/03/custom-taxonomies-in-wordpress-28/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>年別アーカイブ一覧表示</title>
		<link>http://tenman.info/labo/manual/2009/06/03/%e5%b9%b4%e5%88%a5%e3%82%a2%e3%83%bc%e3%82%ab%e3%82%a4%e3%83%96%e4%b8%80%e8%a6%a7%e8%a1%a8%e7%a4%ba/</link>
		<comments>http://tenman.info/labo/manual/2009/06/03/%e5%b9%b4%e5%88%a5%e3%82%a2%e3%83%bc%e3%82%ab%e3%82%a4%e3%83%96%e4%b8%80%e8%a6%a7%e8%a1%a8%e7%a4%ba/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 05:45:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[管理者]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://tenman.info/labo/manual/?p=725</guid>
		<description><![CDATA[年別アーカイブのタイトル一覧表示 &#60;?php if &#40;have_posts&#40;&#41;&#41; : ?&#62; &#60;dl class=&#34;archives&#34;&#62; &#60; [...]]]></description>
			<content:encoded><![CDATA[

<p><a href="http://ja.forums.wordpress.org/topic/1876?replies=6" onclick="this.target='_self';" onkeypress="this.target='_self';">年別アーカイブのタイトル一覧表示</a></p>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;dl class=&quot;archives&quot;&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> the_post<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_date<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$date_format</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'&lt;dt&gt;'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'&lt;/dt&gt;'</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;dd&gt;&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/a&gt;&lt;/dd&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/dl&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">else</span><span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;p&gt;指定された年度の投稿はありません。&lt;/p&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>


]]></content:encoded>
			<wfw:commentRss>http://tenman.info/labo/manual/2009/06/03/%e5%b9%b4%e5%88%a5%e3%82%a2%e3%83%bc%e3%82%ab%e3%82%a4%e3%83%96%e4%b8%80%e8%a6%a7%e8%a1%a8%e7%a4%ba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>最近の投稿：投稿内で使っている画像を、自動表示する</title>
		<link>http://tenman.info/labo/manual/2009/05/29/%e6%9c%80%e8%bf%91%e3%81%ae%e6%8a%95%e7%a8%bf%ef%bc%9a%e6%8a%95%e7%a8%bf%e5%86%85%e3%81%a7%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%84%e3%82%8b%e7%94%bb%e5%83%8f%e3%82%92%e3%80%81%e8%87%aa%e5%8b%95%e8%a1%a8/</link>
		<comments>http://tenman.info/labo/manual/2009/05/29/%e6%9c%80%e8%bf%91%e3%81%ae%e6%8a%95%e7%a8%bf%ef%bc%9a%e6%8a%95%e7%a8%bf%e5%86%85%e3%81%a7%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%84%e3%82%8b%e7%94%bb%e5%83%8f%e3%82%92%e3%80%81%e8%87%aa%e5%8b%95%e8%a1%a8/#comments</comments>
		<pubDate>Fri, 29 May 2009 08:41:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[管理者]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://tenman.info/labo/manual/?p=716</guid>
		<description><![CDATA[投稿に利用している画像のサムネールを最近の投稿欄に、エントリーのマーカーとして添付するための、 コードサンプル 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21  [...]]]></description>
			<content:encoded><![CDATA[

<p>投稿に利用している画像のサムネールを最近の投稿欄に、エントリーのマーカーとして添付するための、<br />
コードサンプル</p>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">   <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
            &lt;h2&gt;Recent Post 10&lt;/h2&gt;
            &lt;ul&gt;
              <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> the_post<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
              &lt;li class=&quot;category<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> cat_id<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span>			
<span style="color: #000088;">$images</span> <span style="color: #339933;">=&amp;</span> get_children<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'post_type=attachment&amp;post_mime_type=image&amp;post_parent='</span><span style="color: #339933;">.</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$images</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><span style="color: #666666; font-style: italic;">/*画像を使っていない場合*/</span>
			<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
				<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$images</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$attachment_id</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$attachment</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
					<span style="color: #b1b100;">echo</span> wp_get_attachment_image<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$attachment_id</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;thumbnail&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span>
			<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
                &lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to <span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?php</span> the_time<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Y年　F j日 '</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>:<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_author<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;
                <span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
                &lt;/a&gt;
                <span style="color: #000000; font-weight: bold;">&lt;?php</span> edit_post_link<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Edit'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'  '</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>      <span style="color: #000000; font-weight: bold;">?&gt;</span>  
&nbsp;
              &lt;/li&gt;
              <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
            &lt;/ul&gt;
   <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>


]]></content:encoded>
			<wfw:commentRss>http://tenman.info/labo/manual/2009/05/29/%e6%9c%80%e8%bf%91%e3%81%ae%e6%8a%95%e7%a8%bf%ef%bc%9a%e6%8a%95%e7%a8%bf%e5%86%85%e3%81%a7%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%84%e3%82%8b%e7%94%bb%e5%83%8f%e3%82%92%e3%80%81%e8%87%aa%e5%8b%95%e8%a1%a8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>検索フォームの表示する</title>
		<link>http://tenman.info/labo/manual/2009/05/27/%e6%a4%9c%e7%b4%a2%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%ae%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b/</link>
		<comments>http://tenman.info/labo/manual/2009/05/27/%e6%a4%9c%e7%b4%a2%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%ae%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b/#comments</comments>
		<pubDate>Wed, 27 May 2009 02:43:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[管理者]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://tenman.info/labo/manual/?p=659</guid>
		<description><![CDATA[テンプレートファイルに、ワードプレスのテンプレート関数を記述すると、検索フォームを設置する事ができます。 &#60;?php get_search_form(); ?&#62; このコードをテンプレートファイルの任意の位置に [...]]]></description>
			<content:encoded><![CDATA[

<p>テンプレートファイルに、ワードプレスのテンプレート関数を記述すると、検索フォームを設置する事ができます。</p>

<pre id="presouce-post-6591">

<code title="line1">&lt;?php get_search_form(); ?&gt; このコードをテンプレートファイルの任意の位置に貼り付けます。</code>
</pre>
<!---->

]]></content:encoded>
			<wfw:commentRss>http://tenman.info/labo/manual/2009/05/27/%e6%a4%9c%e7%b4%a2%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%ae%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>カスタムフィールドの「値だけ表示する」</title>
		<link>http://tenman.info/labo/manual/2009/05/27/%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%95%e3%82%a3%e3%83%bc%e3%83%ab%e3%83%89%e3%81%ae%e3%80%8c%e5%80%a4%e3%81%a0%e3%81%91%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%e3%80%8d/</link>
		<comments>http://tenman.info/labo/manual/2009/05/27/%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%95%e3%82%a3%e3%83%bc%e3%83%ab%e3%83%89%e3%81%ae%e3%80%8c%e5%80%a4%e3%81%a0%e3%81%91%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%e3%80%8d/#comments</comments>
		<pubDate>Tue, 26 May 2009 23:43:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[styling]]></category>
		<category><![CDATA[管理者]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[カスタムフィールド]]></category>

		<guid isPermaLink="false">http://tenman.info/labo/manual/?p=638</guid>
		<description><![CDATA[post_custom() the_meta()によって、すべてのカスタムフィールドのキーと値が表示されているときには、 &#60;?php echo post_custom('key'); ?&#62;を使う方法があります [...]]]></description>
			<content:encoded><![CDATA[

<h2 id="h2-post-6381">post_custom() </h2>

<p>the_meta()によって、すべてのカスタムフィールドのキーと値が表示されているときには、</p>

<pre id="presouce-post-6381">

<code title="line1">&lt;?php echo post_custom('key'); ?&gt;を使う方法があります。</code>
</pre>

<p>また、複数（の可能性がある）カスタムフィールドを表示する場合は、以下のようにしてもよいかもしれない。</p>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> the_post<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$mywords</span> <span style="color: #339933;">=</span> post_custom<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'key'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">is_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$mywords</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">echo</span> <span style="color: #990000;">implode</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$separator</span><span style="color: #339933;">,</span> <span style="color: #000088;">$mywords</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$mywords</span> <span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>


]]></content:encoded>
			<wfw:commentRss>http://tenman.info/labo/manual/2009/05/27/%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%95%e3%82%a3%e3%83%bc%e3%83%ab%e3%83%89%e3%81%ae%e3%80%8c%e5%80%a4%e3%81%a0%e3%81%91%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%e3%80%8d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>特定の親カテゴリを持つ、カテゴリのデザインを統一する。</title>
		<link>http://tenman.info/labo/manual/2009/05/26/%e7%89%b9%e5%ae%9a%e3%81%ae%e8%a6%aa%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%82%92%e6%8c%81%e3%81%a4%e3%80%81%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%81%ae%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%82%92/</link>
		<comments>http://tenman.info/labo/manual/2009/05/26/%e7%89%b9%e5%ae%9a%e3%81%ae%e8%a6%aa%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%82%92%e6%8c%81%e3%81%a4%e3%80%81%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%81%ae%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%82%92/#comments</comments>
		<pubDate>Tue, 26 May 2009 05:59:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[管理者]]></category>
		<category><![CDATA[設定]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://tenman.info/labo/manual/?p=615</guid>
		<description><![CDATA[WordPress › フォーラム » 指定のカテゴリーの子カテゴリーを全て同じデザインにする. cat_is_ancestor_ofは、２つの引数を指定する必要があり、第１引数に指定されたカテゴリーが第２引数にて指定さ [...]]]></description>
			<content:encoded><![CDATA[<a href="http://ja.forums.wordpress.org/topic/1668">WordPress › フォーラム » 指定のカテゴリーの子カテゴリーを全て同じデザインにする</a>.

<blockquote>

cat_is_ancestor_ofは、２つの引数を指定する必要があり、第１引数に指定されたカテゴリーが第２引数にて指定されたカテゴリーの先祖にあたるかどうかを真偽値で返します。

kiwさんの場合、イベント情報のカテゴリーIDが３だとして、イベント情報のテンプレートをevent_info.phpにて表示する場合、カテゴリーが表示されるテンプレートの最初に下記の様に記述すれば、イベント情報以下のカテゴリーではevent_info.phpにて表示され、それ以外では、デフォルトのテンプレートにて表示されるようになるかと思います。

</blockquote>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> cat_is_ancestor_of<span style="color: #009900;">&#40;</span> <span style="color: #cc66cc;">3</span><span style="color: #339933;">,</span> <span style="color: #000088;">$cat</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span> TEMPLATEPATH <span style="color: #339933;">.</span> <span style="color: #0000ff;">'event_info.php'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">exit</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>


<p><a href="http://ja.forums.wordpress.org/topic/1290" onclick="this.target='_self';" onkeypress="this.target='_self';">条件分岐</a></p>

]]></content:encoded>
			<wfw:commentRss>http://tenman.info/labo/manual/2009/05/26/%e7%89%b9%e5%ae%9a%e3%81%ae%e8%a6%aa%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%82%92%e6%8c%81%e3%81%a4%e3%80%81%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%81%ae%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%82%92/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>特定のタグの投稿数を表示</title>
		<link>http://tenman.info/labo/manual/2009/05/26/%e7%89%b9%e5%ae%9a%e3%81%ae%e3%82%bf%e3%82%b0%e3%81%ae%e6%8a%95%e7%a8%bf%e6%95%b0%e3%82%92%e8%a1%a8%e7%a4%ba/</link>
		<comments>http://tenman.info/labo/manual/2009/05/26/%e7%89%b9%e5%ae%9a%e3%81%ae%e3%82%bf%e3%82%b0%e3%81%ae%e6%8a%95%e7%a8%bf%e6%95%b0%e3%82%92%e8%a1%a8%e7%a4%ba/#comments</comments>
		<pubDate>Tue, 26 May 2009 02:47:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[管理者]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://tenman.info/labo/manual/2009/05/26/%e7%89%b9%e5%ae%9a%e3%81%ae%e3%82%bf%e3%82%b0%e3%81%ae%e6%8a%95%e7%a8%bf%e6%95%b0%e3%82%92%e8%a1%a8%e7%a4%ba/</guid>
		<description><![CDATA[tag_id で指定する $tag_properties = get_tag&#40; 15 &#41;; echo $tag_properties-&#62;count; タグ名で指定する &#60;?php $tag_p [...]]]></description>
			<content:encoded><![CDATA[

<p>tag_id で指定する</p>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$tag_properties</span> <span style="color: #339933;">=</span> get_tag<span style="color: #009900;">&#40;</span> <span style="color: #cc66cc;">15</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$tag_properties</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">count</span><span style="color: #339933;">;</span></pre></div></div>


<p>タグ名で指定する</p>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> 
<span style="color: #000088;">$tag_properties</span> <span style="color: #339933;">=</span> get_term_by<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'name'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'タグ名, '</span>post_tag<span style="color: #0000ff;">' ); echo $tag_properties-&gt;count; 
?&gt;</span></pre></div></div>


<p>タグスラッグで指定する</p>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> 
<span style="color: #000088;">$tag_properties</span> <span style="color: #339933;">=</span> get_term_by<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'slug'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'タグスラッグ, '</span>post_tag<span style="color: #0000ff;">' ); echo $tag_properties-&gt;count; 
?&gt;</span></pre></div></div>


<div class="tips">

<p>get_term_by()、この関数はキャッシュを利用せず、かならずデータベースへのクエリーが発生するので、多用するとレスポンスが遅くなります。</p>

<p>get_tagは、キャッシュを利用していますので、もしIDでの指定で問題がなければそのままget_tagを利用した方が早いレスポンスが期待できます。</p>

</div>

<div class="tips">

<p>function synopsis</p>

<pre id="presouce-post-6031">

<code title="line1">get_term_by($field, $value, $taxonomy,</code>
<code title="line2">$output= OBJECT, $filter= &amp;#8216;raw&amp;#8217;)</code>
</pre>

<p>param: string $field<br />
param: string $value<br />
param: string $taxonomy<br />
param: string $output Either OBJECT, ARRAY_A, or ARRAY_N<br />
return: mixed Term Row from database</p>

</div>

]]></content:encoded>
			<wfw:commentRss>http://tenman.info/labo/manual/2009/05/26/%e7%89%b9%e5%ae%9a%e3%81%ae%e3%82%bf%e3%82%b0%e3%81%ae%e6%8a%95%e7%a8%bf%e6%95%b0%e3%82%92%e8%a1%a8%e7%a4%ba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>今後公開予定のスケジュールしているエントリの表示</title>
		<link>http://tenman.info/labo/manual/2009/05/26/%e4%bb%8a%e5%be%8c%e5%85%ac%e9%96%8b%e4%ba%88%e5%ae%9a%e3%81%ae%e3%82%b9%e3%82%b1%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e3%81%84%e3%82%8b%e3%82%a8%e3%83%b3%e3%83%88%e3%83%aa%e3%81%ae/</link>
		<comments>http://tenman.info/labo/manual/2009/05/26/%e4%bb%8a%e5%be%8c%e5%85%ac%e9%96%8b%e4%ba%88%e5%ae%9a%e3%81%ae%e3%82%b9%e3%82%b1%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e3%81%84%e3%82%8b%e3%82%a8%e3%83%b3%e3%83%88%e3%83%aa%e3%81%ae/#comments</comments>
		<pubDate>Tue, 26 May 2009 02:44:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[管理者]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://tenman.info/labo/manual/?p=600</guid>
		<description><![CDATA[テンプレート、コーディング例 &#60;?php $my_query = new WP_Query&#40;'post_status=future&#38;order=DESC&#38;showposts=5'&#41;; [...]]]></description>
			<content:encoded><![CDATA[

<p>テンプレート、コーディング例</p>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$my_query</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> WP_Query<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'post_status=future&amp;order=DESC&amp;showposts=5'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$my_query</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">have_posts</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$my_query</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">have_posts</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$my_query</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">the_post</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
        <span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
    <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>


]]></content:encoded>
			<wfw:commentRss>http://tenman.info/labo/manual/2009/05/26/%e4%bb%8a%e5%be%8c%e5%85%ac%e9%96%8b%e4%ba%88%e5%ae%9a%e3%81%ae%e3%82%b9%e3%82%b1%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e3%81%84%e3%82%8b%e3%82%a8%e3%83%b3%e3%83%88%e3%83%aa%e3%81%ae/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>投稿画面から、ページスタイルを指定する方法</title>
		<link>http://tenman.info/labo/manual/2009/05/26/%e6%8a%95%e7%a8%bf%e7%94%bb%e9%9d%a2%e3%81%8b%e3%82%89%e3%80%81%e3%83%9a%e3%83%bc%e3%82%b8%e3%82%b9%e3%82%bf%e3%82%a4%e3%83%ab%e3%82%92%e6%8c%87%e5%ae%9a%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95/</link>
		<comments>http://tenman.info/labo/manual/2009/05/26/%e6%8a%95%e7%a8%bf%e7%94%bb%e9%9d%a2%e3%81%8b%e3%82%89%e3%80%81%e3%83%9a%e3%83%bc%e3%82%b8%e3%82%b9%e3%82%bf%e3%82%a4%e3%83%ab%e3%82%92%e6%8c%87%e5%ae%9a%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95/#comments</comments>
		<pubDate>Tue, 26 May 2009 02:30:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[styling]]></category>
		<category><![CDATA[管理者]]></category>
		<category><![CDATA[設定]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://tenman.info/labo/manual/?p=592</guid>
		<description><![CDATA[How to: Embed CSS in your posts with a custom field 特定の投稿に、特別なスタイル指定が必要な事があります。 CSSを直接変更する手もありますが、うまい方法とはいえません [...]]]></description>
			<content:encoded><![CDATA[

<p><a href="http://www.wprecipes.com/how-to-embed-css-in-your-posts-with-a-custom-field" onclick="this.target='_self';" onkeypress="this.target='_self';">How to: Embed CSS in your posts with a custom field</a></p>

<p>特定の投稿に、特別なスタイル指定が必要な事があります。<br />
CSSを直接変更する手もありますが、うまい方法とはいえません。<br />
カスタムフィールドを使ってCSSをページに埋め込むレシピを紹介します。</p>

<p>最初に、header.phpを開いて以下の高度を&lt;head&gt;と&lt;/head&gt;の間に、コピペしてください。</p>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>is_single<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$css</span> <span style="color: #339933;">=</span> get_post_meta<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'css'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$css</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
        &lt;style type=&quot;text/css&quot;&gt;
        <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$css</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
        &lt;style&gt;
    <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>


<p>一度これをコピペするだけで、投稿に、カスタムスタイルを適用したいときに、カスタムフィールドの名前をcssとして値にスタイル記述すれば、いつでも利用できるようになります。</p>

<div class="alert">

<p>この方法は、本文中にthe_meta()を使っている場合は、スタイルの指定が本文にも表示される不都合があります。<br />
以下に示す関数を、functions.phpに記述する事で、bodyタグ内に、the_meta()を記述しても、埋め込みCSSはフィルタされます。</p>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
&nbsp;
<span style="color: #009933; font-style: italic;">/**
 * カスタムフィールドで　'CSS', 'JavaScript', 'Meta'　は、the_metaから除外する。
 *
 *
 */</span>
<span style="color: #000000; font-weight: bold;">function</span> filter_explode_meta_keys<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$content</span><span style="color: #339933;">,</span> <span style="color: #000088;">$key</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$explode_keys</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'css'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'JavaScript'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'Meta'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// 除外したいキーを設定</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">in_array</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$key</span><span style="color: #339933;">,</span> <span style="color: #000088;">$explode_keys</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">return</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">else</span> <span style="color: #b1b100;">return</span> <span style="color: #000088;">$content</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_filter<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'the_meta_key'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'filter_explode_meta_keys'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">2</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>


<p>動作に問題があるときには、cssのキー名が、全角になっていないかチェックしてみてください。</p>

</div>

]]></content:encoded>
			<wfw:commentRss>http://tenman.info/labo/manual/2009/05/26/%e6%8a%95%e7%a8%bf%e7%94%bb%e9%9d%a2%e3%81%8b%e3%82%89%e3%80%81%e3%83%9a%e3%83%bc%e3%82%b8%e3%82%b9%e3%82%bf%e3%82%a4%e3%83%ab%e3%82%92%e6%8c%87%e5%ae%9a%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

