<?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>Branberyheag!! Lab &#187; wordpress</title>
	<atom:link href="http://lab.branberyheag.com/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://lab.branberyheag.com</link>
	<description>ActionScript3.0やJavascriptを使っていろんなものを作ってみます。</description>
	<lastBuildDate>Fri, 03 Feb 2012 06:28:02 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom:link rel='hub' href='http://lab.branberyheag.com/?pushpress=hub'/>
		<item>
		<title>WordPressのログインフォームをテンプレートに実装する方法</title>
		<link>http://lab.branberyheag.com/2011/09/01/wordpress%e3%81%ae%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%82%92%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e3%81%ab%e5%ae%9f%e8%a3%85%e3%81%99%e3%82%8b.html</link>
		<comments>http://lab.branberyheag.com/2011/09/01/wordpress%e3%81%ae%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%82%92%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e3%81%ab%e5%ae%9f%e8%a3%85%e3%81%99%e3%82%8b.html#comments</comments>
		<pubDate>Thu, 01 Sep 2011 10:24:37 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=1084</guid>
		<description><![CDATA[お仕事用サイトで、クライアント案件だけをWordPressの認証画面を通してから表示したかった。 テンプレート上にログインフォームを付けれるようだったので、実際に試してみた。 これをうまく組み替えて使うと良いみたい。 デ [...]]]></description>
			<content:encoded><![CDATA[<p>お仕事用サイトで、クライアント案件だけをWordPressの認証画面を通してから表示したかった。<br />
テンプレート上にログインフォームを付けれるようだったので、実際に試してみた。</p>
<p><span id="more-1084"></span></p>
<pre class="brush: php; title: ; notranslate">

&lt;li&gt;&lt;h2&gt;ログイン&lt;/h2&gt;
&lt;?php if (is_user_logged_in()) : ?&gt;
Welcome! &lt;?php global $current_user; echo $current_user-&gt;display_name ?&gt;さん&lt;br /&gt;
ログアウトは &amp;raquo; &lt;a href=&quot;&lt;?php echo wp_logout_url() ?&gt;&amp;amp;redirect_to=&lt;?php echo esc_attr($_SERVER['REQUEST_URI']) ?&gt;&quot;&gt;こちら&lt;/a&gt;
&lt;?php else : ?&gt;
&lt;form method=&quot;post&quot; action=&quot;&lt;?php echo wp_login_url() ?&gt;?redirect_to=&lt;?php echo esc_attr($_SERVER['REQUEST_URI']) ?&gt;&quot;&gt;
&lt;p&gt;&lt;label for=&quot;login_username&quot;&gt;ユーザー名：&lt;/label&gt;&lt;br /&gt;
&lt;input type=&quot;text&quot; name=&quot;log&quot; id=&quot;login_username&quot; value=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;label for=&quot;login_password&quot;&gt;パスワード：&lt;/label&gt;&lt;br /&gt;
&lt;input type=&quot;password&quot; name=&quot;pwd&quot; id=&quot;login_password&quot; value=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;input type=&quot;submit&quot; value=&quot;ログイン&quot; /&gt;&lt;/p&gt;
&lt;/form&gt;
&lt;?php endif; ?&gt;
&lt;/li&gt;
</pre>
<p>これをうまく組み替えて使うと良いみたい。<br />
デフォルトのテンプレートぽい作りになっているので、適宜、自分のテンプレートに合うように作ればいい。</p>
<p>管理画面に行かせないようにするには</p>
<pre class="brush: php; title: ; notranslate">

function mts_check_login() {
global $current_user;

get_currentuserinfo();
extract($current_user-&gt;wp_capabilities);
if ($subscriber) {
wp_redirect(get_bloginfo('url'));
}
}

add_action('admin_init', 'mts_check_login');
</pre>
<p>これをfunction.phpに入れておく。<br />
これで管理画面に行けないようすることができるみたい。実用性はかなりあるので、メモ。</p>
<p>参考したサイト</p>
<p>「WordPress ログインフォームをページ上に表示してログインするには<a href="http://web.mt-systems.jp/archives/354">」<br />
http://web.mt-systems.jp/archives/354</a><strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2009/12/29/wordpress%e3%81%a7%e3%83%9a%e3%83%bc%e3%82%b8%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e3%82%92%e9%81%b8%e6%8a%9e%e3%81%a7%e3%81%8d%e3%82%8b%e3%82%88%e3%81%86%e3%81%ab%e3%81%99%e3%82%8b.html" rel="bookmark" title="2009年12月29日">wordpressでページテンプレートを選択できるようにするには・・・</a></li>
<li><a href="http://lab.branberyheag.com/2010/06/07/featured-image.html" rel="bookmark" title="2010年6月7日">WordPress3.0機能メモ　 featured image アイキャッチ画像</a></li>
<li><a href="http://lab.branberyheag.com/2010/04/21/simplexml.html" rel="bookmark" title="2010年4月21日">simple XMLで名前空間を取得する方法</a></li>
<li><a href="http://lab.branberyheag.com/2011/10/26/%e7%94%bb%e5%83%8f%e3%81%abbase64%e3%82%92%e3%81%8b%e3%81%91%e3%81%a6html%e3%82%84css%e3%81%ab%e5%9f%8b%e3%82%81%e8%be%bc%e3%82%80.html" rel="bookmark" title="2011年10月26日">画像にbase64をかけてhtmlやCSSに埋め込む</a></li>
<li><a href="http://lab.branberyheag.com/2011/10/26/instagram-api-2.html" rel="bookmark" title="2011年10月26日">Instagram api にアクセスできた</a></li>
</ul>
<p><!-- Similar Posts took 3.357 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2011/09/01/wordpress%e3%81%ae%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%82%92%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e3%81%ab%e5%ae%9f%e8%a3%85%e3%81%99%e3%82%8b.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>お仕事用サイト「Branberyheag!!.jp」をローンチしました〜</title>
		<link>http://lab.branberyheag.com/2011/08/14/%e3%81%8a%e4%bb%95%e4%ba%8b%e7%94%a8%e3%82%b5%e3%82%a4%e3%83%88%e3%80%8cbranberyheag-jp%e3%80%8d%e3%82%92%e3%83%ad%e3%83%bc%e3%83%b3%e3%83%81%e3%81%97%e3%81%be%e3%81%97%e3%81%9f%e3%80%9c.html</link>
		<comments>http://lab.branberyheag.com/2011/08/14/%e3%81%8a%e4%bb%95%e4%ba%8b%e7%94%a8%e3%82%b5%e3%82%a4%e3%83%88%e3%80%8cbranberyheag-jp%e3%80%8d%e3%82%92%e3%83%ad%e3%83%bc%e3%83%b3%e3%83%81%e3%81%97%e3%81%be%e3%81%97%e3%81%9f%e3%80%9c.html#comments</comments>
		<pubDate>Sat, 13 Aug 2011 22:23:43 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[作品]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=1071</guid>
		<description><![CDATA[お仕事用サイト「Branberyheag!!.jp」を公開。 最初は、自分のポートフォリオサイトを作るつもりなかったのですが、段々、システムが出来上がってくると、いい感じの完成度になってしまって、これを単純に公開するのも [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://lab.branberyheag.com/wp-content/20110811.jpg" rel="shadowbox[post-1071];player=img;" title="20110811"><img class="size-medium wp-image-1072 alignnone" title="20110811" src="http://lab.branberyheag.com/wp-content/20110811-300x173.jpg" alt="" width="300" height="173" /></a></p>
<p>お仕事用サイト「<a href="http://branberyheag.jp/">Branberyheag!!.jp</a>」を公開。</p>
<p>最初は、自分のポートフォリオサイトを作るつもりなかったのですが、段々、システムが出来上がってくると、いい感じの完成度になってしまって、これを単純に公開するのも勿体ないなと思って、自分用のサイトにしてみた。</p>
<p>技術的な話をするとWordPressでできていて、カテゴリー、ページ、記事というようなシンプルな構成でできあがっている。ただ、ページ遷移は、なくてJQueryのload()を使って、HTMLを呼び出している。戻る、進むボタンを有効にするため、ハッシュタグをURLに組み込んで、あとはプラグインでの処理を行っている。</p>
<p>あとは、スライドショーは、Arrayに画像のパス、サイズをつっこんで、ページおくりしたときに呼び出している。DOMを操作して、消えたり出したりするよりは、処理が速いような気がする。</p>
<p>これを作ったときにいろいろとTipsが溜まったので、ネタを公開していきたい。</p>
<p>これ、フェーズ１なんで、もう少し手直しと機能を追加する予定。</p>
<p>以前やった、クライアント案件で、この技術を使えばもっといいものができたとこれを作りながら思った。いつか修正したいけどね。<strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2010/01/11/sukinabasho.html" rel="bookmark" title="2010年1月11日">コミュニティサイト「すきなばしょ」プレリリース</a></li>
<li><a href="http://lab.branberyheag.com/2011/03/30/%e3%80%8cinstagram-wall%e3%80%8d%e3%82%92%e4%bd%9c%e3%81%a3%e3%81%9f.html" rel="bookmark" title="2011年3月30日">「instagram Wall」を作った</a></li>
<li><a href="http://lab.branberyheag.com/2011/09/30/jquery-deferred%e3%81%a3%e3%81%a6%e3%81%aa%e3%82%93%e3%81%a8%e3%81%aa%e3%81%8f%e4%be%bf%e5%88%a9%e3%81%ae%e3%82%88%e3%81%86%e3%81%aa%e6%b0%97%e3%81%8c%e3%81%99%e3%82%8b.html" rel="bookmark" title="2011年9月30日">jQuery.Deferredってなんとなく便利のような気がする</a></li>
<li><a href="http://lab.branberyheag.com/2010/07/17/wordpress3-0_templte.html" rel="bookmark" title="2010年7月17日">WordPress3.0にバージョンアップしたら、テンプレートJavascriptエラーになった</a></li>
<li><a href="http://lab.branberyheag.com/2011/07/12/jquery%e3%83%97%e3%83%a9%e3%82%b0%e3%82%a4%e3%83%b3skroll-js%e3%80%8d.html" rel="bookmark" title="2011年7月12日">JQueryプラグイン「skroll.js」</a></li>
</ul>
<p><!-- Similar Posts took 17.109 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2011/08/14/%e3%81%8a%e4%bb%95%e4%ba%8b%e7%94%a8%e3%82%b5%e3%82%a4%e3%83%88%e3%80%8cbranberyheag-jp%e3%80%8d%e3%82%92%e3%83%ad%e3%83%bc%e3%83%b3%e3%83%81%e3%81%97%e3%81%be%e3%81%97%e3%81%9f%e3%80%9c.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>カスタム投稿を使ってサイト構築の資料</title>
		<link>http://lab.branberyheag.com/2011/04/07/%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e6%8a%95%e7%a8%bf%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%82%b5%e3%82%a4%e3%83%88%e6%a7%8b%e7%af%89.html</link>
		<comments>http://lab.branberyheag.com/2011/04/07/%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e6%8a%95%e7%a8%bf%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%82%b5%e3%82%a4%e3%83%88%e6%a7%8b%e7%af%89.html#comments</comments>
		<pubDate>Thu, 07 Apr 2011 03:06:51 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=995</guid>
		<description><![CDATA[久しぶりにWordPressのメモ。 ポートフォリオのサイトを構築しようと思ってて、カスタム投稿を使って、ポートフォリオを投稿するフィールドと業務上のお知らせを普通の投稿画面と・・・振り分けたかったので、調べていると参考 [...]]]></description>
			<content:encoded><![CDATA[<p>久しぶりにWordPressのメモ。</p>
<p>ポートフォリオのサイトを構築しようと思ってて、カスタム投稿を使って、ポートフォリオを投稿するフィールドと業務上のお知らせを普通の投稿画面と・・・振り分けたかったので、調べていると参考になる記事があったので、メモ。</p>
<p><a href="http://wiwiconnect.marulab.net/%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%A0%E6%8A%95%E7%A8%BF%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6web%E3%82%B5%E3%82%A4%E3%83%88%E3%82%92%E4%BD%9C%E3%81%A3%E3%81%A6%E3%81%BF%E3%82%88%E3%81%86%EF%BC%81">カスタム投稿を使ってwebサイトを作ってみよう！</a></p>
<p>これ、サイト構造の設計からWordpressを何をどこに実装するかが書いてあって、細かい部分まで書いてあって親切。<br />
新しい機能がどんどん追加されているので、業務や個人的に作るときにゼロから説明してある記事って本当にいいと思う。<strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2011/09/12/html5%e3%81%ae%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e5%b1%9e%e6%80%a7%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6.html" rel="bookmark" title="2011年9月12日">HTML5のカスタム属性について</a></li>
<li><a href="http://lab.branberyheag.com/2010/06/21/wordpress3-0%e3%81%ae%e6%96%b0%e6%a9%9f%e8%83%bd%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e6%8a%95%e7%a8%bf%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6.html" rel="bookmark" title="2010年6月21日">WordPress3.0の新機能カスタム投稿について</a></li>
<li><a href="http://lab.branberyheag.com/2009/09/16/flex3numericstepper.html" rel="bookmark" title="2009年9月16日">[flex3]NumericStepperのカスタマイズ</a></li>
<li><a href="http://lab.branberyheag.com/2009/08/04/as3_turn_up.html" rel="bookmark" title="2009年8月4日">Actionscript3のパフォーマンスについて</a></li>
<li><a href="http://lab.branberyheag.com/2009/12/12/flex%e3%81%a7%e7%b8%a6%e6%9b%b8%e3%81%8d%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%a3%e3%81%a6%e3%81%82%e3%81%a3%e3%81%9f%e3%82%93%e3%81%a0%ef%bd%97.html" rel="bookmark" title="2009年12月12日">Flexで縦書きする方法ってあったんだｗ</a></li>
</ul>
<p><!-- Similar Posts took 3.571 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2011/04/07/%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e6%8a%95%e7%a8%bf%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%82%b5%e3%82%a4%e3%83%88%e6%a7%8b%e7%af%89.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpressで作ったサイト設定しておきたいrobot.txt</title>
		<link>http://lab.branberyheag.com/2011/02/16/wordpress%e3%81%a7%e4%bd%9c%e3%81%a3%e3%81%9f%e3%82%b5%e3%82%a4%e3%83%88%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%a6%e3%81%8a%e3%81%8d%e3%81%9f%e3%81%84robot-txt.html</link>
		<comments>http://lab.branberyheag.com/2011/02/16/wordpress%e3%81%a7%e4%bd%9c%e3%81%a3%e3%81%9f%e3%82%b5%e3%82%a4%e3%83%88%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%a6%e3%81%8a%e3%81%8d%e3%81%9f%e3%81%84robot-txt.html#comments</comments>
		<pubDate>Wed, 16 Feb 2011 02:58:17 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=949</guid>
		<description><![CDATA[役に立ちそうなので、取り急ぎメモ。 コリスさん「WordPressで作ったサイトを最適化するためのrobots.txt」 元ネタは「How to Write WordPress robots.txt for SEO」みた [...]]]></description>
			<content:encoded><![CDATA[<p>役に立ちそうなので、取り急ぎメモ。</p>
<p>コリスさん「<a href="http://coliss.com/articles/blog/wordpress/robotstxt-for-wordpress.html">WordPressで作ったサイトを最適化するためのrobots.txt</a>」<br />
元ネタは「<a href="http://zacklive.com/how-to-write-wordpress-robotstxt-seo/18/">How to Write WordPress robots.txt for SEO</a>」みたい。</p>
<p><span id="more-949"></span>案外、robot.txtの記述の方法を覚えることが大事だと思う。そうすることで、<br />
まとめサイトを見なても済むし、他への応用ができるとおもうんだけど、ネットが便利すぎるんだろうな。。。<strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2010/08/03/wordpress_sitetop_move.html" rel="bookmark" title="2010年8月3日">WordPressの管理画面の階層とサイトトップを変更する</a></li>
<li><a href="http://lab.branberyheag.com/2010/02/04/%e6%90%ba%e5%b8%af%e3%82%b5%e3%82%a4%e3%83%88%e3%82%92%e4%bd%9c%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%88%e3%81%86%ef%bc%81.html" rel="bookmark" title="2010年2月4日">携帯サイトを作ってみよう！</a></li>
<li><a href="http://lab.branberyheag.com/2010/09/06/adobe-air_wordpress.html" rel="bookmark" title="2010年9月6日">adobe AIRでwordpressのクライアントソフトを作ってみたくなった</a></li>
<li><a href="http://lab.branberyheag.com/2010/07/22/wpml.html" rel="bookmark" title="2010年7月22日">WordPressプラグイン「WPML」で多言語化サイトを構築</a></li>
<li><a href="http://lab.branberyheag.com/2009/12/23/mtos5%e3%82%92%e8%a9%a6%e3%81%97%e3%81%a6%e3%81%bf%e3%82%88%e3%81%86.html" rel="bookmark" title="2009年12月23日">MTOS5を試してみよう</a></li>
</ul>
<p><!-- Similar Posts took 3.079 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2011/02/16/wordpress%e3%81%a7%e4%bd%9c%e3%81%a3%e3%81%9f%e3%82%b5%e3%82%a4%e3%83%88%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%a6%e3%81%8a%e3%81%8d%e3%81%9f%e3%81%84robot-txt.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[WP]ローカルナビゲーションを自動的に生成してくれるプラグイン</title>
		<link>http://lab.branberyheag.com/2010/10/08/wp%e3%83%ad%e3%83%bc%e3%82%ab%e3%83%ab%e3%83%8a%e3%83%93%e3%82%b2%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e8%87%aa%e5%8b%95%e7%9a%84%e3%81%ab%e7%94%9f%e6%88%90%e3%81%97%e3%81%a6%e3%81%8f.html</link>
		<comments>http://lab.branberyheag.com/2010/10/08/wp%e3%83%ad%e3%83%bc%e3%82%ab%e3%83%ab%e3%83%8a%e3%83%93%e3%82%b2%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e8%87%aa%e5%8b%95%e7%9a%84%e3%81%ab%e7%94%9f%e6%88%90%e3%81%97%e3%81%a6%e3%81%8f.html#comments</comments>
		<pubDate>Fri, 08 Oct 2010 01:25:17 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[プラグイン]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=868</guid>
		<description><![CDATA[思わず、これ便利と言いそうになったので、メモ。 NET-KINGさんのWordPresss用プラグイン「localnavigation」が便利そう。自分で、カリカリとテンプレートに記述するのって、面倒だったり、運用を考え [...]]]></description>
			<content:encoded><![CDATA[<p>思わず、これ便利と言いそうになったので、メモ。</p>
<p>NET-KINGさんのWordPresss用プラグイン「<a href="http://blog.net-king.com/2010/08/31/%E3%83%AD%E3%83%BC%E3%82%AB%E3%83%AB%E3%83%8A%E3%83%93%E3%82%B2%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E4%BD%9C%E6%88%90wordpres%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3-local-navigation/">localnavigation</a>」が便利そう。自分で、カリカリとテンプレートに記述するのって、面倒だったり、運用を考えると現実的ではなかったりする。</p>
<p>だから、コーポレートサイトや商用サイトでは結構便利なプラグインなんじゃないかと思う。<strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2010/07/22/wpml.html" rel="bookmark" title="2010年7月22日">WordPressプラグイン「WPML」で多言語化サイトを構築</a></li>
<li><a href="http://lab.branberyheag.com/2009/11/11/wordpress%e3%81%ae%e3%83%97%e3%83%a9%e3%82%b0%e3%82%a4%e3%83%b3%e3%82%92%e8%87%aa%e5%8b%95%e3%82%a2%e3%83%83%e3%83%97%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%89%e3%81%ab%e6%80%9d%e3%81%86%e3%83%bb%e3%83%bb.html" rel="bookmark" title="2009年11月11日">wordpressのプラグインを自動アップグレードに思う・・・</a></li>
<li><a href="http://lab.branberyheag.com/2010/03/12/gamequery.html" rel="bookmark" title="2010年3月12日">ゲーム用JQuery「GameQuery」</a></li>
<li><a href="http://lab.branberyheag.com/2010/06/29/jquery_rollover.html" rel="bookmark" title="2010年6月29日">jQueryでロールオーバー</a></li>
<li><a href="http://lab.branberyheag.com/2010/08/06/wordpress_epub.html" rel="bookmark" title="2010年8月6日">ブログを電子書籍形式（ePub）変換できるプラグイン</a></li>
</ul>
<p><!-- Similar Posts took 3.074 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2010/10/08/wp%e3%83%ad%e3%83%bc%e3%82%ab%e3%83%ab%e3%83%8a%e3%83%93%e3%82%b2%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e8%87%aa%e5%8b%95%e7%9a%84%e3%81%ab%e7%94%9f%e6%88%90%e3%81%97%e3%81%a6%e3%81%8f.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPressでアップロードするファイル容量を変更する方法</title>
		<link>http://lab.branberyheag.com/2010/09/13/wordpress_uploads.html</link>
		<comments>http://lab.branberyheag.com/2010/09/13/wordpress_uploads.html#comments</comments>
		<pubDate>Mon, 13 Sep 2010 05:34:12 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=850</guid>
		<description><![CDATA[あるサーバでWordPressのアップロード機能に容量制限の変更が必要だったので、変えようと思ったらどこで変更するのかわからなかった。いろいろと調べてみると２つ方法があるみたい。 方法１：htaccessで対処 #Cha [...]]]></description>
			<content:encoded><![CDATA[<p>あるサーバでWordPressのアップロード機能に容量制限の変更が必要だったので、変えようと思ったらどこで変更するのかわからなかった。いろいろと調べてみると２つ方法があるみたい。</p>
<p>方法１：htaccessで対処</p>
<p>#Change upload limits<br />
php_value memory_limit 34M<br />
php_value post_max_size 33M<br />
php_value upload_max_filesize 32M<br />
php_value max_execution_time 600<br />
#Change upload limits end</p>
<p>このコードをhtaccessに入れるだけ。</p>
<p>方法２：php.iniで対処</p>
<pre class="brush: php; title: ; notranslate">
safe_mode = off
 memory_limit = 64M
 max_input_time = 60
 output_buffering = none
 safe_mode_exec_dir = none
 post_max_size = 60M
 upload_max_filesize = 50M
 variables_order = EGPCS
 dbx.colnames_case = lowercase
 HTTP input encoding translation = on
 mbstring.detect_order = auto
 mbstring.encoding_translation = on
 mbstring.http_input = auto
 mbstring.http_output = SJIS
 mbstring.internal_encoding = UTF-8
 mbstring.language = Japanese
 session.save_path = /var/lib/php/session
 url_rewriter.tags = “a=href,area=href,frame=src,input=src,form=fakeentry”
</pre>
<p>upload_max_filesizeでアップロードの制限ができるみたい。<br />
CoreServerは、制御しなくてももともと32MBになっている。</p>
<p>WordPressのアップロード容量制限を変更する方法（Xserver）<br />
<a href="http://webdesign-memo.blogdns.com/php/memo_post279/">http://webdesign-memo.blogdns.com/php/memo_post279/</a><strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2010/03/04/plupload.html" rel="bookmark" title="2010年3月4日">Plupload、いいかも。</a></li>
<li><a href="http://lab.branberyheag.com/2009/11/11/wordpress%e3%81%ae%e3%83%97%e3%83%a9%e3%82%b0%e3%82%a4%e3%83%b3%e3%82%92%e8%87%aa%e5%8b%95%e3%82%a2%e3%83%83%e3%83%97%e3%82%b0%e3%83%ac%e3%83%bc%e3%83%89%e3%81%ab%e6%80%9d%e3%81%86%e3%83%bb%e3%83%bb.html" rel="bookmark" title="2009年11月11日">wordpressのプラグインを自動アップグレードに思う・・・</a></li>
<li><a href="http://lab.branberyheag.com/2010/08/03/wordpress_sitetop_move.html" rel="bookmark" title="2010年8月3日">WordPressの管理画面の階層とサイトトップを変更する</a></li>
<li><a href="http://lab.branberyheag.com/2011/05/19/css%e3%81%a7%e8%83%8c%e6%99%af%e3%81%abpng%e7%94%bb%e5%83%8f%e4%bd%bf%e3%81%a3%e3%81%9f%e3%81%a8%e3%81%8d%e3%81%aeie6%e5%af%be%e5%bf%9c%e3%81%ae%e6%b3%a8%e6%84%8f%e7%82%b9.html" rel="bookmark" title="2011年5月19日">CSSで背景にPNG画像使ったときのIE6対応の注意点</a></li>
<li><a href="http://lab.branberyheag.com/2010/06/10/webfont.html" rel="bookmark" title="2010年6月10日">WebFontの使い方</a></li>
</ul>
<p><!-- Similar Posts took 3.955 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2010/09/13/wordpress_uploads.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>adobe AIRでwordpressのクライアントソフトを作ってみたくなった</title>
		<link>http://lab.branberyheag.com/2010/09/06/adobe-air_wordpress.html</link>
		<comments>http://lab.branberyheag.com/2010/09/06/adobe-air_wordpress.html#comments</comments>
		<pubDate>Sun, 05 Sep 2010 15:28:11 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[Air]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=834</guid>
		<description><![CDATA[先週末、Wordpressの管理画面に入らないで、クライアントPCから記事を書けるようなシステムを作れないだろうかと・・・ふと思って調べてみた。XML-RPCという方式を使うとできるらしい。Flexでできたら、いいのにな [...]]]></description>
			<content:encoded><![CDATA[<p>先週末、Wordpressの管理画面に入らないで、クライアントPCから記事を書けるようなシステムを作れないだろうかと・・・ふと思って調べてみた。XML-RPCという方式を使うとできるらしい。Flexでできたら、いいのになぁと思ったらできるみたい。XML-RPCを扱えるようにするライブラリもあるようだし、Adobe AIRで作ろうかと思った。</p>
<p>そんな勢いに任せたモノづくりが始まった。</p>
<p>ActionScript3.0でXMLRPCを使ってはてブを取得してみる<br />
<a href="http://clockmaker.jp/blog/2008/09/as3_xmlrpc_hatena/">http://clockmaker.jp/blog/2008/09/as3_xmlrpc_hatena/</a></p>
<p>あと、PHPとWordPressだけど、ヒントになりそうなので、メモ。</p>
<p>[PHP] XML-RPCを使ってWordPressに投稿する<br />
<a href="http://www.multiburst.net/sometime-php/2009/04/newpost-with-wordpress-xmlrpc-api/">http://www.multiburst.net/sometime-php/2009/04/newpost-with-wordpress-xmlrpc-api/</a></p>
<p>[WordPress] XML-RPCを駆使してブログの記事を投稿してみる<br />
<a href="http://blog.bgs-works.com/2009/11/wordpress-xml-rss/">http://blog.bgs-works.com/2009/11/wordpress-xml-rss/</a></p>
<p>まぁ、とりあえず、Adobe Airで作ること自体が久しぶりなので、そっこから勉強しなおす予定。<br />
あと、Flex4を使おうかなって思う。いろいろとできるみたいだし。</p>
<p>ペーパープロトタイプからつくるかな。<strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2011/04/09/wordpress-%e3%81%a8oauth%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6web%e3%82%b5%e3%83%bc%e3%83%93%e3%82%b9%e3%82%92%e4%bd%9c%e3%82%8b.html" rel="bookmark" title="2011年4月9日">WordPress とOAuthを使ってWebサービスを作る</a></li>
<li><a href="http://lab.branberyheag.com/2010/02/04/%e6%90%ba%e5%b8%af%e3%82%b5%e3%82%a4%e3%83%88%e3%82%92%e4%bd%9c%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%88%e3%81%86%ef%bc%81.html" rel="bookmark" title="2010年2月4日">携帯サイトを作ってみよう！</a></li>
<li><a href="http://lab.branberyheag.com/2010/02/26/html5_js_bild.html" rel="bookmark" title="2010年2月26日">HTML5とJavaScriptで何かを作りたくなった</a></li>
<li><a href="http://lab.branberyheag.com/2010/07/22/wpml.html" rel="bookmark" title="2010年7月22日">WordPressプラグイン「WPML」で多言語化サイトを構築</a></li>
<li><a href="http://lab.branberyheag.com/2010/03/01/%e3%80%8c%e3%81%99%e3%81%8d%e3%81%aa%e3%81%b0%e3%81%97%e3%82%87%e3%80%8d%e3%81%ae%e5%9c%b0%e5%9b%b3%e3%82%92%e3%83%91%e3%83%95%e3%82%a9%e3%83%bc%e3%83%9e%e3%83%b3%e3%82%b9%e3%82%92%e4%b8%8a%e3%81%92.html" rel="bookmark" title="2010年3月1日">「すきなばしょ」の地図をパフォーマンスを上げる</a></li>
</ul>
<p><!-- Similar Posts took 4.098 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2010/09/06/adobe-air_wordpress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ブログを電子書籍形式（ePub）変換できるプラグイン</title>
		<link>http://lab.branberyheag.com/2010/08/06/wordpress_epub.html</link>
		<comments>http://lab.branberyheag.com/2010/08/06/wordpress_epub.html#comments</comments>
		<pubDate>Fri, 06 Aug 2010 13:42:18 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[アイデア]]></category>
		<category><![CDATA[電子書籍]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=818</guid>
		<description><![CDATA[最近、MovableTypeで電子書籍形式（ePub）に変換できるプラグインがちらほら出てきているけど、WordPress3用のプラグイン「Anthologize」がある。 ブログを簡単に電子書籍形式にできれば、じっくり [...]]]></description>
			<content:encoded><![CDATA[<p>最近、MovableTypeで電子書籍形式（ePub）に変換できるプラグインがちらほら出てきているけど、WordPress3用のプラグイン「<a href="http://anthologize.org/about/">Anthologize</a>」がある。</p>
<p>ブログを簡単に電子書籍形式にできれば、じっくりと読みたいブログを本と同じ感覚で読めれば、面白いことができそう。<br />
例えば、毎日少しずつ小説を書くためのブログを作ったり、４コマ漫画なんて簡単に配信できると思う。（４コマ漫画の場合は、ブログでも変わらないかもしれないけどね）</p>
<p>そんなことができると思う。ちょうど、電子書籍にしたいと思っていたコンテンツがあるので、試してみようかな。</p>
<p>「Anthologize」<br />
<a href="http://anthologize.org/about/">http://anthologize.org/about/</a><strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2010/07/22/wpml.html" rel="bookmark" title="2010年7月22日">WordPressプラグイン「WPML」で多言語化サイトを構築</a></li>
<li><a href="http://lab.branberyheag.com/2009/10/22/google-maps-api_and_blog.html" rel="bookmark" title="2009年10月22日">次は、Google Maps APIとブログで</a></li>
<li><a href="http://lab.branberyheag.com/2010/06/07/featured-image.html" rel="bookmark" title="2010年6月7日">WordPress3.0機能メモ　 featured image アイキャッチ画像</a></li>
<li><a href="http://lab.branberyheag.com/2009/10/26/google_map_api.html" rel="bookmark" title="2009年10月26日">Google Map API</a></li>
<li><a href="http://lab.branberyheag.com/2010/05/24/twitteranywhere.html" rel="bookmark" title="2010年5月24日">Twitter@Anywhereは、いい感じ</a></li>
</ul>
<p><!-- Similar Posts took 3.488 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2010/08/06/wordpress_epub.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPressの管理画面の階層とサイトトップを変更する</title>
		<link>http://lab.branberyheag.com/2010/08/03/wordpress_sitetop_move.html</link>
		<comments>http://lab.branberyheag.com/2010/08/03/wordpress_sitetop_move.html#comments</comments>
		<pubDate>Tue, 03 Aug 2010 10:34:31 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=814</guid>
		<description><![CDATA[タイトルでは表現しにくかったが、管理画面のディレクトリとWordPressの公開する場所を変更することが簡単にできる。 今まで、知らなくて、同じディレクトリ上でしか設置できないと思い込んでいた。 その方法は、以下のとおり [...]]]></description>
			<content:encoded><![CDATA[<p>タイトルでは表現しにくかったが、管理画面のディレクトリとWordPressの公開する場所を変更することが簡単にできる。<br />
今まで、知らなくて、同じディレクトリ上でしか設置できないと思い込んでいた。</p>
<p>その方法は、以下のとおり。</p>
<p>1.WordPressの管理画面にある「設定」を変更する<img class="aligncenter size-full wp-image-815" title="01" src="http://lab.branberyheag.com/wp-content/01.jpg" alt="" width="546" height="80" /></p>
<p>2.htaccess を管理画面で変更したサイトのアドレスと同じディレクトリに移動する。（ある場合は移動する）</p>
<p>3.WordPressのindex.phpをサイトのアドレスと同じディレクトリに移動して、ソースコードの一部を書き換える。</p>
<p>デフォルトの状態</p>
<pre class="brush: php; title: ; notranslate">

/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
?&gt;
</pre>
<p>変更後</p>
<pre class="brush: php; title: ; notranslate">

/** Loads the WordPress Environment and Template */
require('./wordpress/wp-blog-header.php');
?&gt;
</pre>
<p>これで完了。</p>
<p>これなら、本番環境にテスト環境を設置できて便利かもしれない。</p>
<p><strong>参考にしたサイト<br />
</strong><a href="http://webizm-css.com/site-top.html">http://webizm-css.com/site-top.html</a><strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2009/09/05/dropbox.html" rel="bookmark" title="2009年9月5日">使えるオンラインストレージ「Drop Box」</a></li>
<li><a href="http://lab.branberyheag.com/2009/12/31/core-server-%e3%81%ae%e3%83%89%e3%83%a1%e3%82%a4%e3%83%b3%e8%a8%ad%e5%ae%9a%e3%81%a7%e3%83%8f%e3%83%9e%e3%81%a3%e3%81%9f.html" rel="bookmark" title="2009年12月31日">Core Server のドメイン設定でハマった</a></li>
<li><a href="http://lab.branberyheag.com/2011/04/09/core-server%e3%81%a7php%e3%81%aepear%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95.html" rel="bookmark" title="2011年4月9日">Core ServerでPHPのPEARをインストールする方法</a></li>
<li><a href="http://lab.branberyheag.com/2011/09/01/wordpress%e3%81%ae%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%82%92%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e3%81%ab%e5%ae%9f%e8%a3%85%e3%81%99%e3%82%8b.html" rel="bookmark" title="2011年9月1日">WordPressのログインフォームをテンプレートに実装する方法</a></li>
<li><a href="http://lab.branberyheag.com/2010/03/24/wordpress3-0%e3%81%ae%e6%96%b0%e6%a9%9f%e8%83%bd.html" rel="bookmark" title="2010年3月24日">WordPress3.0の新機能</a></li>
</ul>
<p><!-- Similar Posts took 11.730 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2010/08/03/wordpress_sitetop_move.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPressのテーマをウィジットに対応させる</title>
		<link>http://lab.branberyheag.com/2010/07/23/wordpress_theme_and_wejit.html</link>
		<comments>http://lab.branberyheag.com/2010/07/23/wordpress_theme_and_wejit.html#comments</comments>
		<pubDate>Fri, 23 Jul 2010 10:00:23 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=812</guid>
		<description><![CDATA[WordPressのテーマは、仕事でもプライベートでも作っているけど、ウィジットに対応させる方法を知らなかった。急に知りたくなって調べたら案外簡単にできるようなので、メモ。 テーマ（テンプレート）のsidebar.php [...]]]></description>
			<content:encoded><![CDATA[<p>WordPressのテーマは、仕事でもプライベートでも作っているけど、ウィジットに対応させる方法を知らなかった。急に知りたくなって調べたら案外簡単にできるようなので、メモ。</p>
<p>テーマ（テンプレート）のsidebar.phpに</p>
<pre class="brush: php; title: ; notranslate">

&lt;div id=&quot;sidebar&quot;&gt;
&lt;ul&gt;
&lt;?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?&gt;
&lt;?php endif; ?&gt;
&lt;/ul&gt;
&lt;/div&gt;
</pre>
<p>をulタグの間に挟みこむ。</p>
<p>functions.phpにさらに下記のソースコードを記述する</p>
<pre class="brush: php; title: ; notranslate">

&lt;?php
if ( function_exists('register_sidebar') )
 register_sidebar();
?&gt;
</pre>
<p>を追加すると管理画面上でサイドバーのウィジットを自由に入れ替えることができる。<br />
早速、あとでやってみようっと。</p>
<p><strong>参考にしたサイト</strong><br />
WordPress テーマを作成する（５）　サイドバーをウィジットに対応させる<br />
<a href="http://www.syuhari.jp/blog/archives/209">http://www.syuhari.jp/blog/archives/209</a><strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2009/11/12/ie6.html" rel="bookmark" title="2009年11月12日">IE6でpngを対応させる（ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader）</a></li>
<li><a href="http://lab.branberyheag.com/2010/04/22/flashdevelop3-1-0rtm.html" rel="bookmark" title="2010年4月22日">FlashDevelop3.1.0RTMリリース</a></li>
<li><a href="http://lab.branberyheag.com/2010/06/07/featured-image.html" rel="bookmark" title="2010年6月7日">WordPress3.0機能メモ　 featured image アイキャッチ画像</a></li>
<li><a href="http://lab.branberyheag.com/2010/01/06/%e8%a6%aa%e3%82%a6%e3%82%a3%e3%83%b3%e3%83%89%e3%82%a6%e3%81%8b%e3%82%89%e5%ad%90%e3%82%a6%e3%82%a3%e3%83%b3%e3%83%89%e3%82%a6%e3%81%b8%e3%81%ae%e3%83%87%e3%83%bc%e3%82%bf%e5%8f%97%e3%81%91%e6%b8%a1.html" rel="bookmark" title="2010年1月6日">親ウィンドウから子ウィンドウへのデータ受け渡し方</a></li>
<li><a href="http://lab.branberyheag.com/2009/11/04/javascript.html" rel="bookmark" title="2009年11月4日">javascriptとユーザ環境について</a></li>
</ul>
<p><!-- Similar Posts took 3.726 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2010/07/23/wordpress_theme_and_wejit.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

