<?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>DESIRERY &#187; WordPress</title>
	<atom:link href="http://www.t2-designing.com/blog/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.t2-designing.com/blog</link>
	<description></description>
	<lastBuildDate>Sun, 05 Sep 2010 07:12:45 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/tag/wordpress/feed/" />
		<item>
		<title>SexyBookmarks カスタマイズ</title>
		<link>http://www.t2-designing.com/blog/2010/01/05/344/</link>
		<comments>http://www.t2-designing.com/blog/2010/01/05/344/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 04:52:31 +0000</pubDate>
		<dc:creator>Toyoshima</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.t2-designing.com/blog/2010/01/05/344/</guid>
		<description><![CDATA[WordPressのプラグインSexyBookmarksでhead内にScriptタグなどを出力しない方法。 // plugins/sexybookmarks/includes/public.php // line 498 //add_action('wp_head', 'sexy_public'); headに挿入するフックを外します。その際JSやCSSなどは自分でやってねってことになります。ソースは汚れないし処理もしないしいいんだけどアップデートが苦になるのがダメなところ。管理画面で自分でやるか現状のように自動で挿入するか選べればいいのにね。 Share this on del.icio.us Add this to Google Bookmarks Share this on Facebook Post this to MySpace Tweet This! Share this on FriendFeed Share this on Tumblr Digg this!]]></description>
			<content:encoded><![CDATA[<p>WordPressのプラグインSexyBookmarksでhead内にScriptタグなどを出力しない方法。</p>
<div class="syntax_hilite">
<div id="php-2">
<div class="php" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// plugins/sexybookmarks/includes/public.php</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// line 498</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">//add_action('wp_head', 'sexy_public');</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>headに挿入するフックを外します。その際JSやCSSなどは自分でやってねってことになります。ソースは汚れないし処理もしないしいいんだけどアップデートが苦になるのがダメなところ。管理画面で自分でやるか現状のように自動で挿入するか選べればいいのにね。</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.t2-designing.com/blog/2010/01/05/344/&amp;title=SexyBookmarks+%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%9E%E3%82%A4%E3%82%BA" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.t2-designing.com/blog/2010/01/05/344/&amp;title=SexyBookmarks+%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%9E%E3%82%A4%E3%82%BA" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.t2-designing.com/blog/2010/01/05/344/&amp;t=SexyBookmarks+%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%9E%E3%82%A4%E3%82%BA" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.t2-designing.com/blog/2010/01/05/344/&amp;t=SexyBookmarks+%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%9E%E3%82%A4%E3%82%BA" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=SexyBookmarks+%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%9E%E3%82%A4%E3%82%BA+-+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://www.shareaholic.com/pages/maintenanceapi.php?alias=&amp;url=http://www.t2-designing.com/blog/2010/01/05/344/">here</a>.</p>
</body></html>+(via+@Toyotter)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=SexyBookmarks+%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%9E%E3%82%A4%E3%82%BA&amp;link=http://www.t2-designing.com/blog/2010/01/05/344/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.t2-designing.com%2Fblog%2F2010%2F01%2F05%2F344%2F&amp;t=SexyBookmarks+%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%9E%E3%82%A4%E3%82%BA" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.t2-designing.com/blog/2010/01/05/344/&amp;title=SexyBookmarks+%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%9E%E3%82%A4%E3%82%BA" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.t2-designing.com/blog/2010/01/05/344/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/2010/01/05/344/" />
	</item>
		<item>
		<title>WordPress 2.9にアップデート</title>
		<link>http://www.t2-designing.com/blog/2009/12/21/327/</link>
		<comments>http://www.t2-designing.com/blog/2009/12/21/327/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 17:29:03 +0000</pubDate>
		<dc:creator>Toyoshima</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.t2-designing.com/blog/2009/12/21/327/</guid>
		<description><![CDATA[WordPress 2.9 WordPress 2.9にアップデートしました。少し様子を見てからとか思っていたけどアップデートしてくださいの表示が目障りなのでさくっと自動アップデート。一応サーバ上のファイルやDBのバックアップだけは取りました。プラグインなども含め問題は今のところありません。サーバ環境はphp5.2.xとMySQLの5.0.xを使用しています。 WordPress 2.9でいろいろ機能が追加されましたが今のところDBの自動最適化だけ使ってます。それ以外は特に自分の環境で今必要ないです。ただ画像のトリミングやサイズ変更の機能はCMSとして納品する場合使えるかなと思います。 Share this on del.icio.us Add this to Google Bookmarks Share this on Facebook Post this to MySpace Tweet This! Share this on FriendFeed Share this on Tumblr Digg this!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.t2-designing.com/blog/wp-content/uploads/2009/12/wp2.9.jpg" rel="wp-prettyPhoto[g327]"><img class="alignnone size-medium wp-image-325" title="wp2.9" src="http://www.t2-designing.com/blog/wp-content/uploads/2009/12/wp2.9-520x292.jpg" alt="" width="520" height="292" /></a></p>
<p><a href="http://ja.wordpress.org/2009/12/19/wordpress-2-9/">WordPress 2.9</a></p>
<p>WordPress 2.9にアップデートしました。少し様子を見てからとか思っていたけどアップデートしてくださいの表示が目障りなのでさくっと自動アップデート。一応サーバ上のファイルやDBのバックアップだけは取りました。プラグインなども含め問題は今のところありません。サーバ環境はphp5.2.xとMySQLの5.0.xを使用しています。</p>
<p><a href="http://www.t2-designing.com/blog/wp-content/uploads/2009/12/wp2.9feature.jpg" rel="wp-prettyPhoto[g327]"><img class="alignnone size-medium wp-image-326" title="wp2.9feature" src="http://www.t2-designing.com/blog/wp-content/uploads/2009/12/wp2.9feature-520x292.jpg" alt="" width="520" height="292" /></a></p>
<p>WordPress 2.9でいろいろ機能が追加されましたが今のところDBの自動最適化だけ使ってます。それ以外は特に自分の環境で今必要ないです。ただ画像のトリミングやサイズ変更の機能はCMSとして納品する場合使えるかなと思います。</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.t2-designing.com/blog/2009/12/21/327/&amp;title=WordPress+2.9%E3%81%AB%E3%82%A2%E3%83%83%E3%83%97%E3%83%87%E3%83%BC%E3%83%88" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.t2-designing.com/blog/2009/12/21/327/&amp;title=WordPress+2.9%E3%81%AB%E3%82%A2%E3%83%83%E3%83%97%E3%83%87%E3%83%BC%E3%83%88" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.t2-designing.com/blog/2009/12/21/327/&amp;t=WordPress+2.9%E3%81%AB%E3%82%A2%E3%83%83%E3%83%97%E3%83%87%E3%83%BC%E3%83%88" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.t2-designing.com/blog/2009/12/21/327/&amp;t=WordPress+2.9%E3%81%AB%E3%82%A2%E3%83%83%E3%83%97%E3%83%87%E3%83%BC%E3%83%88" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=WordPress+2.9%E3%81%AB%E3%82%A2%E3%83%83%E3%83%97%E3%83%87%E3%83%BC%E3%83%88+-+http://b2l.me/b5jxq+(via+@Toyotter)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=WordPress+2.9%E3%81%AB%E3%82%A2%E3%83%83%E3%83%97%E3%83%87%E3%83%BC%E3%83%88&amp;link=http://www.t2-designing.com/blog/2009/12/21/327/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.t2-designing.com%2Fblog%2F2009%2F12%2F21%2F327%2F&amp;t=WordPress+2.9%E3%81%AB%E3%82%A2%E3%83%83%E3%83%97%E3%83%87%E3%83%BC%E3%83%88" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.t2-designing.com/blog/2009/12/21/327/&amp;title=WordPress+2.9%E3%81%AB%E3%82%A2%E3%83%83%E3%83%97%E3%83%87%E3%83%BC%E3%83%88" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.t2-designing.com/blog/2009/12/21/327/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/2009/12/21/327/" />
	</item>
		<item>
		<title>WordPress コメントスパム対策</title>
		<link>http://www.t2-designing.com/blog/2009/11/21/281/</link>
		<comments>http://www.t2-designing.com/blog/2009/11/21/281/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 18:57:59 +0000</pubDate>
		<dc:creator>Toyoshima</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.t2-designing.com/blog/2009/11/21/281/</guid>
		<description><![CDATA[毎日同じIPからのスパムが鬱陶しいのでactionをはずしてみた。基本的にAkismetを使用しているのでこのプラグインを有効にしてからは1度もスパムを逃したことはないです。 それでもなぜactionを外したかというとサーバのリソース。何でスパムなんかに共有サーバのリソースを使わなきゃならんのかと。スパムはブロックするべきではあるけれど表側にでないからといってわざわざPHPを動かしてDBにINSERTとか鬱陶しい。 ということで単純にactionを外してテスト。クライアントサイドでどれくらい対応できるかちょこちょこ変更しながら様子見。 追記。様子見した結果スパムが今のところ止まってます。javascriptは一切見ていない？スパムbotは単純にHTMLの構造しか見て回らないっぽいです。 やり方は単純にformのactionを取り除く。このBlogではコメントはAjax化しているのでpostの処理はJSで。 function commentsPost&#40;&#41; &#123; $&#40;&#34;input[type='image']&#34;&#41;.click&#40; function&#40;&#41; &#123; var form = $&#40;this&#41;.parent&#40;&#41;.parent&#40;&#41;.get&#40;0&#41;; var formData = $&#40;form&#41;.serialize&#40;&#41;; var url = &#34;wp-comments-post.php&#34;; $.ajax&#40; &#123; type: 'post', cache: false, url: url, data: formData, success: function&#40;d&#41;&#123;&#125;, error: function&#40;d&#41;&#123;&#125; &#125; &#41; return false; &#125; &#41;; &#125; 送信をクリックされたらserialize()でまとめ、wp-comments-post.phpにPOSTで投げるってだけです。あとは成功や失敗したときの処理を書くだけ。 Share this on del.icio.us Add this to Google Bookmarks Share [...]]]></description>
			<content:encoded><![CDATA[<p>毎日同じIPからのスパムが鬱陶しいのでactionをはずしてみた。基本的にAkismetを使用しているのでこのプラグインを有効にしてからは1度もスパムを逃したことはないです。</p>
<p>それでもなぜactionを外したかというとサーバのリソース。何でスパムなんかに共有サーバのリソースを使わなきゃならんのかと。スパムはブロックするべきではあるけれど表側にでないからといってわざわざPHPを動かしてDBにINSERTとか鬱陶しい。</p>
<p>ということで単純にactionを外してテスト。クライアントサイドでどれくらい対応できるかちょこちょこ変更しながら様子見。</p>
<p>追記。様子見した結果スパムが今のところ止まってます。javascriptは一切見ていない？スパムbotは単純にHTMLの構造しか見て回らないっぽいです。</p>
<p>やり方は単純にformのactionを取り除く。このBlogではコメントはAjax化しているのでpostの処理はJSで。</p>
<div class="syntax_hilite">
<div id="javascript-4">
<div class="javascript" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #003366; font-weight: bold;">function</span> commentsPost<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;input[type='image']&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #003366; font-weight: bold;">var</span> form <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">get</span><span style="color: #009900;">&#40;</span>0<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #003366; font-weight: bold;">var</span> formData <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span>form<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">serialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #003366; font-weight: bold;">var</span> url <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;wp-comments-post.php&quot;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">$.<span style="color: #660066;">ajax</span><span style="color: #009900;">&#40;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">type<span style="color: #339933;">:</span> <span style="color: #3366CC;">'post'</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">cache<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">url<span style="color: #339933;">:</span> url<span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">data<span style="color: #339933;">:</span> formData<span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">success<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>d<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">error<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>d<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>送信をクリックされたらserialize()でまとめ、wp-comments-post.phpにPOSTで投げるってだけです。あとは成功や失敗したときの処理を書くだけ。</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.t2-designing.com/blog/2009/11/21/281/&amp;title=WordPress+%E3%82%B3%E3%83%A1%E3%83%B3%E3%83%88%E3%82%B9%E3%83%91%E3%83%A0%E5%AF%BE%E7%AD%96" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.t2-designing.com/blog/2009/11/21/281/&amp;title=WordPress+%E3%82%B3%E3%83%A1%E3%83%B3%E3%83%88%E3%82%B9%E3%83%91%E3%83%A0%E5%AF%BE%E7%AD%96" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.t2-designing.com/blog/2009/11/21/281/&amp;t=WordPress+%E3%82%B3%E3%83%A1%E3%83%B3%E3%83%88%E3%82%B9%E3%83%91%E3%83%A0%E5%AF%BE%E7%AD%96" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.t2-designing.com/blog/2009/11/21/281/&amp;t=WordPress+%E3%82%B3%E3%83%A1%E3%83%B3%E3%83%88%E3%82%B9%E3%83%91%E3%83%A0%E5%AF%BE%E7%AD%96" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=WordPress+%E3%82%B3%E3%83%A1%E3%83%B3%E3%83%88%E3%82%B9%E3%83%91%E3%83%A0%E5%AF%BE%E7%AD%96+-+http://b2l.me/b5myw+(via+@Toyotter)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=WordPress+%E3%82%B3%E3%83%A1%E3%83%B3%E3%83%88%E3%82%B9%E3%83%91%E3%83%A0%E5%AF%BE%E7%AD%96&amp;link=http://www.t2-designing.com/blog/2009/11/21/281/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.t2-designing.com%2Fblog%2F2009%2F11%2F21%2F281%2F&amp;t=WordPress+%E3%82%B3%E3%83%A1%E3%83%B3%E3%83%88%E3%82%B9%E3%83%91%E3%83%A0%E5%AF%BE%E7%AD%96" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.t2-designing.com/blog/2009/11/21/281/&amp;title=WordPress+%E3%82%B3%E3%83%A1%E3%83%B3%E3%83%88%E3%82%B9%E3%83%91%E3%83%A0%E5%AF%BE%E7%AD%96" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.t2-designing.com/blog/2009/11/21/281/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/2009/11/21/281/" />
	</item>
		<item>
		<title>モバイル対応</title>
		<link>http://www.t2-designing.com/blog/2009/11/19/277/</link>
		<comments>http://www.t2-designing.com/blog/2009/11/19/277/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 19:28:18 +0000</pubDate>
		<dc:creator>Toyoshima</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.t2-designing.com/blog/?p=277</guid>
		<description><![CDATA[モバイル端末に対応。WordPressなのでプラグインを入れるだけ。普通の携帯についてはKtai Styleを使用。 iPhone用プラグインは豊富。普通にWP Touchを入れてみました。その他はWordPressのiPhone用プラグインをまとめてるサイトがあるのでそちら参照。 12+ WordPress Plugins For iPhone ということでモバイル対応でした。WordPressは動的だから導入も管理もすごい楽。プラグイン作るほうは大変だろうけど。 Share this on del.icio.us Add this to Google Bookmarks Share this on Facebook Post this to MySpace Tweet This! Share this on FriendFeed Share this on Tumblr Digg this!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.t2-designing.com/blog/wp-content/uploads/2009/11/safarinetfront.jpg" rel="wp-prettyPhoto[g277]"><img class="alignnone size-medium wp-image-278" title="safarinetfront" src="http://www.t2-designing.com/blog/wp-content/uploads/2009/11/safarinetfront-520x292.jpg" alt="safarinetfront" width="520" height="292" /></a></p>
<p>モバイル端末に対応。WordPressなのでプラグインを入れるだけ。普通の携帯についてはKtai Styleを使用。</p>
<p>iPhone用プラグインは豊富。普通にWP Touchを入れてみました。その他はWordPressのiPhone用プラグインをまとめてるサイトがあるのでそちら参照。</p>
<p><a href="http://rainiazahmad.com/iphone/12-wordpress-plugins-for-iphone/">12+ WordPress Plugins For iPhone</a></p>
<p>ということでモバイル対応でした。WordPressは動的だから導入も管理もすごい楽。プラグイン作るほうは大変だろうけど。</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.t2-designing.com/blog/2009/11/19/277/&amp;title=%E3%83%A2%E3%83%90%E3%82%A4%E3%83%AB%E5%AF%BE%E5%BF%9C" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.t2-designing.com/blog/2009/11/19/277/&amp;title=%E3%83%A2%E3%83%90%E3%82%A4%E3%83%AB%E5%AF%BE%E5%BF%9C" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.t2-designing.com/blog/2009/11/19/277/&amp;t=%E3%83%A2%E3%83%90%E3%82%A4%E3%83%AB%E5%AF%BE%E5%BF%9C" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.t2-designing.com/blog/2009/11/19/277/&amp;t=%E3%83%A2%E3%83%90%E3%82%A4%E3%83%AB%E5%AF%BE%E5%BF%9C" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=%E3%83%A2%E3%83%90%E3%82%A4%E3%83%AB%E5%AF%BE%E5%BF%9C+-+http://b2l.me/b5tw4+(via+@Toyotter)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=%E3%83%A2%E3%83%90%E3%82%A4%E3%83%AB%E5%AF%BE%E5%BF%9C&amp;link=http://www.t2-designing.com/blog/2009/11/19/277/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.t2-designing.com%2Fblog%2F2009%2F11%2F19%2F277%2F&amp;t=%E3%83%A2%E3%83%90%E3%82%A4%E3%83%AB%E5%AF%BE%E5%BF%9C" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.t2-designing.com/blog/2009/11/19/277/&amp;title=%E3%83%A2%E3%83%90%E3%82%A4%E3%83%AB%E5%AF%BE%E5%BF%9C" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.t2-designing.com/blog/2009/11/19/277/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/2009/11/19/277/" />
	</item>
		<item>
		<title>WP Queryの中身</title>
		<link>http://www.t2-designing.com/blog/2009/10/14/246/</link>
		<comments>http://www.t2-designing.com/blog/2009/10/14/246/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 06:43:58 +0000</pubDate>
		<dc:creator>Toyoshima</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.t2-designing.com/blog/2009/10/14/246/</guid>
		<description><![CDATA[プラグインが微妙だったので自作中。というか細かいところまできっちり英語で解読とか面倒だったんで自作。JSON用のプラグインでいいのがあれば教えてください。やりたいことはWordPressがHTMLで出力している部分をすべてJSONで出力。 まずある特定の条件の場合自作テンプレを読み込むという流れ。読み込んだ後はテンプレタグの変りにWP Queryで何とかなるかなみたいな。カスタムテンプレートの読み込みはデフォルトのテンプレ読み込みの前に処理。元のソースを変更せずにプラグインとすることでWordPressのアップデートにも対処しやすいのかなと。プログラマじゃないので細かいことは知らないけど。 class customTemplate &#123; function constructor&#40;&#41; &#123; exit; &#125; &#125; &#160; $customTemplate = new customTemplate&#40;&#41;; add_action&#40;'template_redirect', array&#40;&#38;amp;$customTemplate, 'constructor'&#41;&#41;; ということでWordPressのWP Queryオブジェクトの中身。以下はパーマリンクの場合。複数だったらpostsのほうに配列で返ってくる。 object&#40;WP_Query&#41;#166 (41) { &#91;&#34;query_vars&#34;&#93;=&#38;gt; array&#40;49&#41; &#123; &#91;&#34;p&#34;&#93;=&#38;gt; int&#40;1&#41; &#91;&#34;year&#34;&#93;=&#38;gt; int&#40;2009&#41; &#91;&#34;monthnum&#34;&#93;=&#38;gt; int&#40;3&#41; &#91;&#34;day&#34;&#93;=&#38;gt; int&#40;22&#41; &#91;&#34;error&#34;&#93;=&#38;gt; string&#40;0&#41; &#34;&#34; &#91;&#34;m&#34;&#93;=&#38;gt; int&#40;0&#41; &#91;&#34;post_parent&#34;&#93;=&#38;gt; string&#40;0&#41; &#34;&#34; &#91;&#34;subpost&#34;&#93;=&#38;gt; string&#40;0&#41; &#34;&#34; &#91;&#34;subpost_id&#34;&#93;=&#38;gt; string&#40;0&#41; &#34;&#34; &#91;&#34;attachment&#34;&#93;=&#38;gt; string&#40;0&#41; &#34;&#34; &#91;&#34;attachment_id&#34;&#93;=&#38;gt; int&#40;0&#41; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.t2-designing.com/blog/wp-content/uploads/2009/10/wpplugins.png" rel="wp-prettyPhoto[g246]"><img class="alignnone size-medium wp-image-245" title="wpplugins" src="http://www.t2-designing.com/blog/wp-content/uploads/2009/10/wpplugins-520x292.png" alt="wpplugins" width="520" height="292" /></a></p>
<p>プラグインが微妙だったので自作中。というか細かいところまできっちり英語で解読とか面倒だったんで自作。JSON用のプラグインでいいのがあれば教えてください。やりたいことはWordPressがHTMLで出力している部分をすべてJSONで出力。</p>
<p>まずある特定の条件の場合自作テンプレを読み込むという流れ。読み込んだ後はテンプレタグの変りにWP Queryで何とかなるかなみたいな。カスタムテンプレートの読み込みはデフォルトのテンプレ読み込みの前に処理。元のソースを変更せずにプラグインとすることでWordPressのアップデートにも対処しやすいのかなと。プログラマじゃないので細かいことは知らないけど。</p>
<div class="syntax_hilite">
<div id="php-7">
<div class="php" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">class</span> customTemplate <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">function</span> constructor<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/exit"><span style="color: #990000;">exit</span></a><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$customTemplate</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> customTemplate<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'template_redirect'</span><span style="color: #339933;">,</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span><span style="color: #000088;">$customTemplate</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'constructor'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>ということでWordPressのWP Queryオブジェクトの中身。以下はパーマリンクの場合。複数だったらpostsのほうに配列で返ってくる。</p>
<div class="syntax_hilite">
<div id="php-8">
<div class="php" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">object<span style="color: #009900;">&#40;</span>WP_Query<span style="color: #009900;">&#41;</span><span style="color: #666666; font-style: italic;">#166 (41) {</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;query_vars&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">49</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;p&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;year&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">2009</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;monthnum&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">3</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;day&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">22</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;error&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;m&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_parent&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;subpost&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;subpost_id&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;attachment&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;attachment_id&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;name&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;hour&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;static&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;pagename&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;page_id&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;second&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;minute&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;w&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;category_name&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;tag&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;cat&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;tag_id&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;author_name&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;feed&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;tb&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;paged&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;comments_popup&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;meta_key&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;meta_value&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;preview&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;category__in&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;category__not_in&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;category__and&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post__in&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post__not_in&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;tag__in&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;tag__not_in&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;tag__and&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;tag_slug__in&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;tag_slug__and&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;caller_get_posts&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;suppress_filters&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_type&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;post&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;posts_per_page&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">3</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;nopaging&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;comments_per_page&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">2</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;50&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;order&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;DESC&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;orderby&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">26</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;wp271_posts.post_date DESC&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;request&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">267</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot; SELECT   wp271_posts.* FROM wp271_posts  WHERE 1=1  AND YEAR(wp271_posts.post_date)='2009' AND MONTH(wp271_posts.post_date)='3' AND DAYOFMONTH(wp271_posts.post_date)='22' AND wp271_posts.ID = 1 AND wp271_posts.post_type = 'post'  ORDER BY wp271_posts.post_date DESC &quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_count&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;current_post&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #339933;">-</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;in_the_loop&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">object<span style="color: #009900;">&#40;</span>stdClass<span style="color: #009900;">&#41;</span><span style="color: #666666; font-style: italic;">#114 (26) {</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;ID&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_author&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;2&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_date&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">19</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;2009-03-22 08:11:36&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_date_gmt&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">19</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;2009-03-21 23:11:36&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_content&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">2017</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;p=1の本文&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_title&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">7</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;タイトル&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_category&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;0&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_excerpt&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_status&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">7</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;publish&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;comment_status&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;open&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;ping_status&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;open&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_password&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_name&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">11</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;hello-world&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;to_ping&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;pinged&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_modified&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">19</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;2009-03-22 23:48:05&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_modified_gmt&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">19</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;2009-03-22 14:48:05&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_content_filtered&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_parent&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;guid&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">37</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;http://www.t2-designing.com/blog/?p=1&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;menu_order&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_type&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;post&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_mime_type&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;comment_count&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;7&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;ancestors&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;filter&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">3</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;raw&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;comments&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900; font-weight: bold;">NULL</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;comment_count&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;current_comment&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #339933;">-</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;comment&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900; font-weight: bold;">NULL</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;found_posts&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;max_num_pages&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;max_num_comment_pages&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_single&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_preview&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_page&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_archive&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_date&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_year&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_month&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_day&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_time&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_author&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_category&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_tag&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_tax&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_search&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_feed&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_comment_feed&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_trackback&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_home&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_404&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_comments_popup&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_admin&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_attachment&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_singular&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_robots&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_posts_page&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;is_paged&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">bool<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;query&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;p&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;1&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;year&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;2009&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;monthnum&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">2</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;03&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;day&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">2</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;22&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;posts&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span>array<span style="color: #009900;">&#40;</span>1<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span>0<span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">object<span style="color: #009900;">&#40;</span>stdClass<span style="color: #009900;">&#41;</span><span style="color: #666666; font-style: italic;">#114 (26) {</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;ID&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_author&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;2&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_date&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">19</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;2009-03-22 08:11:36&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_date_gmt&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">19</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;2009-03-21 23:11:36&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_content&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">2017</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;p=1の本文&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_title&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">7</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;タイトル&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_category&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;0&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_excerpt&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_status&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">7</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;publish&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;comment_status&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;open&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;ping_status&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;open&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_password&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_name&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">11</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;hello-world&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;to_ping&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;pinged&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_modified&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">19</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;2009-03-22 23:48:05&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_modified_gmt&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">19</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;2009-03-22 14:48:05&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_content_filtered&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_parent&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;guid&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">37</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;http://www.t2-designing.com/blog/?p=1&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;menu_order&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">int<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_type&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;post&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_mime_type&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;comment_count&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;7&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;ancestors&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;filter&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">string<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;color:#800000;">3</span><span style="color: #009900;">&#41;</span> <span style="color: #0000ff;">&quot;raw&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.t2-designing.com/blog/2009/10/14/246/&amp;title=WP+Query%E3%81%AE%E4%B8%AD%E8%BA%AB" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.t2-designing.com/blog/2009/10/14/246/&amp;title=WP+Query%E3%81%AE%E4%B8%AD%E8%BA%AB" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.t2-designing.com/blog/2009/10/14/246/&amp;t=WP+Query%E3%81%AE%E4%B8%AD%E8%BA%AB" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.t2-designing.com/blog/2009/10/14/246/&amp;t=WP+Query%E3%81%AE%E4%B8%AD%E8%BA%AB" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=WP+Query%E3%81%AE%E4%B8%AD%E8%BA%AB+-+http://b2l.me/b53s7+(via+@Toyotter)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=WP+Query%E3%81%AE%E4%B8%AD%E8%BA%AB&amp;link=http://www.t2-designing.com/blog/2009/10/14/246/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.t2-designing.com%2Fblog%2F2009%2F10%2F14%2F246%2F&amp;t=WP+Query%E3%81%AE%E4%B8%AD%E8%BA%AB" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.t2-designing.com/blog/2009/10/14/246/&amp;title=WP+Query%E3%81%AE%E4%B8%AD%E8%BA%AB" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.t2-designing.com/blog/2009/10/14/246/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/2009/10/14/246/" />
	</item>
		<item>
		<title>WP-Optimizeでテーブルの最適化</title>
		<link>http://www.t2-designing.com/blog/2009/10/03/223/</link>
		<comments>http://www.t2-designing.com/blog/2009/10/03/223/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 20:01:56 +0000</pubDate>
		<dc:creator>Toyoshima</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.t2-designing.com/blog/2009/10/03/223/</guid>
		<description><![CDATA[WP-Optimize WP-OptimizeはMySQLのテーブルを最適化するプラグイン。なぜかWordPressもMTもデフォルトでついてないですこの機能。最適化程度であればデフォルトでちょろっとつけてくれてもいいような。 ちょっと補足するとMySQLはDB。わかりやすい例えがエクセル。DBのTableはエクセルのシート。そのTableからデータを変更したり削除したりしているうちにオーバーヘッドが増えていき遅くなったり。ということで時々Optimizeしたいなーとかなる。 hetemlではDB操作はphpMyAdmin使っていますが、用がない限りあんまり使いたくない。CMSがあるのにいちいちphpMyAdminでやるのも手間。作業自体はSQL打つこともなくクリックだけだけど。っていうことで難しいものじゃないし誰か作っているだろーと思ったら即WP-Optimizeが出てきました。 使い方はこのサイトの場合Optimize Database Tablesのチェックだけでよさそう。チェックボックスの部分では上から投稿履歴、コメントスパム、未承認コメント、テーブルの最適化。 普通に使って入れ最適化はかなり放置でも問題ないです。そこまでパフォーマンスは落ちないはず。たまーにで十分。Windowsのデフラグとか思っちゃえば管理しやすいかなと。 Share this on del.icio.us Add this to Google Bookmarks Share this on Facebook Post this to MySpace Tweet This! Share this on FriendFeed Share this on Tumblr Digg this!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.t2-designing.com/blog/wp-content/uploads/2009/10/WP-Optimize01.jpg" rel="wp-prettyPhoto[g223]"><img class="alignnone size-medium wp-image-220" title="WP-Optimize01" src="http://www.t2-designing.com/blog/wp-content/uploads/2009/10/WP-Optimize01-520x292.jpg" alt="WP-Optimize01" width="520" height="292" /></a></p>
<p><a href="http://wordpress.org/extend/plugins/wp-optimize/">WP-Optimize</a></p>
<p>WP-OptimizeはMySQLのテーブルを最適化するプラグイン。なぜかWordPressもMTもデフォルトでついてないですこの機能。最適化程度であればデフォルトでちょろっとつけてくれてもいいような。</p>
<p>ちょっと補足するとMySQLはDB。わかりやすい例えがエクセル。DBのTableはエクセルのシート。そのTableからデータを変更したり削除したりしているうちにオーバーヘッドが増えていき遅くなったり。ということで時々Optimizeしたいなーとかなる。</p>
<p>hetemlではDB操作はphpMyAdmin使っていますが、用がない限りあんまり使いたくない。CMSがあるのにいちいちphpMyAdminでやるのも手間。作業自体はSQL打つこともなくクリックだけだけど。っていうことで難しいものじゃないし誰か作っているだろーと思ったら即WP-Optimizeが出てきました。</p>
<p><a href="http://www.t2-designing.com/blog/wp-content/uploads/2009/10/WP-Optimize02.jpg" rel="wp-prettyPhoto[g223]"><img class="alignnone size-medium wp-image-222" title="WP-Optimize02" src="http://www.t2-designing.com/blog/wp-content/uploads/2009/10/WP-Optimize02-520x292.jpg" alt="WP-Optimize02" width="520" height="292" /></a></p>
<p>使い方はこのサイトの場合Optimize Database Tablesのチェックだけでよさそう。チェックボックスの部分では上から投稿履歴、コメントスパム、未承認コメント、テーブルの最適化。</p>
<p>普通に使って入れ最適化はかなり放置でも問題ないです。そこまでパフォーマンスは落ちないはず。たまーにで十分。Windowsのデフラグとか思っちゃえば管理しやすいかなと。</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.t2-designing.com/blog/2009/10/03/223/&amp;title=WP-Optimize%E3%81%A7%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E3%81%AE%E6%9C%80%E9%81%A9%E5%8C%96" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.t2-designing.com/blog/2009/10/03/223/&amp;title=WP-Optimize%E3%81%A7%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E3%81%AE%E6%9C%80%E9%81%A9%E5%8C%96" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.t2-designing.com/blog/2009/10/03/223/&amp;t=WP-Optimize%E3%81%A7%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E3%81%AE%E6%9C%80%E9%81%A9%E5%8C%96" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.t2-designing.com/blog/2009/10/03/223/&amp;t=WP-Optimize%E3%81%A7%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E3%81%AE%E6%9C%80%E9%81%A9%E5%8C%96" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=WP-Optimize%E3%81%A7%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E3%81%AE%E6%9C%80%E9%81%A9%E5%8C%96+-+http://b2l.me/b5ydc+(via+@Toyotter)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=WP-Optimize%E3%81%A7%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E3%81%AE%E6%9C%80%E9%81%A9%E5%8C%96&amp;link=http://www.t2-designing.com/blog/2009/10/03/223/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.t2-designing.com%2Fblog%2F2009%2F10%2F03%2F223%2F&amp;t=WP-Optimize%E3%81%A7%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E3%81%AE%E6%9C%80%E9%81%A9%E5%8C%96" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.t2-designing.com/blog/2009/10/03/223/&amp;title=WP-Optimize%E3%81%A7%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E3%81%AE%E6%9C%80%E9%81%A9%E5%8C%96" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.t2-designing.com/blog/2009/10/03/223/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/2009/10/03/223/" />
	</item>
		<item>
		<title>WordPressカスタマイズ</title>
		<link>http://www.t2-designing.com/blog/2009/10/01/211/</link>
		<comments>http://www.t2-designing.com/blog/2009/10/01/211/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 22:00:19 +0000</pubDate>
		<dc:creator>Toyoshima</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.t2-designing.com/blog/2009/09/30/211/</guid>
		<description><![CDATA[DESIRERYのWordPressカスタマイズのまとめ。テーマは自作のためテンプレなどが根本的に違ったりなどかなり独自要素が強い可能性があります。主に変更点のメモ。 パーマリンクの設定 /%year%/%monthnum%/%day%/%post_id%/ dete優先な形にしています。最後のpost_idは悩み中。言語がマルチバイトなのでどーしようかなーと。IDでも間違いじゃないと脳内変換。忘れたり間違えたりなどがない状態、統一性を考えた結果これかなと。 改ページの変更 記事ページの場合引数にID付のliタグを追加指定できるがそれ以外ではできない。ということで!is_single()の場合改ページで該当関数のreturnの中にあるaタグ前後にID付のリストタグを追加。 // wp-includes/link-template.php function get_next_posts_link&#40; $label = 'Next Page &#38;amp;raquo;', $max_page = 0 &#41; &#123; global $paged, $wp_query; &#160; if &#40; !$max_page &#41; &#123; $max_page = $wp_query-&#38;gt;max_num_pages; &#125; &#160; if &#40; !$paged &#41; $paged = 1; &#160; $nextpage = intval&#40;$paged&#41; + 1; &#160; if &#40; !is_single&#40;&#41; &#38;amp;&#38;amp; &#40; empty&#40;$paged&#41; &#124;&#124; [...]]]></description>
			<content:encoded><![CDATA[<p>DESIRERYのWordPressカスタマイズのまとめ。テーマは自作のためテンプレなどが根本的に違ったりなどかなり独自要素が強い可能性があります。主に変更点のメモ。</p>
<p><strong>パーマリンクの設定<br />
</strong>/%year%/%monthnum%/%day%/%post_id%/<br />
dete優先な形にしています。最後のpost_idは悩み中。言語がマルチバイトなのでどーしようかなーと。IDでも間違いじゃないと脳内変換。忘れたり間違えたりなどがない状態、統一性を考えた結果これかなと。</p>
<p><strong>改ページの変更<br />
</strong>記事ページの場合引数にID付のliタグを追加指定できるがそれ以外ではできない。ということで!is_single()の場合改ページで該当関数のreturnの中にあるaタグ前後にID付のリストタグを追加。</p>
<div class="syntax_hilite">
<div id="php-15">
<div class="php" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// wp-includes/link-template.php</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">function</span> get_next_posts_link<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$label</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Next Page &amp;amp;raquo;'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$max_page</span> <span style="color: #339933;">=</span> 0 <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$paged</span><span style="color: #339933;">,</span> <span style="color: #000088;">$wp_query</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span><span style="color: #000088;">$max_page</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$max_page</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$wp_query</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>max_num_pages<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span><span style="color: #000088;">$paged</span> <span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$paged</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;color:#800000;">1</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$nextpage</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/intval"><span style="color: #990000;">intval</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$paged</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #cc66cc;color:#800000;">1</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span>is_single<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #009900;">&#40;</span> <a href="http://www.php.net/empty"><span style="color: #990000;">empty</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$paged</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> <span style="color: #000088;">$nextpage</span> <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;=</span> <span style="color: #000088;">$max_page</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$attr</span> <span style="color: #339933;">=</span> apply_filters<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'next_posts_link_attributes'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">return</span> <span style="color: #0000ff;">'&amp;lt;li id=&quot;next&quot;&amp;gt;&amp;lt;a href=&quot;'</span> <span style="color: #339933;">.</span> next_posts<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$max_page</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> <span style="color: #006699; font-weight: bold;">$attr</span>&amp;gt;&quot;</span><span style="color: #339933;">.</span> <a href="http://www.php.net/preg_replace"><span style="color: #990000;">preg_replace</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/&amp;amp;([^#])(?![a-z]{1,8};)/'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'&amp;amp;#038;$1'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$label</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span><span style="color: #0000ff;">'&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;'</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">function</span> get_previous_posts_link<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$label</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'&amp;amp;laquo; Previous Page'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$paged</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span>is_single<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000088;">$paged</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> 1 <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$attr</span> <span style="color: #339933;">=</span> apply_filters<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'previous_posts_link_attributes'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">return</span> <span style="color: #0000ff;">'&amp;lt;li id=&quot;prev&quot;&amp;gt;&amp;lt;a href=&quot;'</span> <span style="color: #339933;">.</span> previous_posts<span style="color: #009900;">&#40;</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> <span style="color: #006699; font-weight: bold;">$attr</span>&amp;gt;&quot;</span><span style="color: #339933;">.</span> <a href="http://www.php.net/preg_replace"><span style="color: #990000;">preg_replace</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'/&amp;amp;([^#])(?![a-z]{1,8};)/'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'&amp;amp;#038;$1'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$label</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span><span style="color: #0000ff;">'&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;'</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p><strong>アーカイブリストの変更</strong><br />
アーカイブリストの「月」を削除し「YYYY-MM」にする、件数表示がaタグの外に出されるためこれをaタグ内に収めるの二つ。</p>
<p>まずsprintf内で__()を使っているので普通に月の情報だけ取り出すように変更し、1バイトであれば先頭に「0」を付け足す。次に件数表示では$afterに件数を入れているので$textの後ろに付け足してあげることでaタグ内に件数が収まる。</p>
<div class="syntax_hilite">
<div id="php-16">
<div class="php" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// wp-includes/general-template.php</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">function</span> wp_get_archives<span style="color: #009900;">&#40;</span><span style="color: #000088;">$args</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">~~~~~</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'monthly'</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$type</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;SELECT YEAR(post_date) AS `year`, MONTH(post_date) AS `month`, count(ID) as posts FROM <span style="color: #006699; font-weight: bold;">$wpdb</span>-&amp;gt;posts <span style="color: #006699; font-weight: bold;">$join</span> <span style="color: #006699; font-weight: bold;">$where</span> GROUP BY YEAR(post_date), MONTH(post_date) ORDER BY post_date DESC <span style="color: #006699; font-weight: bold;">$limit</span>&quot;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$key</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/md5"><span style="color: #990000;">md5</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$cache</span> <span style="color: #339933;">=</span> wp_cache_get<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'wp_get_archives'</span> <span style="color: #339933;">,</span> <span style="color: #0000ff;">'general'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span><a href="http://www.php.net/isset"><span style="color: #990000;">isset</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$cache</span><span style="color: #009900;">&#91;</span> <span style="color: #000088;">$key</span> <span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$arcresults</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>get_results<span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$cache</span><span style="color: #009900;">&#91;</span> <span style="color: #000088;">$key</span> <span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$arcresults</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">wp_cache_add<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'wp_get_archives'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$cache</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'general'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$arcresults</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$cache</span><span style="color: #009900;">&#91;</span> <span style="color: #000088;">$key</span> <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$arcresults</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$afterafter</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$after</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#40;</span><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$arcresults</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$arcresult</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$url</span> <span style="color: #339933;">=</span> get_month_link<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$arcresult</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>year<span style="color: #339933;">,</span> <span style="color: #000088;">$arcresult</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>month <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">//$text = sprintf(__('%1$s %2$d'), $wp_locale-&amp;gt;get_month($arcresult-&amp;gt;month), $arcresult-&amp;gt;year);</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$month</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$arcresult</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>month<span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><a href="http://www.php.net/strlen"><span style="color: #990000;">strlen</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$month</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> 1<span style="color: #009900;">&#41;</span> <span style="color: #000088;">$month</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;0&quot;</span><span style="color: #339933;">.</span> <span style="color: #000088;">$month</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$text</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$arcresult</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>year<span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;-&quot;</span><span style="color: #339933;">.</span> <span style="color: #000088;">$month</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$show_post_count</span> <span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">//$after = '&amp;amp;nbsp;('.$arcresult-&amp;gt;posts.')' . $afterafter;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$text</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&amp;amp;nbsp;('</span><span style="color: #339933;">.</span><span style="color: #000088;">$arcresult</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>posts<span style="color: #339933;">.</span><span style="color: #0000ff;">')'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$afterafter</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$output</span> <span style="color: #339933;">.=</span> get_archives_link<span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #339933;">,</span> <span style="color: #000088;">$text</span><span style="color: #339933;">,</span> <span style="color: #000088;">$format</span><span style="color: #339933;">,</span> <span style="color: #000088;">$before</span><span style="color: #339933;">,</span> <span style="color: #000088;">$after</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'yearly'</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$type</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">~~~~~</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p><strong>アーカイブタイトルの変更</strong><br />
こちらも「月」の削除。$wp_localeからプロパティを見ているので余計な部分はコメントアウト。月が1バイトだったときは0を先頭に付け足し。</p>
<div class="syntax_hilite">
<div id="php-17">
<div class="php" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// wp-includes/general-template.php</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">function</span> wp_title<span style="color: #009900;">&#40;</span><span style="color: #000088;">$sep</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'&amp;amp;raquo;'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$display</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">,</span> <span style="color: #000088;">$seplocation</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">~~~~~</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span><a href="http://www.php.net/empty"><span style="color: #990000;">empty</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$year</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$title</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$year</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span><a href="http://www.php.net/empty"><span style="color: #990000;">empty</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$monthnum</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">//$title .= &quot;$t_sep&quot; . $wp_locale-&amp;gt;get_month($monthnum);</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><a href="http://www.php.net/strlen"><span style="color: #990000;">strlen</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$monthnum</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> 1<span style="color: #009900;">&#41;</span> <span style="color: #000088;">$monthnum</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;0&quot;</span><span style="color: #339933;">.</span> <span style="color: #000088;">$monthnum</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$title</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$t_sep</span>&quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$monthnum</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span><a href="http://www.php.net/empty"><span style="color: #990000;">empty</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$day</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$title</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$t_sep</span>&quot;</span> <span style="color: #339933;">.</span> zeroise<span style="color: #009900;">&#40;</span><span style="color: #000088;">$day</span><span style="color: #339933;">,</span> 2<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">~~~~~</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>補足としてアーカイブのフォーマット変更方法は別にもあります。これを書いてるときに知った。ggrks。</p>
<ul>
<li><a href="http://www.koikikukan.com/archives/2007/03/14-003001.php">WordPress の月および曜日を英語表記にする</a></li>
<li><a href="http://ilovechibi.net/200812/7.html">サイドバー・アーカイブの日付フォーマット変更</a></li>
</ul>
<p><strong>プラグインprettyPhotoをカスタマイズ</strong><br />
書き出されるヘッダ汚いという理由だけですが自分でアップロードしたJSファイルを読み込むように変更。aタグにrelを勝手に入れてくれるようにするためだけに使用。if(!is_admin)内、つまりログインしていない場合の処理をコメントアウト。それにwp_headにフックしているadd_actionもコメントアウト。</p>
<div class="syntax_hilite">
<div id="php-18">
<div class="php" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// plugins/wp-prettyphoto/wp-prettyphoto.php</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> __construct<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>_buildOptions<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$wpurl</span> <span style="color: #339933;">=</span> WP_PLUGIN_URL<span style="color: #339933;">.</span><span style="color: #0000ff;">'/'</span><span style="color: #339933;">.</span><a href="http://www.php.net/str_replace"><span style="color: #990000;">str_replace</span></a><span style="color: #009900;">&#40;</span><a href="http://www.php.net/basename"><span style="color: #990000;">basename</span></a><span style="color: #009900;">&#40;</span> <span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> plugin_basename<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>is_admin<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">/*if ($this-&amp;gt;wppp_jsreplace == '1') {</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// jQuery - removing to make sure we're using 1.3.2</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">wp_deregister_script('jquery');</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">wp_register_script('jquery', $wpurl.'js/jquery-1.3.2.min.js', false, '1.3.2');</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">wp_enqueue_script('jquery');</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">}</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// prettyPhoto JavaScript</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">wp_register_script('prettyphoto', $wpurl.'js/jquery.prettyPhoto.js', array('jquery'), '2.5.2');</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">wp_enqueue_script('prettyphoto');</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// prettyPhoto CSS</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">wp_register_style('prettyphoto', $wpurl.'css/prettyPhoto.css', false, '2.5.2', 'screen');</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">wp_enqueue_style('prettyphoto');*/</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>loadLocale<span style="color: #009900;">&#40;</span>get_locale<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'admin_init'</span><span style="color: #339933;">,</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span><span style="color: #000088;">$this</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wppp_section_register'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'plugin_action_links_'</span><span style="color: #339933;">.</span>plugin_basename<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span><span style="color: #000088;">$this</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wppp_plugin_links'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>wppp_usecode  <span style="color: #339933;">==</span> <span style="color: #0000ff;">'1'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">add_shortcode<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'ppo'</span><span style="color: #339933;">,</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span><span style="color: #000088;">$this</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wppp_shortcode'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">add_shortcode<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'ppg'</span><span style="color: #339933;">,</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span><span style="color: #000088;">$this</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wppp_shortcode'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">//add_action('wp_head', array(&amp;amp;$this, 'wppp_styles'));</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>_doOutput<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'the_content'</span><span style="color: #339933;">,</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span><span style="color: #000088;">$this</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wppp_content_hook'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> 99<span style="color: #339933;">,</span> 1<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'the_excerpt'</span><span style="color: #339933;">,</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span><span style="color: #000088;">$this</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wppp_content_hook'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> 99<span style="color: #339933;">,</span> 1<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p><strong>コメントのAjax化<br />
</strong>コメントの取得部分だけ自作。コメント送信の投げる部分はWordPressのwp-comments-post.phpに渡してます。非同期にしているだけ。</p>
<p>まずコメントの取得。JSでphpに非同期で要求してコメントがあったらそれを返して表示。JSはjQueryで実装。</p>
<div class="syntax_hilite">
<div id="php-19">
<div class="php" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">/*</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">このファイルは自作</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">includeでDB接続とかはwordPressのものを使用</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">QueryかけてXMLを出力するだけ</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">*/</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$comments</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>get_results<span style="color: #009900;">&#40;</span><span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>prepare<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM <span style="color: #006699; font-weight: bold;">$wpdb</span>-&amp;gt;comments WHERE comment_post_ID = <span style="color: #009933; font-weight: bold;">%d</span> AND comment_approved = '1' ORDER BY comment_date&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$targetID</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$xml</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> XMLWriter<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$xml</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>openMemory<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$xml</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>setIndent<span style="color: #009900;">&#40;</span>1<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$xml</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>setIndentString<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'    '</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$xml</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>startDocument<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'1.0'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'utf-8'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$xml</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>startElement<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'data'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$comments</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$xml</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>startElement<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'item'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$xml</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>writeElement<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'comment_author'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$value</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>comment_author<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$xml</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>writeElement<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'comment_author_url'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$value</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>comment_author_url<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$xml</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>writeElement<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'comment_date'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$value</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>comment_date<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$xml</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>writeElement<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'comment_content'</span><span style="color: #339933;">,</span> <a href="http://www.php.net/nl2br"><span style="color: #990000;">nl2br</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$value</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>comment_content<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$xml</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>endElement<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$xml</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>endElement<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/header"><span style="color: #990000;">header</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Content-type: text/xml'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">echo</span> <span style="color: #000088;">$xml</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>outputMemory<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>コメント送信はwp-comments-post.phpをそのまま使用しているのでJSだけ。エラーだった場合はXHTMLが帰ってくるのでreplaceでエラー文だけ取得し、表示。エラーでなければ最新のコメントを再取得し表示。正規表現は知らないんでreplaceではてきとーに。エラーのときの処理は以下のような感じ。</p>
<div class="syntax_hilite">
<div id="javascript-20">
<div class="javascript" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">error<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>d<span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">error <span style="color: #339933;">=</span> d.<span style="color: #660066;">responseText</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/(.|\n)+&amp;lt;p&amp;gt;(.+)&amp;lt;\/p&amp;gt;(.|\n)+/</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'$2'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#error_&quot;</span> <span style="color: #339933;">+</span> id<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">get</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;color:#800000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> undefined<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">$<span style="color: #009900;">&#40;</span>form<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">children</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;dl:last&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">before</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'&amp;lt;p id=&quot;error_'</span> <span style="color: #339933;">+</span> id <span style="color: #339933;">+</span> <span style="color: #3366CC;">'&quot;&amp;gt;'</span> <span style="color: #339933;">+</span> error <span style="color: #339933;">+</span> <span style="color: #3366CC;">'&amp;lt;/p&amp;gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#error_&quot;</span> <span style="color: #339933;">+</span> id<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">text</span><span style="color: #009900;">&#40;</span>error<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.t2-designing.com/blog/2009/10/01/211/&amp;title=WordPress%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%9E%E3%82%A4%E3%82%BA" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.t2-designing.com/blog/2009/10/01/211/&amp;title=WordPress%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%9E%E3%82%A4%E3%82%BA" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.t2-designing.com/blog/2009/10/01/211/&amp;t=WordPress%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%9E%E3%82%A4%E3%82%BA" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.t2-designing.com/blog/2009/10/01/211/&amp;t=WordPress%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%9E%E3%82%A4%E3%82%BA" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=WordPress%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%9E%E3%82%A4%E3%82%BA+-+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://www.shareaholic.com/pages/maintenanceapi.php?alias=&amp;url=http://www.t2-designing.com/blog/2009/10/01/211/">here</a>.</p>
</body></html>+(via+@Toyotter)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=WordPress%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%9E%E3%82%A4%E3%82%BA&amp;link=http://www.t2-designing.com/blog/2009/10/01/211/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.t2-designing.com%2Fblog%2F2009%2F10%2F01%2F211%2F&amp;t=WordPress%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%9E%E3%82%A4%E3%82%BA" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.t2-designing.com/blog/2009/10/01/211/&amp;title=WordPress%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%9E%E3%82%A4%E3%82%BA" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.t2-designing.com/blog/2009/10/01/211/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/2009/10/01/211/" />
	</item>
		<item>
		<title>Renewal</title>
		<link>http://www.t2-designing.com/blog/2009/09/24/200/</link>
		<comments>http://www.t2-designing.com/blog/2009/09/24/200/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 19:32:15 +0000</pubDate>
		<dc:creator>Toyoshima</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.t2-designing.com/blog/?p=200</guid>
		<description><![CDATA[このBlog(WordPress)をちょこっとリニューアル。まだ手をつけていないところもあるけど大体動くはず。表示についてはブラウザによって違う形。特にIE。ただ今回はIE8でもある程度見れるようにしてみた。IE7は未確認、IE6以下論外。 デザインはグレーをベースに。色がないような状態。写真とか画像をよくいれるのでというより写真が映えるからほかを落とした。レイアウトは前回のを踏襲。サイドバーが長いのはゴミエリア同然なのでできるだけコンパクトに。ほんとはもっと手を入れたかったけどFlashになりそうになったのでやっぱそこは簡潔に。 写真自体は16:9の比率のはず。間違えてアップしていなければ。1:1.618よりももうちょっとワイド。ICCプロファイルはAdobe RGBを埋め込み。非対応ブラウザ無視。自分の環境、画質優先。 コメントについてはAjax。一覧でもパーマリンクでもどこからでも操作ができてコンパクトに。まだAjaxの部分はいろいろ変更したいところ。Ajaxにしたってだけの状態。ちなみにAjaxのサーバサイドではpostをWordPressのを、getは自作PHPで処理。 実装についてはまたHTML5で。CSSは2.1とCSS 3。この辺でIEはある程度切捨て。JSは今回からjQueryに乗り換え。ソースも全部最初から書き直し。それとPanoramioのAPIも使っているけど少し前からAPI壊れているような。やりたいことがあったけどAPIがおかしいのでサムネ表示とリンクだけ。 Share this on del.icio.us Add this to Google Bookmarks Share this on Facebook Post this to MySpace Tweet This! Share this on FriendFeed Share this on Tumblr Digg this!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.t2-designing.com/blog/wp-content/uploads/2009/09/miraikan.jpg" rel="wp-prettyPhoto[g200]"><img class="alignnone size-medium wp-image-199" title="miraikan" src="http://www.t2-designing.com/blog/wp-content/uploads/2009/09/miraikan-520x292.jpg" alt="miraikan" width="520" height="292" /></a></p>
<p>このBlog(WordPress)をちょこっとリニューアル。まだ手をつけていないところもあるけど大体動くはず。表示についてはブラウザによって違う形。特にIE。ただ今回はIE8でもある程度見れるようにしてみた。IE7は未確認、IE6以下論外。</p>
<p>デザインはグレーをベースに。色がないような状態。写真とか画像をよくいれるのでというより写真が映えるからほかを落とした。レイアウトは前回のを踏襲。サイドバーが長いのはゴミエリア同然なのでできるだけコンパクトに。ほんとはもっと手を入れたかったけどFlashになりそうになったのでやっぱそこは簡潔に。</p>
<p>写真自体は16:9の比率のはず。間違えてアップしていなければ。1:1.618よりももうちょっとワイド。ICCプロファイルはAdobe RGBを埋め込み。非対応ブラウザ無視。自分の環境、画質優先。</p>
<p>コメントについてはAjax。一覧でもパーマリンクでもどこからでも操作ができてコンパクトに。まだAjaxの部分はいろいろ変更したいところ。Ajaxにしたってだけの状態。ちなみにAjaxのサーバサイドではpostをWordPressのを、getは自作PHPで処理。</p>
<p>実装についてはまたHTML5で。CSSは2.1とCSS 3。この辺でIEはある程度切捨て。JSは今回からjQueryに乗り換え。ソースも全部最初から書き直し。それとPanoramioのAPIも使っているけど少し前からAPI壊れているような。やりたいことがあったけどAPIがおかしいのでサムネ表示とリンクだけ。</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.t2-designing.com/blog/2009/09/24/200/&amp;title=Renewal" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.t2-designing.com/blog/2009/09/24/200/&amp;title=Renewal" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.t2-designing.com/blog/2009/09/24/200/&amp;t=Renewal" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.t2-designing.com/blog/2009/09/24/200/&amp;t=Renewal" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Renewal+-+http://b2l.me/b5pur+(via+@Toyotter)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Renewal&amp;link=http://www.t2-designing.com/blog/2009/09/24/200/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.t2-designing.com%2Fblog%2F2009%2F09%2F24%2F200%2F&amp;t=Renewal" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.t2-designing.com/blog/2009/09/24/200/&amp;title=Renewal" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.t2-designing.com/blog/2009/09/24/200/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/2009/09/24/200/" />
	</item>
		<item>
		<title>next_posts_link previous_posts_link</title>
		<link>http://www.t2-designing.com/blog/2009/09/23/196/</link>
		<comments>http://www.t2-designing.com/blog/2009/09/23/196/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 18:27:44 +0000</pubDate>
		<dc:creator>Toyoshima</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.t2-designing.com/blog/?p=196</guid>
		<description><![CDATA[アーカイブなどに使うnext_posts_linkとprevious_posts_linkはaタグつきで書き出される。個別記事用のnext_post_linkとprevious_post_linkはアーカイブ系とは違うので簡単にリストタグなどで囲める。仕様違いすぎ。とにかくアーカイブのnext_posts_linkとprevious_posts_linkが使いにくすぎる。ということで変更。 wp-includesのlink-template.phpを編集。まんま上記の関数名を検索して追いかければ出てきます。リストならリストタグを追加するだけ。WordPress 2.8.0から2.8.4にアップデートしたときにここの表示が崩れたけどなんか変更あったのかも。ソースまで覚えてないから特定できないけど。 この辺WordPressで使いにくいところのような気もするけどechoはやめてほしい。値をreturnで返してほしい。echoされると手が出ない。かといってアップデートとか考えると元もいじりたくないし。 ついでに管理画面が壊れた。とか思ってプラグイン消したりadminのincludesアップしなおしたりいろいろやったら原因が文字サイズだった。デフォルトから1段階変更するだけで壊れるんですが。なんだこれ。 さらについでにPanoramioのAPI壊れてない？サイトも若干どっか変ったような気がするんだけど。orderをdateの方で指定してもpopularityの結果が返ってきている気がする。 Share this on del.icio.us Add this to Google Bookmarks Share this on Facebook Post this to MySpace Tweet This! Share this on FriendFeed Share this on Tumblr Digg this!]]></description>
			<content:encoded><![CDATA[<p>アーカイブなどに使うnext_posts_linkとprevious_posts_linkはaタグつきで書き出される。個別記事用のnext_post_linkとprevious_post_linkはアーカイブ系とは違うので簡単にリストタグなどで囲める。仕様違いすぎ。とにかくアーカイブのnext_posts_linkとprevious_posts_linkが使いにくすぎる。ということで変更。</p>
<p>wp-includesのlink-template.phpを編集。まんま上記の関数名を検索して追いかければ出てきます。リストならリストタグを追加するだけ。WordPress 2.8.0から2.8.4にアップデートしたときにここの表示が崩れたけどなんか変更あったのかも。ソースまで覚えてないから特定できないけど。</p>
<p>この辺WordPressで使いにくいところのような気もするけどechoはやめてほしい。値をreturnで返してほしい。echoされると手が出ない。かといってアップデートとか考えると元もいじりたくないし。</p>
<p>ついでに管理画面が壊れた。とか思ってプラグイン消したりadminのincludesアップしなおしたりいろいろやったら原因が文字サイズだった。デフォルトから1段階変更するだけで壊れるんですが。なんだこれ。</p>
<p>さらについでにPanoramioのAPI壊れてない？サイトも若干どっか変ったような気がするんだけど。orderをdateの方で指定してもpopularityの結果が返ってきている気がする。</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.t2-designing.com/blog/2009/09/23/196/&amp;title=next_posts_link+previous_posts_link" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.t2-designing.com/blog/2009/09/23/196/&amp;title=next_posts_link+previous_posts_link" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.t2-designing.com/blog/2009/09/23/196/&amp;t=next_posts_link+previous_posts_link" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.t2-designing.com/blog/2009/09/23/196/&amp;t=next_posts_link+previous_posts_link" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=next_posts_link+previous_posts_link+-+http://b2l.me/b6exv+(via+@Toyotter)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=next_posts_link+previous_posts_link&amp;link=http://www.t2-designing.com/blog/2009/09/23/196/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.t2-designing.com%2Fblog%2F2009%2F09%2F23%2F196%2F&amp;t=next_posts_link+previous_posts_link" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.t2-designing.com/blog/2009/09/23/196/&amp;title=next_posts_link+previous_posts_link" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.t2-designing.com/blog/2009/09/23/196/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/2009/09/23/196/" />
	</item>
		<item>
		<title>prettyPhoto</title>
		<link>http://www.t2-designing.com/blog/2009/09/22/208/</link>
		<comments>http://www.t2-designing.com/blog/2009/09/22/208/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 12:26:40 +0000</pubDate>
		<dc:creator>Toyoshima</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.t2-designing.com/blog/2009/09/28/208/</guid>
		<description><![CDATA[prettyPhotoのWordPress用プラグインを使ってみた。書き出されるHTML側のソースを見るといろいろと汚い。いちいちCSSとかJSの読み込み処理もしなくていい。ということで外部ファイルの読み込みとhead内の直書きJSを消すようにさくっといじってみた。 まずプラグインを落としてきたらwp-prettyPhoto.phpが入ってるのでそいつを開く。最初にあるコンストラクタ関数に is_adminで条件分岐を行っている記述があるのでis_admin()がfalse、つまり管理画面以外であった場合の処理をコメントアウト。これで外部ファイルの参照がなくなります。 次にhead内に記述されるJS処理を排除。これはadd_actionでWordPressにフックしているのでadd_action('wp_head, function)をコメントアウト。これで書き出されるソースはきれいになります。 後は自分で追加したprettyPhotoを読み込ませると完了。relの部分がデフォルトとは違うのと、以前はprototypeと lightboxを使用していたaタグをで[rel*='prettyPhoto'], [rel^='lightbox']取得してます。面倒なのでJSの処理でやっていますがきちんと書き直したいのであればDBに接続して replaceで完了。 最後に、これはさっき適当にやったものなので一切責任は負えません。自己責任でやってください。 Share this on del.icio.us Add this to Google Bookmarks Share this on Facebook Post this to MySpace Tweet This! Share this on FriendFeed Share this on Tumblr Digg this!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.t2-designing.com/blog/wp-content/uploads/2009/09/prettyphotodw.jpg" rel="wp-prettyPhoto[g208]"><img class="alignnone size-medium wp-image-194" title="prettyphotodw" src="http://www.t2-designing.com/blog/wp-content/uploads/2009/09/prettyphotodw-520x325.jpg" alt="prettyphotodw" width="520" height="325" /></a></p>
<p>prettyPhotoのWordPress用プラグインを使ってみた。書き出されるHTML側のソースを見るといろいろと汚い。いちいちCSSとかJSの読み込み処理もしなくていい。ということで外部ファイルの読み込みとhead内の直書きJSを消すようにさくっといじってみた。</p>
<p>まずプラグインを落としてきたらwp-prettyPhoto.phpが入ってるのでそいつを開く。最初にあるコンストラクタ関数に is_adminで条件分岐を行っている記述があるのでis_admin()がfalse、つまり管理画面以外であった場合の処理をコメントアウト。これで外部ファイルの参照がなくなります。</p>
<p>次にhead内に記述されるJS処理を排除。これはadd_actionでWordPressにフックしているのでadd_action('wp_head, function)をコメントアウト。これで書き出されるソースはきれいになります。</p>
<p>後は自分で追加したprettyPhotoを読み込ませると完了。relの部分がデフォルトとは違うのと、以前はprototypeと lightboxを使用していたaタグをで[rel*='prettyPhoto'], [rel^='lightbox']取得してます。面倒なのでJSの処理でやっていますがきちんと書き直したいのであればDBに接続して replaceで完了。</p>
<p>最後に、これはさっき適当にやったものなので一切責任は負えません。自己責任でやってください。</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.t2-designing.com/blog/2009/09/22/208/&amp;title=prettyPhoto" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.t2-designing.com/blog/2009/09/22/208/&amp;title=prettyPhoto" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.t2-designing.com/blog/2009/09/22/208/&amp;t=prettyPhoto" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.t2-designing.com/blog/2009/09/22/208/&amp;t=prettyPhoto" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=prettyPhoto+-+http://b2l.me/b5rt3+(via+@Toyotter)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=prettyPhoto&amp;link=http://www.t2-designing.com/blog/2009/09/22/208/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.t2-designing.com%2Fblog%2F2009%2F09%2F22%2F208%2F&amp;t=prettyPhoto" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.t2-designing.com/blog/2009/09/22/208/&amp;title=prettyPhoto" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.t2-designing.com/blog/2009/09/22/208/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/2009/09/22/208/" />
	</item>
	</channel>
</rss>
