<?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>parpue.net &#187; WordPress</title>
	<atom:link href="http://parpue.net/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://parpue.net</link>
	<description>Flash, Flex, デザイン等自分の好きなことを好きなようにやってます</description>
	<lastBuildDate>Wed, 12 Aug 2009 17:46:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>wordpress 2.8.1 にしたら ShadowBoxが動かない・・・と思ったら</title>
		<link>http://parpue.net/wordpress/1020</link>
		<comments>http://parpue.net/wordpress/1020#comments</comments>
		<pubDate>Mon, 13 Jul 2009 17:07:12 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[WEB]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=1020</guid>
		<description><![CDATA[				同様に困ってる人発見。
				http://wordpress.org/support/topic/284028
				
				ShadowBox最新版にして、一度プラグインを無効にして、
				再度有効 [...]]]></description>
			<content:encoded><![CDATA[				<p>同様に困ってる人発見。<br />
				<a href="http://wordpress.org/support/topic/284028" target="_blank">http://wordpress.org/support/topic/284028<br />
				</a></p>
				<p>ShadowBox最新版にして、一度プラグインを無効にして、<br />
				再度有効にしたら動きました。</p>
				<p>困ってる人、お試しください。</p>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/wordpress/1020/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress 2.6.2に更新</title>
		<link>http://parpue.net/wordpress/296</link>
		<comments>http://parpue.net/wordpress/296#comments</comments>
		<pubDate>Fri, 19 Sep 2008 09:37:35 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=296</guid>
		<description><![CDATA[				してみたところ、
				以前改造したAdd Meta Tagプラグインで、Warningが出てしまった。
				WordPressのカスタムフィールドで&#60;HEAD&#62;内でJavsScript, CS [...]]]></description>
			<content:encoded><![CDATA[				<p>してみたところ、<br />
				以前改造したAdd Meta Tagプラグインで、Warningが出てしまった。<br />
				<a href="http://parpue.net/wordpress/25">WordPressのカスタムフィールドで&lt;HEAD&gt;内でJavsScript, CSSをロードして動かす</a></p>
				<p>他に問題ありませんように。。。</p>
				<p><span id="more-296"></span></p>
				<p>wordpress 内で使っている関数 get_post_meta の戻り値の判定がいけなかったのが原因・・・。<br />
				get_post_metaは空文字か配列を返しているようなので<br />
				null的なものがきたときは全てスルーするように変更。<br />
				これでwarning がでなくなった。</p>
				<p>前回からの変更分。</p>
				<div class="igBar"><span id="lphp-2"><a href="#" onclick="javascript:showPlainTxt('php-2'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">PHP:</span>
				<div id="php-2">
				<div class="php">
				<ol style="margin:0px; padding:0px" >
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color:#FF9933; font-style:italic;">// add javascript</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$js_fld_contents</span> = get_post_meta<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$posts</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">0</span><span style="color:#006600; font-weight:bold;">&#93;</span>-&gt;<span style="color:#006600;">ID</span>, <span style="color:#0000FF;">$js_fld</span>, <span style="color:#000000; font-weight:bold;">false</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">-&nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$js_fld_contents</span> !=<span style="color:#000000; font-weight:bold;">null</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></li>
				<li style="color:#26536A;">+&nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$js_fld_contents</span> != <span style="color:#000000; font-weight:bold;">false</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">foreach</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$js_fld_contents</span> <span style="color:#616100;">as</span> <span style="color:#0000FF;">$js_fld_content</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span> !<a href="http://www.php.net/empty"><span style="color:#000066;">empty</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$js_fld_content</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$my_metatags</span> .= <span style="color:#FF0000;">"<span style="color:#000099; font-weight:bold;">\n</span>&lt;script type=<span style="color:#000099; font-weight:bold;">\"</span>text/javascript<span style="color:#000099; font-weight:bold;">\"</span> src=<span style="color:#000099; font-weight:bold;">\"</span>"</span>. <span style="color:#0000FF;">$js_fld_content</span>&nbsp; .<span style="color:#FF0000;">"<span style="color:#000099; font-weight:bold;">\"</span>&gt;&lt;/script&gt;"</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// add css</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$css_fld_contents</span> = get_post_meta<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$posts</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">0</span><span style="color:#006600; font-weight:bold;">&#93;</span>-&gt;<span style="color:#006600;">ID</span>, <span style="color:#0000FF;">$css_fld</span>, <span style="color:#000000; font-weight:bold;">false</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</li>
				<li style="color:#26536A;">-&nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$css_fld_contents</span> != <span style="color:#000000; font-weight:bold;">null</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">+&nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$css_fld_contents</span> != <span style="color:#000000; font-weight:bold;">false</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">foreach</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$css_fld_contents</span> <span style="color:#616100;">as</span> <span style="color:#0000FF;">$css_fld_content</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span> !<a href="http://www.php.net/empty"><span style="color:#000066;">empty</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$css_fld_content</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$my_metatags</span> .= <span style="color:#FF0000;">"<span style="color:#000099; font-weight:bold;">\n</span>&lt;link rel=<span style="color:#000099; font-weight:bold;">\"</span>stylesheet<span style="color:#000099; font-weight:bold;">\"</span> href=<span style="color:#000099; font-weight:bold;">\"</span>"</span>. <span style="color:#0000FF;">$css_fld_content</span>&nbsp; .<span style="color:#FF0000;">"<span style="color:#000099; font-weight:bold;">\"</span> /&gt;"</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span> </li>
				</ol>
				</div>
				</div>
				</div>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/wordpress/296/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress に addthis を追加</title>
		<link>http://parpue.net/wordpress/37</link>
		<comments>http://parpue.net/wordpress/37#comments</comments>
		<pubDate>Wed, 09 Jul 2008 03:35:39 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[WEB]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[addthis]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=37</guid>
		<description><![CDATA[				してみた。
				有名なソーシャルブックマークへのリンクをつけるやつです。
				■addthis
				JavaScriptで、オーバーレイ表示。
				addthisで配布しているプラグインとコードだ [...]]]></description>
			<content:encoded><![CDATA[				<p>してみた。<br />
				有名なソーシャルブックマークへのリンクをつけるやつです。</p>
				<p>■<a href="http://www.addthis.com/">addthis</a></p>
				<p>JavaScriptで、オーバーレイ表示。</p>
				<p>addthisで配布しているプラグインとコードだとちょっと不十分だったので、<br />
				wordpressテンプレートに以下のように書いて表示確認。</p>
				<div class="igBar"><span id="ljavascript-4"><a href="#" onclick="javascript:showPlainTxt('javascript-4'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">JAVASCRIPT:</span>
				<div id="javascript-4">
				<div class="javascript">
				<ol style="margin:0px; padding:0px" >
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&lt;script type=<span style="color: #3366CC;">"text/javascript"</span>&gt;</li>
				<li style="color:#26536A;">addthis_pub = <span style="color: #3366CC;">'masahyro'</span>; <span style="color: #009900; font-style: italic;">// 登録したユーザ名</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&lt;/script&gt;</li>
				<li style="color:#26536A;">&lt;a href=<span style="color: #3366CC;">"http://www.addthis.com/bookmark.php"</span> onMouseOver=<span style="color: #3366CC;">"return addthis_open(this, '', '&lt;?php the_permalink();?&gt;', '&lt;?php the_title();?&gt;')"</span> onMouseOut=<span style="color: #3366CC;">"addthis_close()"</span> onClick=<span style="color: #3366CC;">"return addthis_sendto()"</span>&gt;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&lt;!-- ↓それぞれのaddthisのURLは登録時にもらえる --&gt;</li>
				<li style="color:#26536A;">&lt;img src=<span style="color: #3366CC;">"http://xx.addthis.com/button1-bm.gif"</span> width=<span style="color: #3366CC;">"125"</span> height=<span style="color: #3366CC;">"16"</span> border=<span style="color: #3366CC;">"0"</span> alt=<span style="color: #3366CC;">""</span> /&gt;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&lt;/a&gt;&lt;script type=<span style="color: #3366CC;">"text/javascript"</span> src=<span style="color: #3366CC;">"http://xx.addthis.com/js/xxx/addthis_widget.js"</span>&gt;</li>
				<li style="color:#26536A;">&lt;/script&gt; </li>
				</ol>
				</div>
				</div>
				</div>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/wordpress/37/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPressのカスタムフィールドで&lt;HEAD&gt;内でJavsScript, CSSをロードして動かす</title>
		<link>http://parpue.net/wordpress/25</link>
		<comments>http://parpue.net/wordpress/25#comments</comments>
		<pubDate>Fri, 27 Jun 2008 08:16:07 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[WEB]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[modalbox]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=25</guid>
		<description><![CDATA[				MacOSXのようなダイアログをページ内に表示する、
				ModalBoxの改造記事を書こうと思ったんだけど、
				WordPressで記事ごとにJavaScriptやCSSの読み込みを追加したくて悩む。 [...]]]></description>
			<content:encoded><![CDATA[				<p>MacOSXのようなダイアログをページ内に表示する、<br />
				ModalBoxの改造記事を書こうと思ったんだけど、<br />
				WordPressで記事ごとにJavaScriptやCSSの読み込みを追加したくて悩む。</p>
				<p>プラグインを利用＆改造して、<br />
				カスタムフィールドでこんな感じでできるようにしてみた。</p>
				<p><a href='http://parpue.net/wp-content/custom3.png' rel='shadowbox[post-25];player=img;'><img src="http://parpue.net/wp-content/custom3-300x270.png" alt="カスタムフィールド" title="custom3" width="300" height="270" class="alignnone size-medium wp-image-28" /></a><br />
				javascript, css フィールドにファイル名を指定して追加する。<br />
				（Add-Meta-Tagsを追加で、keywords,description フィールドの指定によって、<br />
				META情報もページごとに指定可能。）</p>
				<p>というわけで、WorｄPressの個別ページで、<br />
				ModalBoxのJSとCSSを読み込んで、表示させてみた。</p>
				<p>↓個別ページ表示でないと動きません。<br />
				<span id="more-25"></span></p>
				<script type="text/javascript">
<!--
function showModalBox(){
    Modalbox.show('<input type=\'button\' value=\'閉じる\' onclick=\'Modalbox.hide()\' />',{title: 'テスト！', width: 300});
}
-->
</script>
<p>
<a href="#" onClick="showModalBox();" >ModalBoxテスト</a>
</p>
				<p>クリックでModalBoxが表示されるでしょか。</p>
				<p>■　記事本文中にjavascriptをかく・・・<br />
				プラグインを作っている方がおられました。<br />
				<a href="http://www.h-fj.com/blog/archives/2007/05/21-100102.php">カスタムフィールドのHTMLを記事に挿入するプラグイン</a><br />
				ContentEXプラグインにより、カスタムフィールドに追加したHTMLを<br />
				そのまま記事本文中に記述できます。</p>
				<p>本文中のJavaScriptに関してはこれでOKでした。便利。</p>
				<p>■　head内でjavascript,css ファイルをロードする・・・</p>
				<p>&lt;script type="text/javascript" src="xxx.js" /&gt;<br />
				&lt;link rel="stylesheet" href="xxx.css" /&gt;</p>
				<p>こんなのをページごとに自由に差し込みたい。</p>
				<p>近いプラグインで、ページごとにMETAを自由に追加できる、<br />
				Add-Meta-Tagsというプラグインがあったので、これをちょっと改造させていただきました。<br />
				→<a href="http://coliss.com/articles/blog/wordpress/plugin/327.html" target="blank">メタタグをページごとに設定できるWordPressのプラグイン:Add-Meta-Tagsの日本語版</a></p>
				<p>このプラグインのMETAタグを追加している部分に<br />
				javascript, css カスタムフィールドがあった場合、HEADに追加する処理を、加えました。</p>
				<p>add-meta-tags.php</p>
				<div class="igBar"><span id="lphp-7"><a href="#" onclick="javascript:showPlainTxt('php-7'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">PHP:</span>
				<div id="php-7">
				<div class="php">
				<ol start="410" style="margin:0px; padding:0px" >
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color:#FF9933; font-style:italic;">// Custom Field names</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color:#0000FF;">$desc_fld</span> = <span style="color:#FF0000;">"description"</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color:#0000FF;">$keyw_fld</span> = <span style="color:#FF0000;">"keywords"</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// javascript and css</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color:#0000FF;">$js_fld</span> = <span style="color:#FF0000;">"javascript"</span>;&nbsp; &nbsp;<span style="color:#FF9933; font-style:italic;">// add</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color:#0000FF;">$css_fld</span> = <span style="color:#FF0000;">"css"</span>;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// add </span></li>
				</ol>
				</div>
				</div>
				</div>
				<div class="igBar"><span id="lphp-8"><a href="#" onclick="javascript:showPlainTxt('php-8'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">PHP:</span>
				<div id="php-8">
				<div class="php">
				<ol start="452" style="margin:0px; padding:0px" >
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color:#FF9933; font-style:italic;">// add javascript</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$js_fld_contents</span> = get_post_meta<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$posts</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">0</span><span style="color:#006600; font-weight:bold;">&#93;</span>-&gt;<span style="color:#006600;">ID</span>, <span style="color:#0000FF;">$js_fld</span>, <span style="color:#000000; font-weight:bold;">false</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span>!<a href="http://www.php.net/is_null"><span style="color:#000066;">is_null</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$js_fld_contents</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">foreach</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$js_fld_contents</span> <span style="color:#616100;">as</span> <span style="color:#0000FF;">$js_fld_content</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span> !<a href="http://www.php.net/empty"><span style="color:#000066;">empty</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$js_fld_content</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$my_metatags</span> .= <span style="color:#FF0000;">"<span style="color:#000099; font-weight:bold;">\n</span>&lt;script type=<span style="color:#000099; font-weight:bold;">\"</span>text/javascript<span style="color:#000099; font-weight:bold;">\"</span> src=<span style="color:#000099; font-weight:bold;">\"</span>"</span>. <span style="color:#0000FF;">$js_fld_content</span>&nbsp; .<span style="color:#FF0000;">"<span style="color:#000099; font-weight:bold;">\"</span>&gt;&lt;/script&gt;"</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// add css</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$css_fld_contents</span> = get_post_meta<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$posts</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">0</span><span style="color:#006600; font-weight:bold;">&#93;</span>-&gt;<span style="color:#006600;">ID</span>, <span style="color:#0000FF;">$css_fld</span>, <span style="color:#000000; font-weight:bold;">false</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span>!<a href="http://www.php.net/is_null"><span style="color:#000066;">is_null</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$css_fld_contents</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">foreach</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$css_fld_contents</span> <span style="color:#616100;">as</span> <span style="color:#0000FF;">$css_fld_content</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span> !<a href="http://www.php.net/empty"><span style="color:#000066;">empty</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$css_fld_content</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$my_metatags</span> .= <span style="color:#FF0000;">"<span style="color:#000099; font-weight:bold;">\n</span>&lt;link rel=<span style="color:#000099; font-weight:bold;">\"</span>stylesheet<span style="color:#000099; font-weight:bold;">\"</span> href=<span style="color:#000099; font-weight:bold;">\"</span>"</span>. <span style="color:#0000FF;">$css_fld_content</span>&nbsp; .<span style="color:#FF0000;">"<span style="color:#000099; font-weight:bold;">\"</span> /&gt;"</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span> </li>
				</ol>
				</div>
				</div>
				</div>
				<p>これで javascript, css という名前のカスタムフィールドが有効になります。</p>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/wordpress/25/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FancyZoomで画像を拡大表示</title>
		<link>http://parpue.net/wordpress/6</link>
		<comments>http://parpue.net/wordpress/6#comments</comments>
		<pubDate>Thu, 12 Jun 2008 02:13:41 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[WEB]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[FancyZoom]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=6</guid>
		<description><![CDATA[				codaというエディタが使いやすいということで、
				販売サイトをみてるときに見つけた、WEBで画像を表示するJSライブラリのFancyZoom。
				lightboxとはまた違った感じでおもしろい、
	 [...]]]></description>
			<content:encoded><![CDATA[				<p>codaというエディタが使いやすいということで、<br />
				販売サイトをみてるときに見つけた、WEBで画像を表示するJSライブラリのFancyZoom。</p>
				<p>lightboxとはまた違った感じでおもしろい、<br />
				WordPressのプラグイン化したものもあったので、このサイトにも入れてみた。</p>
				<p style="text-align: center;"><a href="http://parpue.net/wp-content/fuji.jpg" rel="shadowbox[post-6];player=img;"><img class="alignnone size-medium wp-image-7 aligncenter" title="fuji" src="http://parpue.net/wp-content/fuji-300x225.jpg" alt="ふじ" width="216" height="162" /></a><br />
				画像クリックで拡大・・・するはず。</p>
				<p>参考）<br />
				■ coda (panic japan)<br />
				<a title="coda" href="http://www.panic.com/jp/coda/" target="_blank">http://www.panic.com/jp/coda/</a></p>
				<p>■ FancyZoom (この人もpanicの中の人)<a title="fancyzoom" href="http://www.cabel.name/2008/02/fancyzoom-10.html" target="_blank"><br />
				http://www.cabel.name/2008/02/fancyzoom-10.html</a><a title="fancyzoom" href="http://www.cabel.name/2008/02/fancyzoom-10.html" target="_blank"></a></p>
				<p>■ WP FancyZoom<br />
				<a title="WP FancyZoom" href="http://granades.com/wp-fancyzoom-wordpress-plugin/" target="_blank"> http://granades.com/wp-fancyzoom-wordpress-plugin/</a></p>
				<p>一部 vicuna のテンプレートのCSSとバッティングしてうまく表示されなかったので、<br />
				FancyZoomのスタイルをちょっといじりました。</p>
				<div class="igBar"><span id="ljavascript-10"><a href="#" onclick="javascript:showPlainTxt('javascript-10'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">JAVASCRIPT:</span>
				<div id="javascript-10">
				<div class="javascript">
				<ol style="margin:0px; padding:0px" >
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">inCol1.<span style="color: #006600;">style</span>.<span style="color: #006600;">width</span> = <span style="color: #3366CC;">'27px'</span>;</li>
				<li style="color:#26536A;">inCol1.<span style="color: #006600;">style</span>.<span style="color: #006600;">border</span> = <span style="color: #3366CC;">'none'</span>;&nbsp; <span style="color: #009900; font-style: italic;">// 追加</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">inCol1.<span style="color: #006600;">style</span>.<span style="color: #006600;">backgroundColor</span> = <span style="color: #3366CC;">'transparent'</span>;&nbsp; <span style="color: #009900; font-style: italic;">// 追加 </span></li>
				</ol>
				</div>
				</div>
				</div>
				<p>inCol2 ～ inCol9も同様に修正。IE6だと透過png 表示できなくて残念。</p>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/wordpress/6/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello! WordPress!</title>
		<link>http://parpue.net/wordpress/5</link>
		<comments>http://parpue.net/wordpress/5#comments</comments>
		<pubDate>Wed, 11 Jun 2008 08:43:49 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[WEB]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=5</guid>
		<description><![CDATA[				coreserverにWordPressをインストールしてみた。
				長年NucleusCMSを使い続けていたので、
				勝手が違いましたが、シェア伸ばしてるだけあって多機能！
				というわけでWor [...]]]></description>
			<content:encoded><![CDATA[				<p style="text-align: left;">coreserverにWordPressをインストールしてみた。<br />
				長年NucleusCMSを使い続けていたので、<br />
				勝手が違いましたが、シェア伸ばしてるだけあって多機能！</p>
				<p>というわけでWordPressをインストールして、<br />
				便利そうなプラグインもシコシコと追加したのでまとめておきます。</p>
				<p>■ Flickr Feeder<br />
				<a title="Flickr Feeder" href="http://gluedideas.com/" target="_blank">http://gluedideas.com/</a><br />
				Flickerの画像をサイドバーに表示させる。</p>
				<p>■ iG:Syntax Hiliter<br />
				<a title="iG:Syntax Hiliter" href="http://blog.igeek.info/" target="_blank">http://blog.igeek.info/</a><br />
				ソースコード等を列番号つきで表示する。</p>
				<p>■ MyTwitter<br />
				<a title="myTwitter" href="http://anwanore.com/projects/mytwitter" target="_blank"> http://anwanore.com/projects/mytwitter</a><br />
				Twitterの更新情報をサイドバーに表示する。</p>
				<p>■ SimpleTags<br />
				<a title="SimpleTags" href="http://wordpress.org/extend/plugins/simple-tags/" target="_blank">http://wordpress.org/extend/plugins/simple-tags/</a><br />
				WordPressの記事に関連付けたタグの管理、また同じタグの記事を関連として表示させる。</p>
				<p>■ WP FancyZoom<br />
				<a title="WP FancyZoom" href="http://granades.com/wp-fancyzoom-wordpress-plugin/" target="_blank"> http://granades.com/wp-fancyzoom-wordpress-plugin/<br />
				</a><br />
				画像を拡大表示させるFancyZoomをWordPressで動かす。</p>
				<p>追加したプラグインはこんなところです。<br />
				テンプレートは、<a title="vicuna.jp" href="http://wp.vicuna.jp/" target="_blank">http://wp.vicuna.jp/</a>からいただいて、ちょっと改造しました。</p>
				<p>うーん、他力本願ですぐご立派なBlogサイトができる。</p>
				<p>今度はどれくらい続くかな！</p>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/wordpress/5/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
