<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>WordPress情報 &#187; カテゴリー</title>
	<atom:link href="http://www.shiteki.info/wordpress/tag/category/feed" rel="self" type="application/rss+xml" />
	<link>http://www.shiteki.info/wordpress</link>
	<description>私的に集めたWordPress関連情報</description>
	<lastBuildDate>Fri, 17 Dec 2010 01:37:49 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.shiteki.info/wordpress/tag/category/feed" />
		<item>
		<title>同一カテゴリー内の記事一覧をランダムに表示する方法</title>
		<link>http://www.shiteki.info/wordpress/custom/386.html</link>
		<comments>http://www.shiteki.info/wordpress/custom/386.html#comments</comments>
		<pubDate>Wed, 17 Nov 2010 06:10:16 +0000</pubDate>
		<dc:creator>shiteki</dc:creator>
				<category><![CDATA[カスタマイズ]]></category>
		<category><![CDATA[カテゴリー]]></category>

		<guid isPermaLink="false">http://www.shiteki.info/wordpress/?p=386</guid>
		<description><![CDATA[<a href="http://www.shiteki.info/wordpress/custom/386.html"><img align="left" hspace="5" width="150" height="150" src="http://www.shiteki.info/wordpress/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>同一カテゴリー内の記事の一覧を表示したいと思い、探してみつけた方法を備忘録として。 通常のテーマであればsingle.phpのご希望の場所に以下のコードを挿入すればOKです。 挿入するコード [cc lang="php"・・・]]></description>
			<content:encoded><![CDATA[<p>同一カテゴリー内の記事の一覧を表示したいと思い、探してみつけた方法を備忘録として。</p>
<p>通常のテーマであればsingle.phpのご希望の場所に以下のコードを挿入すればOKです。</p>
<p><strong>挿入するコード</strong><br />
<span id="more-386"></span><br />
[cc lang="php"]
<ul>
<?php<br />
$cat_list = array();<br />
foreach((get_the_category()) as $cat) {<br />
$cat_list[] = $cat->cat_ID ;<br />
}<br />
$query=array();<br />
$query[] = sprintf(&#8216;cat=%s&#8217;, implode(&#8216;,&#8217;, $cat_list));<br />
$query[] = sprintf(&#8216;showposts=%d&#8217;, 5);<br />
$query[] = sprintf(&#8216;orderby=%s&#8217;, &#8216;rand&#8217;);<br />
query_posts(implode(&#8216;&#038;&#8217;, $query));<br />
?><br />
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?></p>
<li><a href="<?php the_permalink(); ?>&#8220;><?php the_title()?></a></li>
<p><?php endwhile; endif; ?><br />
<?php wp_reset_query() ?>
</ul>
<p>[/cc]<br />
なお、<br />
[cc lang="php"]$query[] = sprintf(&#8216;showposts=%d&#8217;, 5);[/cc]<br />
の最後の<strong>5</strong>が表示する記事数になるので、お好みで変更してください。</p>
<p>＜参考＞<br />
→<a href="http://blog.setunai.net/20100129/%e8%a8%98%e4%ba%8b%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%a7%e5%90%8c%e3%81%98%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc%e3%82%92%e3%83%a9%e3%83%b3%e3%83%80%e3%83%a0%e3%81%ab%e8%a1%a8%e7%a4%ba%e3%81%99/" target="blank">記事ページでカテゴリーの記事をランダムに一覧表示＠WordPress &#8211; せつないぶろぐ</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiteki.info/wordpress/custom/386.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.shiteki.info/wordpress/custom/386.html" />
	</item>
		<item>
		<title>特定のカテゴリーやページごとにテンプレートを変更する方法</title>
		<link>http://www.shiteki.info/wordpress/custom/307.html</link>
		<comments>http://www.shiteki.info/wordpress/custom/307.html#comments</comments>
		<pubDate>Sat, 21 Aug 2010 07:59:45 +0000</pubDate>
		<dc:creator>shiteki</dc:creator>
				<category><![CDATA[カスタマイズ]]></category>
		<category><![CDATA[カテゴリー]]></category>

		<guid isPermaLink="false">http://www.shiteki.info/wordpress/?p=307</guid>
		<description><![CDATA[<a href="http://www.shiteki.info/wordpress/custom/307.html"><img align="left" hspace="5" width="150" height="150" src="http://www.shiteki.info/wordpress/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>WordPressで、特定のカテゴリーやページだけ他のカテゴリーと違うデザインにしたい人へ。 とりあえずcategory.phpを例にしていますが、page.phpでもtag.phpでもOKのはずです。 1.テンプレート・・・]]></description>
			<content:encoded><![CDATA[<p>WordPressで、特定のカテゴリーやページだけ他のカテゴリーと違うデザインにしたい人へ。<br />
とりあえずcategory.phpを例にしていますが、page.phpでもtag.phpでもOKのはずです。</p>
<h3>1.テンプレートを変更したいカテゴリーIDを調べる</h3>
<p>WordPress3系では「投稿＞カテゴリー」で調べたいカテゴリーをクリックして表示されたURLの「<strong>ID=＊＊</strong>」がカテゴリーIDです。</p>
<h3>2.category.phpをコピーし、「category-＊＊.php」とリネーム</h3>
<p><span id="more-307"></span><br />
作成した<strong>category-＊＊.php</strong>のデザインを変更してアップロードするだけでOKです。</p>
<p>＜参考＞<br />
→<a href="http://kidokorock.com/2008/05/wordpresstips/wordpress%E3%81%A7%E7%89%B9%E5%AE%9A%E3%81%AE%E3%82%AB%E3%83%86%E3%82%B4%E3%83%AA%E3%81%94%E3%81%A8%E3%81%AB%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88%E3%82%92%E5%A4%89%E6%9B%B4%E3%81%99.html" target="blank">WordPressで特定のカテゴリごとにテンプレートを変更する覚え書き | [k]id</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiteki.info/wordpress/custom/307.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.shiteki.info/wordpress/custom/307.html" />
	</item>
		<item>
		<title>特定のカテゴリのみ表示する方法</title>
		<link>http://www.shiteki.info/wordpress/custom/276.html</link>
		<comments>http://www.shiteki.info/wordpress/custom/276.html#comments</comments>
		<pubDate>Tue, 26 Jan 2010 10:10:31 +0000</pubDate>
		<dc:creator>shiteki</dc:creator>
				<category><![CDATA[カスタマイズ]]></category>
		<category><![CDATA[カテゴリー]]></category>

		<guid isPermaLink="false">http://www.shiteki.info/wordpress/?p=276</guid>
		<description><![CDATA[<a href="http://www.shiteki.info/wordpress/custom/276.html"><img align="left" hspace="5" width="150" height="150" src="http://www.shiteki.info/wordpress/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>特定のカテゴリのみ表示するには &#60;?php if (have_posts()) : while (have_posts()) : the_post(); ?&#62; に続けて &#60;?php if ( ! in_・・・]]></description>
			<content:encoded><![CDATA[<p>特定のカテゴリのみ表示するには</p>
<p><span style="color: black;padding: 0px;margin: 0px">&lt;?php </span><span style="color: blue;padding: 0px;margin: 0px">if</span><span style="color: black;padding: 0px;margin: 0px"> (have_posts()) : </span><span style="color: blue;padding: 0px;margin: 0px">while</span><span style="color: black;padding: 0px;margin: 0px"> (have_posts()) : the_post(); ?&gt;</span><br />
に続けて</p>
<p><span style="color: black;padding: 0px;margin: 0px">&lt;?php </span><span style="color: blue;padding: 0px;margin: 0px">if</span><span style="color: black;padding: 0px;margin: 0px"> ( ! in_category(</span><span style="color: blue;padding: 0px;margin: 0px">&#8216;N&#8217;</span><span style="color: black;padding: 0px;margin: 0px">)) </span><span style="color: blue;padding: 0px;margin: 0px">continue</span><span style="color: black;padding: 0px;margin: 0px">; ?&gt;</span></p>
<p>と記載するだけでOK。</p>
<p>逆に特定のカテゴリのみ除去して表示するには<br />
<span id="more-276"></span><br />
<span style="color: black;padding: 0px;margin: 0px">&lt;?php </span><span style="color: blue;padding: 0px;margin: 0px">if</span><span style="color: black;padding: 0px;margin: 0px"> (in_category(</span><span style="color: blue;padding: 0px;margin: 0px">&#8216;N&#8217;</span><span style="color: black;padding: 0px;margin: 0px">)) </span><span style="color: blue;padding: 0px;margin: 0px">continue</span><span style="color: black;padding: 0px;margin: 0px">; ?&gt;</span><br />
と入力すればOKです。</p>
<p>あまり使う機会はないかもしれませんが、個人的に必要だったので備忘録として・・・。</p>
<p>＜ネタ元＞<br />
→<a href="http://wpcustom.yoshikazuasada.biz/template/16" target="blank">WPカスタマイズ講座</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiteki.info/wordpress/custom/276.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.shiteki.info/wordpress/custom/276.html" />
	</item>
		<item>
		<title>同一カテゴリーの記事を新しい順に表示する「Other Posts from Cat plugin for WordPress」</title>
		<link>http://www.shiteki.info/wordpress/plugin/245.html</link>
		<comments>http://www.shiteki.info/wordpress/plugin/245.html#comments</comments>
		<pubDate>Sat, 08 Aug 2009 22:48:32 +0000</pubDate>
		<dc:creator>shiteki</dc:creator>
				<category><![CDATA[プラグイン]]></category>
		<category><![CDATA[カテゴリー]]></category>

		<guid isPermaLink="false">http://www.shiteki.info/wordpress/?p=245</guid>
		<description><![CDATA[<a href="http://www.shiteki.info/wordpress/plugin/245.html"><img align="left" hspace="5" width="150" height="150" src="http://www.shiteki.info/wordpress/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>単一投稿記事の表示時に、その投稿の同一カテゴリーの記事を新しい順X個（設定による）表示するプラグイン。 テンプレートに手を加える必要が無いのでお手軽。 導入方法 1.以下のサイトでダウンロード 2./wp-content・・・]]></description>
			<content:encoded><![CDATA[<p>単一投稿記事の表示時に、その投稿の同一カテゴリーの記事を新しい順X個（設定による）表示するプラグイン。<br />
テンプレートに手を加える必要が無いのでお手軽。</p>
<h3>導入方法</h3>
<p>1.以下のサイトでダウンロード<br />
2./wp-content/pluginsにアップロードし、管理画面から有効化する<br />
3.表示が必要な投稿の好きな場所に<strong>&lt;!&#8211; ddpostsfromcat &#8211;&gt;</strong>を挿入<span id="more-245"></span><br />
※設定で「Show at the bottom of every post 」にチェックを入れた場合は各記事の一番下に自動的に挿入されるので必要ない</p>
<p>＜ダウンロード＞<br />
→ <a href="http://www.dagondesign.com/articles/other-posts-from-cat-plugin-for-wordpress/">Dagon Design</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiteki.info/wordpress/plugin/245.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.shiteki.info/wordpress/plugin/245.html" />
	</item>
		<item>
		<title>「My Category Order」を導入する</title>
		<link>http://www.shiteki.info/wordpress/plugin/19.html</link>
		<comments>http://www.shiteki.info/wordpress/plugin/19.html#comments</comments>
		<pubDate>Tue, 20 Jan 2009 02:06:19 +0000</pubDate>
		<dc:creator>shiteki</dc:creator>
				<category><![CDATA[プラグイン]]></category>
		<category><![CDATA[カテゴリー]]></category>

		<guid isPermaLink="false">http://www.shiteki.info/wordpress/?p=19</guid>
		<description><![CDATA[<a href="http://www.shiteki.info/wordpress/plugin/19.html"><img align="left" hspace="5" width="150" src="http://shiteki.xtwo.jp/0/wordpress/files/2009/01/mco.gif" class="alignleft wp-post-image tfe" alt="" title="" /></a>WordPressはカテゴリ名のリスト表示する順を自由に設定できないので、それを実現するプラグインを探して見つけたのが「My Category Order」です。 ＜インストール方法＞ 1.こちらからファイルをダウンロー・・・]]></description>
			<content:encoded><![CDATA[<p>WordPressはカテゴリ名のリスト表示する順を自由に設定できないので、それを実現するプラグインを探して見つけたのが「My Category Order」です。</p>
<p>＜インストール方法＞<br />
1.<a href="http://wordpress.org/extend/plugins/my-category-order/" target="_blank">こちら</a>からファイルをダウンロードし、解凍後pluginフォルダにアップロード<br />
2.プラグインを有効にすると「投稿」の下に「My Category Order」ができるので、これをクリック<br />
3.ドラッグ＆ドロップで好みの配置になったら「Click to order Category」をクリックし設定を保存<br />
<img src="http://shiteki.xtwo.jp/0/wordpress/files/2009/01/mco.gif" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiteki.info/wordpress/plugin/19.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.shiteki.info/wordpress/plugin/19.html" />
	</item>
		<item>
		<title>Category Base Killer Plugin</title>
		<link>http://www.shiteki.info/wordpress/plugin/76.html</link>
		<comments>http://www.shiteki.info/wordpress/plugin/76.html#comments</comments>
		<pubDate>Tue, 25 Nov 2008 07:47:06 +0000</pubDate>
		<dc:creator>shiteki</dc:creator>
				<category><![CDATA[プラグイン]]></category>
		<category><![CDATA[カテゴリー]]></category>

		<guid isPermaLink="false">http://www.shiteki.com/wordpress/?p=6</guid>
		<description><![CDATA[<a href="http://www.shiteki.info/wordpress/plugin/76.html"><img align="left" hspace="5" width="150" height="150" src="http://www.shiteki.info/wordpress/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>カテゴリーTOPのURLをすっきりさせてくれるプラグイン「Category Base Killer Plugin」 URLの余分な「/category」を取り去ってくれるので、是非導入をお勧めする プラグイン適用前 ht・・・]]></description>
			<content:encoded><![CDATA[<p>カテゴリーTOPのURLをすっきりさせてくれるプラグイン「Category Base Killer Plugin」</p>
<p>URLの余分な「/category」を取り去ってくれるので、是非導入をお勧めする</p>
<p>プラグイン適用前</p>
<p>http://www.myblog.com/category/category_name/post_title.htm</p>
<p>プラグイン適用後</p>
<p>http://www.myblog.com/category_name/post_title.htm</p>
<p>ダウンロード<br />
<a href="http://www.brianshoff.com/wordpress/category-base-removal-plugin.htm" target="_blank">オフィシャルサイト</a></p>
<p>参考サイト<br />
<a href="http://www.brianshoff.com/wordpress/category-base-removal-plugin.htm" target="_blank">Imai Blog</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiteki.info/wordpress/plugin/76.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.shiteki.info/wordpress/plugin/76.html" />
	</item>
		<item>
		<title>カテゴリーの並べ替えプラグイン</title>
		<link>http://www.shiteki.info/wordpress/plugin/75.html</link>
		<comments>http://www.shiteki.info/wordpress/plugin/75.html#comments</comments>
		<pubDate>Tue, 25 Nov 2008 06:08:14 +0000</pubDate>
		<dc:creator>shiteki</dc:creator>
				<category><![CDATA[プラグイン]]></category>
		<category><![CDATA[カテゴリー]]></category>

		<guid isPermaLink="false">http://www.shiteki.com/wordpress/?p=3</guid>
		<description><![CDATA[<a href="http://www.shiteki.info/wordpress/plugin/75.html"><img align="left" hspace="5" width="150" height="150" src="http://www.shiteki.info/wordpress/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>カテゴリーの頭に数字をつけて、それを不可視化することなどで、カテゴリーを並べ替えるプラグイン。 ダウンロードしたファイルをプラグインフォルダにUPするだけではダメなので、少し設置に手間がかかりそうだ。 ダウンロード Th・・・]]></description>
			<content:encoded><![CDATA[<p>カテゴリーの頭に数字をつけて、それを不可視化することなどで、カテゴリーを並べ替えるプラグイン。<br />
ダウンロードしたファイルをプラグインフォルダにUPするだけではダメなので、少し設置に手間がかかりそうだ。</p>
<p>ダウンロード<br />
<a href="http://www.h-fj.com/blog/archives/2007/04/06-115144.php" target="_blank">The blog of H.Fujimoto</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiteki.info/wordpress/plugin/75.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.shiteki.info/wordpress/plugin/75.html" />
	</item>
	</channel>
</rss>

