<?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/category/custom/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/category/custom/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/347.html</link>
		<comments>http://www.shiteki.info/wordpress/custom/347.html#comments</comments>
		<pubDate>Wed, 27 Oct 2010 06:30:42 +0000</pubDate>
		<dc:creator>shiteki</dc:creator>
				<category><![CDATA[カスタマイズ]]></category>
		<category><![CDATA[マルチサイト]]></category>

		<guid isPermaLink="false">http://www.shiteki.info/wordpress/?p=347</guid>
		<description><![CDATA[<a href="http://www.shiteki.info/wordpress/custom/347.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>マルチサイトを新規で作成すると、パーマリンクや日付フォーマット、テーマなど、いちいち設定しなおす必要があって面倒だなと思っていたので、その解決？方法を紹介します。 wp-admin/includesディレクトリにある「s・・・]]></description>
			<content:encoded><![CDATA[<p>マルチサイトを新規で作成すると、パーマリンクや日付フォーマット、テーマなど、いちいち設定しなおす必要があって面倒だなと思っていたので、その解決？方法を紹介します。</p>
<p>wp-admin/includesディレクトリにある「<strong>schema.php</strong>」を変更すればOKです。<br />
<span id="more-347"></span><br />
但し、Wordpressのバージョンアップがあるとまた元に戻ってしまいますので、その際は再度の設定が必要となります。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiteki.info/wordpress/custom/347.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/347.html" />
	</item>
		<item>
		<title>記事のカテゴリーごとにレイアウトなどデザインを変える方法</title>
		<link>http://www.shiteki.info/wordpress/custom/302.html</link>
		<comments>http://www.shiteki.info/wordpress/custom/302.html#comments</comments>
		<pubDate>Thu, 21 Oct 2010 05:42:16 +0000</pubDate>
		<dc:creator>shiteki</dc:creator>
				<category><![CDATA[カスタマイズ]]></category>

		<guid isPermaLink="false">http://www.shiteki.info/wordpress/?p=302</guid>
		<description><![CDATA[<a href="http://www.shiteki.info/wordpress/custom/302.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>記事をカテゴリー毎に変更したいと思い、見つけた方法を 1.カテゴリー毎にsingle.phpを作成する たとえばカテゴリーIDを付加してsingle1.phpとか、カテゴリー分作成する。 その際、汎用的なデザインも例えば・・・]]></description>
			<content:encoded><![CDATA[<p>記事をカテゴリー毎に変更したいと思い、見つけた方法を</p>
<h3>1.カテゴリー毎にsingle.phpを作成する</h3>
<p>たとえばカテゴリーIDを付加して<strong>single1.php</strong>とか、カテゴリー分作成する。<br />
その際、汎用的なデザインも例えば<strong>single0.php</strong>などで用意しましょう。<br />
特別なデザインが必要ないカテゴリーは<strong>single0.php</strong>で表示できるようにします。</p>
<h3>2.single.phpを以下のように編集する</h3>
<p><span id="more-302"></span><br />
[cc lang="php"]<?php<br />
$post = $wp_query->post;<br />
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 />
} elseif ( in_category(&#8217;3&#8242;) ) {<br />
include(TEMPLATEPATH . &#8216;/single3.php&#8217;);<br />
} elseif ( in_category(&#8216;カテゴリのID&#8217;) ) {<br />
include(TEMPLATEPATH . &#8216;/呼び出したいファイル名.php&#8217;);<br />
} else {<br />
include(TEMPLATEPATH . &#8216;/single0.php&#8217;);<br />
}<br />
?>[/cc]<br />
これ以外のコードは不要です。</p>
<p>wordpress3系より採用されたマルチサイトで管理したほうが楽かもしれませんが、マルチサイトにするほどでは無い場合が多いと思いますので、使えるかなと思います。</p>
<p>＜参考＞<br />
→<a href="http://kachibito.net/wordpress/theme-customizing-1st-step.html" target="blank">WordPressテーマカスタマイズ事始め・基本構造を理解してカスタマイズしてみる &#8211; かちびと.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiteki.info/wordpress/custom/302.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/302.html" />
	</item>
		<item>
		<title>wordpressからのインポート時にカテゴリスラッグが勝手に日本語化されるのを回避する方法</title>
		<link>http://www.shiteki.info/wordpress/custom/289.html</link>
		<comments>http://www.shiteki.info/wordpress/custom/289.html#comments</comments>
		<pubDate>Thu, 14 Oct 2010 06:22:43 +0000</pubDate>
		<dc:creator>shiteki</dc:creator>
				<category><![CDATA[カスタマイズ]]></category>

		<guid isPermaLink="false">http://www.shiteki.info/wordpress/?p=289</guid>
		<description><![CDATA[<a href="http://www.shiteki.info/wordpress/custom/289.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>wordpress3.0でインポート時にカテゴリスラッグが勝手に日本語化されて増殖するのを回避する方法を備忘録として。 1.以下より「WordPress Importer」プラグインをダウンロード →WordPress ・・・]]></description>
			<content:encoded><![CDATA[<p>wordpress3.0でインポート時にカテゴリスラッグが勝手に日本語化されて増殖するのを回避する方法を備忘録として。</p>
<h3>1.以下より「WordPress Importer」プラグインをダウンロード</h3>
<p>→<a href="http://wordpress.org/extend/plugins/wordpress-importer/" target="blank">WordPress › WordPress Importer « WordPress Plugins</a></p>
<h3>2.<strong>wordpress-importer.php</strong>の以下を変更</h3>
<p>[cc lang="php"]preg_match_all(&#8216;||is&#8217;, $post, $categories);<br />
		$categories = $categories[1];[/cc]<br />
を<span id="more-289"></span><br />
[cc lang="php"]preg_match_all(&#8216;|<category domain="category" nicename="([0-9a-z%\-_]*?)">(.*?)</category>|is&#8217;, $post, $categories);<br />
		$nicenames  = $categories[1];<br />
		$categories = $categories[2];[/cc]<br />
に変更。<br />
[cc lang="php"]if (count($categories) > 0) {<br />
				$post_cats = array();<br />
				foreach ($categories as $category) {<br />
					if ( &#8221; == $category )<br />
						continue;<br />
					$slug = sanitize_term_field(&#8216;slug&#8217;, $category, 0, &#8216;category&#8217;, &#8216;db&#8217;);<br />
					$cat = get_term_by(&#8216;slug&#8217;, $slug, &#8216;category&#8217;);<br />
					$cat_ID = 0;<br />
					if ( ! empty($cat) )<br />
						$cat_ID = $cat->term_id;<br />
					if ($cat_ID == 0) {<br />
						$category = $wpdb->escape($category);<br />
						$cat_ID = wp_insert_category(array(&#8216;cat_name&#8217; => $category));<br />
						if ( is_wp_error($cat_ID) )<br />
							continue;<br />
					}<br />
					$post_cats[] = $cat_ID;<br />
				}<br />
				wp_set_post_categories($post_id, $post_cats);<br />
			}[/cc]<br />
を<br />
[cc lang="php"]if ($c = count($categories) > 0) {<br />
				$post_cats = array();<br />
				for ($i = 0; $i < $c; $i++ ) {<br />
					if ( '' == $categories[$i] || '' == $nicenames[$i] )<br />
						continue;<br />
					$cat = get_term_by('slug', $nicenames[$i], 'category');<br />
					if ( empty($cat) || $cat->name != $categories[$i] ) {<br />
						$slug = sanitize_term_field(&#8216;slug&#8217;, $categories[$i], 0, &#8216;category&#8217;, &#8216;db&#8217;);<br />
						$cat = get_term_by(&#8216;slug&#8217;, $slug, &#8216;category&#8217;);<br />
					}<br />
					$cat_ID = 0;<br />
					if ( ! empty($cat) )<br />
						$cat_ID = $cat->term_id;<br />
					if ($cat_ID == 0) {<br />
						$category = $wpdb->escape($categories[$i]);<br />
						$cat_ID = wp_insert_category(array(&#8216;cat_name&#8217; => $category));<br />
						if ( is_wp_error($cat_ID) )<br />
							continue;<br />
					}<br />
					$post_cats[] = $cat_ID;<br />
				}<br />
				wp_set_post_categories($post_id, $post_cats);<br />
			}[/cc]<br />
に変更。</p>
<h3>3.プラグインディレクトリにアップロードし、有効化</h3>
<p>以上です。<br />
これでカテゴリスラッグが勝手に日本語化されることは無くなりました。</p>
<p>＜参考＞<br />
→<a href="http://ja.forums.wordpress.org/topic/210" target="blank">WordPress › フォーラム » インポートすると同じ名前のカテゴリが増殖する</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiteki.info/wordpress/custom/289.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/289.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>WordPressで複数のblogを運用する方法</title>
		<link>http://www.shiteki.info/wordpress/custom/274.html</link>
		<comments>http://www.shiteki.info/wordpress/custom/274.html#comments</comments>
		<pubDate>Fri, 25 Dec 2009 01:44:17 +0000</pubDate>
		<dc:creator>shiteki</dc:creator>
				<category><![CDATA[カスタマイズ]]></category>

		<guid isPermaLink="false">http://www.shiteki.info/wordpress/?p=274</guid>
		<description><![CDATA[<a href="http://www.shiteki.info/wordpress/custom/274.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で作成したサイトを複数持とうとした場合、それぞれにインストールすることが面倒だなと前々から思っており、Movable Typeのようにできればいいなと思い検索した結果、サーバーによっては実現可能なような・・・]]></description>
			<content:encoded><![CDATA[<p>WordPressで作成したサイトを複数持とうとした場合、それぞれにインストールすることが面倒だなと前々から思っており、Movable Typeのようにできればいいなと思い検索した結果、サーバーによっては実現可能なようなので、備忘録として。</p>
<p>＜参考サイト＞<br />
→<a href="http://matsu.tymy.net/blog/2008/02/05/wordpress%E3%81%AB%E3%82%88%E3%82%8B%E8%A4%87%E6%95%B0blog%E9%81%8B%E7%94%A8%E3%80%82%EF%BC%8810%E8%A1%8C%E8%BF%BD%E5%8A%A0%E3%81%99%E3%82%8B%E3%81%A0%E3%81%91%EF%BC%89/" target="blank">WordPressによる複数blog運用。（10行追加+α）</a><br />
→<a href="http://retoucher.jp/archives/101" target="blank">WordPressでの複数ブログ化</a><br />
→<a href="http://ameblo.jp/curiouseverything/entry-10167034407.html" target="blank">ワードプレスでのブログ複数設置方法（その2）</a></p>
<p>残念ながら僕のレンタルサーバーでは無理でした・・・・。<br />
基本パッケージとして実装されることを願うばかりです。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiteki.info/wordpress/custom/274.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/274.html" />
	</item>
		<item>
		<title>WordPressの記事をYahoo!でインデックスしてもらう方法</title>
		<link>http://www.shiteki.info/wordpress/custom/272.html</link>
		<comments>http://www.shiteki.info/wordpress/custom/272.html#comments</comments>
		<pubDate>Tue, 15 Dec 2009 07:44:17 +0000</pubDate>
		<dc:creator>shiteki</dc:creator>
				<category><![CDATA[カスタマイズ]]></category>
		<category><![CDATA[プラグイン]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://www.shiteki.info/wordpress/?p=272</guid>
		<description><![CDATA[<a href="http://www.shiteki.info/wordpress/custom/272.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>アクセス解析すると、どうもGoogleからのアクセスが多いなーと思っている方にはやったほうがいいことを紹介。 1．ヘッダ内の RSS 1.0 の記載の追加 header.php に下記を付け加えます。 &#60;link ・・・]]></description>
			<content:encoded><![CDATA[<p>アクセス解析すると、どうもGoogleからのアクセスが多いなーと思っている方にはやったほうがいいことを紹介。</p>
<h3>1．ヘッダ内の RSS 1.0 の記載の追加</h3>
<p><strong>header.php </strong>に下記を付け加えます。</p>
<blockquote><p>&lt;link rel=&#8221;alternate&#8221; type=&#8221;application/rss+xml&#8221; title=&#8221;RSS&#8221; href=&#8221;&lt;?php bloginfo(&#8216;rdf_url&#8217;); ?&gt;&#8221; /&gt;</p></blockquote>
<p>&lt;link rel=&#8221;alternate&#8221; ・・・&gt;群の一番上の行に来るように入力してください。</p>
<h3>2．記事修正時に Ping を送らないようにする</h3>
<p>記事修正時に Ping を送るのは前々からSEO的にまずいのではないかと思っていましたが対応してなかったので、これを機に対応しました。<br />
プラグイン「Smart Update Pinger」を導入するだけでOK。<br />
→<a href="http://plasticdreams.org/archives/2006/05/27/1219/smart-update-pinger/" target="blank">「Smart Update Pinger」ダウンロード</a><br />
予約投稿する方は「Smart Update Pinger」では対応できないので、代わりに「Ultimate Plugins Smart Update Pinger」を導入してください。<br />
→<a href="http://ultimateplugins.com/smart-update-pinger/" target="blank">「Ultimate Plugins Smart Update Pinger」ダウンロード</a><br />
<span id="more-272"></span><br />
まだ対応したばかりですので効果は？ですが、どうなるか楽しみです。</p>
<p>詳細は以下のネタ元サイトまで。<br />
＜ネタ元＞<br />
→<a href="http://www.1010uzu.com/boyaki/200905-26161158.html">トイレのうず</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiteki.info/wordpress/custom/272.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/272.html" />
	</item>
		<item>
		<title>複数のRSSをまとめてくれてついでにタブ化「複数RSSまとめ＆タブ化ジェネレーター」</title>
		<link>http://www.shiteki.info/wordpress/custom/198.html</link>
		<comments>http://www.shiteki.info/wordpress/custom/198.html#comments</comments>
		<pubDate>Thu, 21 May 2009 03:56:20 +0000</pubDate>
		<dc:creator>shiteki</dc:creator>
				<category><![CDATA[カスタマイズ]]></category>

		<guid isPermaLink="false">http://www.shiteki.info/wordpress/?p=198</guid>
		<description><![CDATA[<a href="http://www.shiteki.info/wordpress/custom/198.html"><img align="left" hspace="5" width="150" src="http://shiteki.xtwo.jp/0/wordpress/files/2009/05/rsstab.gif" class="alignleft wp-post-image tfe" alt="rsstab" title="" /></a>WordpressなどをCMSとしてつかおうと思ったらすごくいいと思ったツール。 導入方法 1.「Google AJAX Feed APIキー」の取得。 2.「必須データ詰め合わせ」のダウンロード。 3.「複数RSSまと・・・]]></description>
			<content:encoded><![CDATA[<p><img src="http://shiteki.xtwo.jp/0/wordpress/files/2009/05/rsstab.gif" alt="rsstab" width="450" height="279" class="alignnone size-full wp-image-199" /><br />
WordpressなどをCMSとしてつかおうと思ったらすごくいいと思ったツール。</p>
<h3>導入方法</h3>
<p>1.「Google AJAX Feed APIキー」の取得。<br />
2.「必須データ詰め合わせ」のダウンロード。<br />
3.「複数RSSまとめ＆タブ化ジェネレーター」ページでスクリプトを生成する。</p>
<p>詳細は以下のオフィシャルサイトをご参照ください。</p>
<p>＜オフィシャルサイト＞<br />
→<a href="http://smkn.xsrv.jp/blog/2009/04/rss_merge_and_tab/" target="_blank">ITキヲスク</a></p>
<p>＜参考＞<br />
→<a href="http://coliss.com/articles/web-services/online-variant-feeds-on-tabs.html" target="_blank">coliss</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiteki.info/wordpress/custom/198.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/198.html" />
	</item>
		<item>
		<title>特定カテゴリだけ別のテンプレートにする方法</title>
		<link>http://www.shiteki.info/wordpress/custom/155.html</link>
		<comments>http://www.shiteki.info/wordpress/custom/155.html#comments</comments>
		<pubDate>Mon, 02 Feb 2009 05:29:39 +0000</pubDate>
		<dc:creator>shiteki</dc:creator>
				<category><![CDATA[カスタマイズ]]></category>

		<guid isPermaLink="false">http://www.shiteki.info/wordpress/?p=155</guid>
		<description><![CDATA[<a href="http://www.shiteki.info/wordpress/custom/155.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>特定カテゴリに専用のカテゴリテンプレートのファイル名を「category-●.php」のように、ハイフンとカテゴリIDをつけて保存するだけでOKです。 ついでにこの時sidebarも変更したいと思うと思いますが、例えば「・・・]]></description>
			<content:encoded><![CDATA[<p>特定カテゴリに専用のカテゴリテンプレートのファイル名を「category-●.php」のように、<strong>ハイフンとカテゴリID</strong>をつけて保存するだけでOKです。</p>
<p>ついでにこの時sidebarも変更したいと思うと思いますが、例えば「sidebar-2.php」を作成し、読み込ませたい場合は<br />
&lt;?php get_sidebar(); ?&gt;の部分を&lt;?php get_sidebar(<strong>&#8217;2&#8242;</strong>); ?&gt;にするだけです。</p>
<p>＜参考＞<br />
・<a href="http://www.travelogue.jp/blog/archives/508.html" target="_blank">travelogue</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiteki.info/wordpress/custom/155.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/155.html" />
	</item>
	</channel>
</rss>

