<?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>waratsuyoshi.jp &#187; WordPress</title>
	<atom:link href="http://waratsuyoshi.jp/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://waratsuyoshi.jp</link>
	<description>株式会社penq 代表取締役。Webを中心にみんなが幸せになることを考えています。ポテトサラダには目がありません。Communication Planning / UX / IA / Art Direction / Deisgn / Develop</description>
	<lastBuildDate>Thu, 12 Apr 2012 03:14:47 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://waratsuyoshi.jp/tag/wordpress/feed" />
		<item>
		<title>これだけは入れておきたいWordPressプラグイン・日記ブログ編</title>
		<link>http://waratsuyoshi.jp/skill/137.html</link>
		<comments>http://waratsuyoshi.jp/skill/137.html#comments</comments>
		<pubDate>Tue, 26 Jan 2010 13:27:52 +0000</pubDate>
		<dc:creator>ワラツヨシ</dc:creator>
				<category><![CDATA[技術]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://waratsuyoshi.jp/?p=137</guid>
		<description><![CDATA[最近では日記ブログは完全WordPressだと思います。 それで、タイトルについて。 このような記事はたくさんありますが、自分用の備忘録としてエントリー。 WordPressの場合、プラグインだけですべて済むような気がし [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://waratsuyoshi.jp/entryimg/100126.jpg" alt="" title="100126" width="500" height="150" class="alignnone size-full wp-image-165" /><br />
最近では日記ブログは完全WordPressだと思います。<br />
それで、タイトルについて。<br />
このような記事はたくさんありますが、自分用の備忘録としてエントリー。</p>
<p>WordPressの場合、プラグインだけですべて済むような気がします。</p>
<p>基の基からのものですが、よろしければご参考まで。<br />
※現在WordPressは管理画面からプラグイン入れるのがほとんどなのでリンクはつけていません。</p>
<ul>
<li><strong>Akismet</strong><br />
コメントスパム対策。デフォルトでついていますが、WordPress.comでAPIを取得して活用しましょう</li>
<li><strong>WordPress Database Backup</strong><br />
データベースをまるっとダウンロードしたり、定期的にメールで送れる。<br />
とにもかくにもバックアップ。毎日Gmailに送ってフィルタでゴミ箱。30日分のバックアップスキームの完成です</li>
<li><strong>WP-PageNavi</strong><br />
一定の記事単位でページ送りをつける</li>
<li><strong>Lightbox 2</strong><br />
投稿画像のJSポップアップ。</li>
<li><strong>Google XML Sitemaps</strong><br />
Googleウェブマスターツールなどに登録する用のXMLを吐き出してくれる</li>
<li><strong>Ktai Style</strong><br />
携帯対応</li>
<li><strong>Popular Posts</strong><br />
PVから人気エントリーをランキング</li>
<li><strong>Similar Posts</strong><br />
関連記事へのリンクは個別ページに</li>
<li><strong>Syntax Highlighter for WordPress</strong><br />
ソースコードなどを記事に書くとき便利</li>
<li><strong>Tweetly Updater</strong><br />
エントリーしたらTwitterにPOSTしてくます</li>
<li><strong>WPtouch iPhone Theme</strong><br />
iPhoneからアクセスされたら表示</li>
<li><strong>Search Regex</strong><br />
管理上で検索置換が一撃でできる</li>
<li><strong>All in One SEO Pack</strong><br />
タイトルタグなどの表示を指定</li>
</ul>
<p>ちなみにテーマ構築は<a href="/skill/100.html">前にも書いた</a>けどテーマフレームワーク<a href="http://themeshaper.com/thematic/">Thematic</a>からスタートすると良いと思います。ちなみにこれはまだデフォルトです。。</p>
]]></content:encoded>
			<wfw:commentRss>http://waratsuyoshi.jp/skill/137.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://waratsuyoshi.jp/skill/137.html" />
	</item>
		<item>
		<title>WordPressテーマフレームワークThematicを使おう</title>
		<link>http://waratsuyoshi.jp/skill/100.html</link>
		<comments>http://waratsuyoshi.jp/skill/100.html#comments</comments>
		<pubDate>Fri, 04 Dec 2009 05:22:57 +0000</pubDate>
		<dc:creator>ワラツヨシ</dc:creator>
				<category><![CDATA[技術]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://waratsuyoshi.jp/?p=100</guid>
		<description><![CDATA[１０月に開催されたWordCamp京都に行ったのですが、その中のおでさんのセッションでテーマフレームワークを使おうというものがありました。その時点でははっきり理解できず、なんだ便利そうだなくらいでした。 テーマフレームワ [...]]]></description>
			<content:encoded><![CDATA[<p>１０月に開催された<a href="http://kyoto.wordcamp.org/">WordCamp京都</a>に行ったのですが、その中の<a href="http://www.odysseygate.com/">おで</a>さんのセッションでテーマフレームワークを使おうというものがありました。その時点でははっきり理解できず、なんだ便利そうだなくらいでした。</p>
<p>テーマフレームワークはなんぞやとかsandboxを継承しているとか、、</p>
<p>そもそもsandoboxも知らなかったしゼロスタートで、ひとまず調べてなんとなく理解できたので書いておきます。</p>
<p>まずはそのセッションのときのスライドをご覧ください。</p>
<div style="width:425px;text-align:left" id="__ss_2329195"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/odysseygate/themantic-a-wordpress-theme-framework" title="Thematic : A WordPress Theme Framework のススメ">Thematic : A WordPress Theme Framework のススメ</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=wordcamp2009odysseyfinal-091023094426-phpapp02&#038;stripped_title=themantic-a-wordpress-theme-framework" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=wordcamp2009odysseyfinal-091023094426-phpapp02&#038;stripped_title=themantic-a-wordpress-theme-framework" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">documents</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/odysseygate">Odyssey Hanover</a>.</div>
</div>
<p>これですべて分かるんですがそのときは理解できなかったので、私なりに解説します。</p>
<p>要はいちいちゼロからテーマつくんなくてもよいんでないのって感じです。<br />
Thematicが優れているところはウィジェット箇所がたくさんあるということや基本カラムが２や３など用意されていたり、まぁとにかく汎用性が高いのです。</p>
<p>その中で親子関係があるのですがこれがすごく便利。</p>
<h2>まずは実際にテーマをDLしよう</h2>
<p><a href="http://themeshaper.com/thematic/" target="_blank">Thematic, A WordPress Theme Framework</a></p>
<p>themes<br />
├thematic<br />
└default<br />
まぁ普通はそれぞれのテーマが分かれています。</p>
<p>親子関係ってのは、、、<br />
thematicに元々入っている「thematicsamplechildtheme」をとりあえず一階層上げて<br />
themes<br />
├thematic<br />
└thematicsamplechildtheme<br />
とします。</p>
<p>これじゃぁふつうじゃんですが</p>
<h2>thematicsamplechildthemeの中身を見てみよう</h2>
<p>thematicsamplechildtheme<br />
├functions.php<br />
└style.css<br />
なんと、これだけ。</p>
<p>親のthematicを子が利用している状態です。<br />
あとは独自CSSを作ってstyle.cssにインポートさせればあらテーマの出来上がり。</p>
<p>でも、HTMLの方も触りたいですよね。<br />
その場合は普通にcategory.phpなどを編集してチャイルドテーマに入れればそちらが優先されます。<br />
でも、それじゃあおもしろくない。</p>
<h2>よくみてみよう「functions.php」</h2>
<p>これがみそ。</p>
<p>Thematicにはもともとそのようなことが起きていいようにフックさせる場所がたくさん用意されています。<br />
そこに好きなソースコードをフックさせればわざわざcategory.phpなんて触らなくてよいのです。<br />
フックはfunctions.phpに記述します。</p>
<p>ソースコード、デザインを変えたのにテーマディレクトリ内は<br />
thematicsamplechildtheme<br />
├functions.php<br />
├original.php<br />
└style.css<br />
なんということでしょう。<br />
こんなにスッキリ。</p>
<p>フックについては<br />
thematic/library/extensions/<br />
内を見てみましょう。</p>
<p>あーこれ絶対超便利。</p>
<p>ということで、うちのスタッフに社長ブログをThematicベースで作ってもらいました。（何で自分でしない）</p>
<p><a class="siteLink" href="http://doors.co.jp/toblog/" target="_blank">戸田＠ドアズ社長ブログ    株式会社ドアズ代表取締役　戸田克己</a></p>
<div class="amazlet-box" style="margin-bottom:0px;">
<div class="amazlet-image" style="float:left;margin:0px 12px 1px 0px;"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4883377245/peachpitweb-22/ref=nosim/" name="amazletlink" target="_blank"><img src="http://ecx.images-amazon.com/images/I/51th9C%2B1nXL._SL160_.jpg" alt="WordPress レッスンブック 3.x対応" style="border: none;" /></a></div>
<div class="amazlet-info" style="line-height:120%; margin-bottom: 10px">
<div class="amazlet-name" style="margin-bottom:10px;line-height:120%"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4883377245/peachpitweb-22/ref=nosim/" name="amazletlink" target="_blank">WordPress レッスンブック 3.x対応</a>
<div class="amazlet-powered-date" style="font-size:80%;margin-top:5px;line-height:120%">posted with <a href="http://www.amazlet.com/browse/ASIN/4883377245/peachpitweb-22/ref=nosim/" title="WordPress レッスンブック 3.x対応" target="_blank">amazlet</a> at 11.02.09</div>
</div>
<div class="amazlet-detail">エビスコム <br />ソシム <br />売り上げランキング: 610</div>
<div class="amazlet-sub-info" style="float: left;">
<div class="amazlet-link" style="margin-top: 5px"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/4883377245/peachpitweb-22/ref=nosim/" name="amazletlink" target="_blank">Amazon.co.jp で詳細を見る</a></div>
</div>
</div>
<div class="amazlet-footer" style="clear: left"></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://waratsuyoshi.jp/skill/100.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://waratsuyoshi.jp/skill/100.html" />
	</item>
		<item>
		<title>WordPressで他ブログのRSSを表示する</title>
		<link>http://waratsuyoshi.jp/skill/34.html</link>
		<comments>http://waratsuyoshi.jp/skill/34.html#comments</comments>
		<pubDate>Wed, 28 Oct 2009 12:29:22 +0000</pubDate>
		<dc:creator>ワラツヨシ</dc:creator>
				<category><![CDATA[技術]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://waratsuyoshi.jp/monology/34.html</guid>
		<description><![CDATA[だいぶ前にここいら↓を参考にやっていたんですが、日付がどうしてもでなくて。。 参考： WordPressで外部RSSを取得して表示させる [WP]wordpressでRSSを取得して表示 今回制作チームに投げたら解決した [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://waratsuyoshi.jp/entryimg/0910278blue-l.png" alt="0910278blue-l" title="0910278blue-l" width="150" height="150" class="alignnone size-full wp-image-41" /></p>
<p>だいぶ前にここいら↓を参考にやっていたんですが、日付がどうしてもでなくて。。<br />
参考：<br />
<a href="http://www.e2esound.com/20080708/entry-id=87">WordPressで外部RSSを取得して表示させる</a><br />
<a href="http://tenderfeel.xsrv.jp/wordpress/197/">[WP]wordpressでRSSを取得して表示</a><br />
今回制作チームに投げたら解決したので紹介。</p>
<pre>
&lt;?php
include_once(ABSPATH . WPINC . &#039;/rss.php&#039;);
define(&#039;MAGPIE_OUTPUT_ENCODING&#039; , &#039;UTF-8&#039;);
define(&#039;MAGPIE_CACHE_DIR&#039; , &#039;./cache&#039;);
define(&#039;MAGPIE_FETCH_TIME_OUT&#039;, 30);
define(&#039;MAGPIE_CACHE_AGE&#039;, 60*60);
$rss = fetch_rss(&#039;http://waratsuyoshi.jp/feed&#039;);
$maxitems = 3;
$items = array_slice($rss-&gt;items, 0, $maxitems);
?&gt;
&lt;ul&gt;
&lt;?php if (empty($items)) echo &#039;&lt;li&gt;No items&lt;/li?&gt;&#039;;
else
foreach ( $items as $item ) : ?&gt;
&lt;li&gt;
&lt;span&gt;
&lt;?php $item_date  = $item[&#039;pubdate&#039;];
$out_item_date  = date(&#039;Y.n.j&#039;, strtotime($item_date));
echo $out_item_date; ?&gt;
&lt;/span&gt;
&lt;a href=&#039;&lt;?php echo $item[&#039;link&#039;]; ?&gt;&#039; target=&quot;_blank&quot;&gt;
&lt;?php echo $item[&#039;title&#039;]; ?&gt;
&lt;/a&gt;&lt;/li&gt;
&lt;?php endforeach; ?&gt;
&lt;/ul&gt;
</pre>
<p>WordPressってシステム系の人が多いのでこういうのがあんまり紹介されない。<br />
（おそらく簡単だから？）</p>
]]></content:encoded>
			<wfw:commentRss>http://waratsuyoshi.jp/skill/34.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://waratsuyoshi.jp/skill/34.html" />
	</item>
	</channel>
</rss>

