<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hariadi.Org &#187; WordPress</title>
	<atom:link href="http://www.hariadi.org/topics/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hariadi.org</link>
	<description>Apa yang paling kita nak, itulah yang susah kita dapat</description>
	<lastBuildDate>Tue, 07 Feb 2012 06:11:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Best Permalink Structure</title>
		<link>http://www.hariadi.org/wordpress/best-permalink-structure/</link>
		<comments>http://www.hariadi.org/wordpress/best-permalink-structure/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 02:31:47 +0000</pubDate>
		<dc:creator>Hariadi Hinta</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Performance]]></category>

		<guid isPermaLink="false">http://www.hariadi.org/?p=1402</guid>
		<description><![CDATA[Kalau ikutkan blog gua ni struktur dia ini macam: Merujuk kepada http://codex.wordpress.org/Using_Permalinks, jika lu orang ambil berat pasal performance bagi blog yang guna WordPress, the best WordPress permalink structure adalah: Selepas mengambil kira beberapa SEO dan juga dari sedi performance. Gua pun nak tukar sebenarnya tapi bila gua fikir balik WordPress akan buat 301 redirect [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-1411" title="wordpress-performance-speed-tips" src="http://www.hariadi.org/v9/wp-content/media/2011/10/wordpress-performance-speed-tips.jpg" alt="" width="600" height="333" /></p>
<p>Kalau ikutkan blog gua ni struktur dia ini macam:</p>
<pre class="brush: plain; title: ; notranslate">/%category%/%postname%/</pre>
<p>Merujuk kepada http://codex.wordpress.org/Using_Permalinks, jika lu orang ambil berat pasal performance bagi blog yang guna WordPress, the best WordPress permalink structure adalah:</p>
<pre class="brush: plain; title: ; notranslate">/%post_id%/%postname%</pre>
<p>Selepas mengambil kira beberapa <a href="http://www.google.com/support/news_pub/bin/answer.py?answer=68323&amp;cbid=1d7kv7l9u7to0&amp;src=cb&amp;lev=answer">SEO</a> dan juga dari sedi performance. Gua pun nak tukar sebenarnya tapi bila gua fikir balik WordPress akan buat 301 redirect dari URL lama ke URL baru. Maknanya blog lu orang berisiko untuk tidak di index oleh Google.</p>
<p>Lagi satu merujuk kepada <a href="http://core.trac.wordpress.org/ticket/16687">#16687</a>, struktur permalink /% postname% / atau /% kategori% / tidak lagi memberi kesan dalam <a href="http://wpdevel.wordpress.com/2011/07/27/wordpress-3-3-proposed-scope/">WordPress 3.3</a> (akhir tahun ini gua kira). Beberapa pembangun telah membuat beberapa <a href="http://core.trac.wordpress.org/changeset/18541/">patch</a> dan akan dimasukkan dalam 3.3.<br />
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li><a href='http://www.hariadi.org/how-to/belakang-tabir-sbpa-konfigurasi-pelayan/' title='Belakang Tabir SBPA: Konfigurasi Pelayan'>Belakang Tabir SBPA: Konfigurasi Pelayan</a></li>
<li><a href='http://www.hariadi.org/diari/disable-right-click-view-page-source/' title='Disable Right Click &#8211; View Page Source'>Disable Right Click &#8211; View Page Source</a></li>
<li><a href='http://www.hariadi.org/diari/sistem-saraan-baru-perkhidmatan-awam-sbpa/' title='Sistem Saraan Baru Perkhidmatan Awam &#8211; SBPA'>Sistem Saraan Baru Perkhidmatan Awam &#8211; SBPA</a></li>
<li><a href='http://www.hariadi.org/how-to/setup-nginx-apache-xampp-on-same-server/' title='Setup Nginx, Apache (XAMPP) On Same Server'>Setup Nginx, Apache (XAMPP) On Same Server</a></li>
<li><a href='http://www.hariadi.org/diari/performance-performance-performance/' title='Performance! Performance! Performance!'>Performance! Performance! Performance!</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hariadi.org/wordpress/best-permalink-structure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inspirasi mengemaskini</title>
		<link>http://www.hariadi.org/wordpress/inspirasi-mengemaskini/</link>
		<comments>http://www.hariadi.org/wordpress/inspirasi-mengemaskini/#comments</comments>
		<pubDate>Sun, 26 Dec 2010 02:21:48 +0000</pubDate>
		<dc:creator>Hariadi Hinta</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Diari]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Diana Danielle]]></category>

		<guid isPermaLink="false">http://www.hariadi.org/?p=537</guid>
		<description><![CDATA[Gua baru selesai memberi nafas metal kepada web log gua. Dia kena ada inspirasi bai baru boleh jalan. Pembakar semangat gua. Semangat tu payah nak datang. Sampai sekarang gua masih senyum kambing. Theme hijau hitam. Amacam sekarang? Ada ganas tak? Anyway, gua dapat mms dari sorang member rapat: &#8220;Sweet la blog you sekarang!&#8221; Related Posts: [...]]]></description>
			<content:encoded><![CDATA[<p>Gua baru selesai memberi nafas metal kepada web log gua. Dia kena ada inspirasi bai baru boleh jalan. Pembakar semangat gua. Semangat tu payah nak datang. Sampai sekarang gua masih senyum kambing.</p>
<p>Theme hijau hitam. Amacam sekarang? Ada ganas tak?</p>
<p><em>Anyway</em>, gua dapat mms dari sorang member rapat:<br />
<img class="alignnone size-full wp-image-538" title="Diana Danielle" src="http://www.hariadi.org/v9/wp-content/media/2010/12/diana-danielle-cleopatra.jpg" alt="Diana Danielle" width="332" height="378" /></p>
<blockquote><p>&#8220;Sweet la blog you sekarang!&#8221;</p></blockquote>
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li>No Related Posts</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hariadi.org/wordpress/inspirasi-mengemaskini/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0!</title>
		<link>http://www.hariadi.org/wordpress/3-0/</link>
		<comments>http://www.hariadi.org/wordpress/3-0/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 01:35:46 +0000</pubDate>
		<dc:creator>Hariadi Hinta</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.hariadi.org/?p=373</guid>
		<description><![CDATA[Hasil gabungan MU dan WordPress maka release la WordPress 3.0! maknanye dgn satu installation sajer boleh buat multi-blog (atau CMS). Major featuresnya Theme baru (Twenty Ten), APIs baru dan banyak lagi. download sendirik dan try.. Related Posts: No Related Posts]]></description>
			<content:encoded><![CDATA[<p>Hasil gabungan MU dan WordPress maka release la WordPress 3.0! maknanye dgn satu installation sajer boleh buat multi-blog (atau CMS). Major featuresnya Theme baru (<strong>Twenty Ten</strong>), APIs baru dan banyak lagi. <a href="http://wordpress.org/download/">download</a> sendirik dan try..<br />
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li>No Related Posts</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hariadi.org/wordpress/3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordCamp Malaysia</title>
		<link>http://www.hariadi.org/wordpress/wordcamp-malaysia/</link>
		<comments>http://www.hariadi.org/wordpress/wordcamp-malaysia/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 04:18:07 +0000</pubDate>
		<dc:creator>Hariadi Hinta</dc:creator>
				<category><![CDATA[Diari]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordCamp]]></category>

		<guid isPermaLink="false">http://www.hariadi.org/?p=338</guid>
		<description><![CDATA[Date: 22 May 2010 Address: Cititel Mid Valley, Mid Valley City, Lingkaran Syed Putra, 59200 Kuala Lumpur, Malaysia Tel: 603-2296 1188 Fax: 603-2283 5551 WordCamp Malaysia 2010 is the first Wordcamp to be held in Malaysia! WordCamp is a conference that focuses on everything WordPress. WordCamps are informal, community-organized events that are put together by [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Date:</strong> 22 May 2010<br />
<strong>Address:</strong> <a href="http://maps.google.com.my/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=Cititel&amp;sll=3.033477,101.585918&amp;sspn=0.041912,0.077162&amp;ie=UTF8&amp;hq=Cititel&amp;hnear=&amp;t=h&amp;ll=3.117676,101.678317&amp;spn=0.002571,0.003433&amp;z=18">Cititel Mid Valley, Mid Valley City, Lingkaran Syed Putra, 59200 Kuala Lumpur, Malaysia</a><br />
Tel: 603-2296 1188<br />
Fax: 603-2283 5551</p>
<p>WordCamp Malaysia 2010 is the first Wordcamp to be held in Malaysia!</p>
<p>WordCamp is a conference that focuses on everything WordPress. WordCamps are informal, community-organized events that are put together by WordPress users like you. Everyone from casual users to core developers participate, share ideas, and get to know each other. WordCamps are open to WordPress.com and WordPress.org users alike.</p>
<p>WordPress is an open source blog publishing application powered by PHP and MySQL which can also be used for content management. It has many features including a plugin architecture and a templating system. Used by over 2% of the 10,000 biggest websites, WordPress is the most popular blog software in use today.</p>
<p>Source: <a href="http://central.wordcamp.org/schedule/">http://central.wordcamp.org/schedule/</a>, <a href="http://www.wordcamp.my">http://www.wordcamp.my</a><br />
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li>No Related Posts</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hariadi.org/wordpress/wordcamp-malaysia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0, Beta 1!</title>
		<link>http://www.hariadi.org/wordpress/wordpress-3-0-beta-1/</link>
		<comments>http://www.hariadi.org/wordpress/wordpress-3-0-beta-1/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 08:27:32 +0000</pubDate>
		<dc:creator>Hariadi Hinta</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Network]]></category>

		<guid isPermaLink="false">http://www.hariadi.org/?p=329</guid>
		<description><![CDATA[Beta tester! get WordPress 3.0 Beta 1 now! Some notes for WordPress Developer: This is an early beta (don&#8217;t use for production sites!) WordPress and WordPress MU have merge. That&#8217;s mean you can create multiple site (network). If you enable multisite, Giving WordPress Its Own Directory will not work in WordPress 3.0. It interferes with [...]]]></description>
			<content:encoded><![CDATA[<p>Beta tester! get <a href="http://wordpress.org/wordpress-3.0-beta1.zip">WordPress 3.0 Beta 1</a> now!</p>
<p>Some notes for WordPress Developer:</p>
<ol>
<li>This is an <strong>early beta</strong> (don&#8217;t use for production sites!)</li>
<li>WordPress and WordPress MU have merge. That&#8217;s mean you can create multiple site (network).</li>
<li>If you enable multisite, <a title="Giving WordPress Its Own Directory" href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">Giving WordPress Its Own  Directory</a> will not work in WordPress 3.0. It interferes with the member blog lookup.</li>
<li>You cannot create a network in the following cases:
<ul>
<li> &#8220;WordPress address (URL)&#8221; is different from &#8220;Site address  (URL)&#8221;</li>
<li> &#8220;WordPress address (URL)&#8221; is used IP address such as 127.0.0.1  or port number other than &#8216;:80&#8242;, &#8216;:443&#8242;.
<ul>
<li> Use &#8216;localhost&#8217; instead of &#8217;127.0.0.1&#8242;, if on local computer.</li>
</ul>
</li>
</ul>
</li>
</ol>
<p>Here some  simple directions <a href="http://codex.wordpress.org/User:Andrea/Create_A_Network">How to Create a Network of WordPress Sites</a><br />
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li>No Related Posts</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hariadi.org/wordpress/wordpress-3-0-beta-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IIS, FastCGI, PHP</title>
		<link>http://www.hariadi.org/wordpress/iis-fastcgi-php/</link>
		<comments>http://www.hariadi.org/wordpress/iis-fastcgi-php/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 06:18:00 +0000</pubDate>
		<dc:creator>Hariadi Hinta</dc:creator>
				<category><![CDATA[Diari]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[FastCGI]]></category>
		<category><![CDATA[Maulid]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.hariadi.org/?p=154</guid>
		<description><![CDATA[Segala puji dan puji hanya buat Allah, Tuhan seluruh alamraya dan selawat serta salam buat Nabi dan RasulNya Muhammad dan kaum keluarganya dan para sahabat. Sebelum ni aku da pernah postkan Ceramah Maulid Rasul. Da 3 hari aku duk opis menyetup server baru ni. Ingatkan susah nak setup Windows Server 2008 ni..tak sampai setengah hari [...]]]></description>
			<content:encoded><![CDATA[<p>Segala puji dan puji hanya buat Allah, Tuhan seluruh alamraya dan selawat serta salam buat Nabi dan RasulNya Muhammad dan kaum keluarganya dan para sahabat.<span id="more-154"></span></p>
<p>Sebelum ni aku da pernah postkan <a href="http://www.hariadi.org/bugis/ld-tawau-kunak-bugis-dengar-ini-ceramah/">Ceramah Maulid Rasul</a>.</p>
<p>Da 3 hari aku duk opis menyetup server baru ni. Ingatkan susah nak setup Windows Server 2008 ni..tak sampai setengah hari pun. da blh jalan PHP (Joomla, WordPress, phpMyAdmin), MySQL dalam environment IIS 7. Takut juga kalau performance lagi lembab dari dulu.</p>
<p>Pautan penting nak pasang FastCGI dan PHP pada IIS 7.0:</p>
<ul>
<li><a href="http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis-70/">Pemasangan FastCGI, PHP pada IIS 7.0</a></li>
<li>Modul URL Rewrite pada IIS 7.0
<ul>
<li><a href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;i=1691&amp;g=6">Microsoft URL Rewrite Module for IIS 7.0 RTW (x86)</a></li>
<li><a href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;i=1692&amp;g=6">Microsoft URL Rewrite Module for IIS 7.0 RTW (x64)</a></li>
</ul>
</li>
</ul>
<p>Kalau nak install WordPress, boleh rujuk kat <a href="http://learn.iis.net/page.aspx/280/wordpress-on-iis/">WordPress On IIS</a>. Begitu juga dengan <a href="http://learn.iis.net/page.aspx/527/joomla-on-iis/">Joomla! on IIS 7</a>. Tak perlu risau dengan URL Rewrite (prety permalink).</p>
<p>Lepas install, nampak mcm ok je tapi masih takut dengan performancenya. Jadi aku ada beberapa pilihan samada nak guna:</p>
<ul>
<li>IIS Output Caching</li>
<li>WP Cache plugin untuk WordPress</li>
<li>WP Super Cache plugin untuk WordPress</li>
</ul>
<p>Aku rekomen guna IIS Output Caching sebab mudah nak pasang.  WP Super Cache lagi mantap tapi payah sikit nak install. Untuk enablekan IIS Output Caching bagi WordPress tambahkan configuration section ini kedalam web.config file (located at the root folder of the WordPress site):</p>
<pre><code> &lt;caching&gt;
   &lt;profiles&gt;
     &lt;add extension="*" policy="CacheForTimePeriod"
       kernelCachePolicy="CacheForTimePeriod"
       duration="00:00:30" /&gt;
   &lt;/profiles&gt;
 &lt;/caching&gt;</code></pre>
<p>Untuk maklumat lanjut sila layari artikel <a href="http://ruslany.net/2008/12/speed-up-wordpress-on-iis-70/">ini</a>.<br />
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li><a href='http://www.hariadi.org/iis/url-rewrite-for-iis-7/' title='URL rewrite for IIS 7'>URL rewrite for IIS 7</a></li>
<li><a href='http://www.hariadi.org/diari/sempit/' title='Sempit'>Sempit</a></li>
<li><a href='http://www.hariadi.org/bugis/ld-tawau-kunak-bugis-dengar-ini-ceramah/' title='LD? Tawau? Kunak? Bugis? Dengar ini ceramah'>LD? Tawau? Kunak? Bugis? Dengar ini ceramah</a></li>
<li><a href='http://www.hariadi.org/php/php-tips-part-1/' title='PHP Tips [Part 1]'>PHP Tips [Part 1]</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hariadi.org/wordpress/iis-fastcgi-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Return most recent post by date range</title>
		<link>http://www.hariadi.org/wordpress/return-most-recent-post-by-date-range-2/</link>
		<comments>http://www.hariadi.org/wordpress/return-most-recent-post-by-date-range-2/#comments</comments>
		<pubDate>Thu, 08 May 2008 14:35:35 +0000</pubDate>
		<dc:creator>Hariadi Hinta</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[support]]></category>

		<guid isPermaLink="false">http://www.hariadi.org/?p=9</guid>
		<description><![CDATA[Return most recent post by date range. For example if you want display posts for 30 days..]]></description>
			<content:encoded><![CDATA[<p>Open <code>functions.php</code> from the template file and add this function:</p>
<pre><code>function show_month_posts($where) {
global $wpdb;

$how_long = 60; //60 days

//if( !is_single() &amp;&amp; !is_page() )
if( is_home() )

$where .= " AND $wpdb-&gt;posts.post_date &gt;= ADDDATE(CURRENT_DATE(), - </code><code>$how_long</code><code>)";

return $where;
}
if (is_home ) add_filter('posts_where', 'show_month_posts');</code></pre>
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li><a href='http://www.hariadi.org/wordpress/return-most-recent-post-by-date-range/' title='Return most recent post by date range'>Return most recent post by date range</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hariadi.org/wordpress/return-most-recent-post-by-date-range-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Reset WP Password</title>
		<link>http://www.hariadi.org/wordpress/reset-wp-password/</link>
		<comments>http://www.hariadi.org/wordpress/reset-wp-password/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 01:51:36 +0000</pubDate>
		<dc:creator>Hariadi Hinta</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[reset]]></category>

		<guid isPermaLink="false">http://www.hariadi.org/?p=7</guid>
		<description><![CDATA[Simple way to reset your WordPress password through phpMyAdmin.]]></description>
			<content:encoded><![CDATA[<p>Simple way to reset your WordPress password through phpMyAdmin.</p>
<p><strong>Step 1:</strong><br />
Create PHP file on your WordPress root and rename to <code>password.php</code> and put this code:</p>
<pre><code>&lt;?php
require('./wp-blog-header.php');</code>
echo wp_hash_password('yourpasswordhere'); //
?&gt;</pre>
<p>Execute and copy the text appear.</p>
<p><strong>Step 2</strong>:<br />
Open IE or Firefox browser, go to your  phpMyAdmin <strong>(Note: use phpMyAdmin at your own risk.) </strong></p>
<ul>
<li>Click your WordPress database</li>
<li>All the tables in your database will appear. If not, click <strong>Structure</strong>.</li>
<li>Look for <strong>wp_users</strong>.</li>
<li>Click on the icon for <strong>browse</strong> or <strong>structure</strong>.</li>
<li>Choose user and click <strong>edit</strong></li>
<li>Find <strong>user_pass</strong> and paste the text from <code>password.php</code></li>
<li>Click <strong>Go</strong></li>
</ul>
<p>Go to your WordPress Login page (something like <a class="external text" title="http://codex.wordpress.org/Resetting_your_password" href="http://codex.wordpress.org/Resetting_your_password">http://yoursite.com/wordpress/wp-login.php</a>) and type <code>yourpasswordhere </code><br />
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li>No Related Posts</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hariadi.org/wordpress/reset-wp-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Return most recent post by date range</title>
		<link>http://www.hariadi.org/wordpress/return-most-recent-post-by-date-range/</link>
		<comments>http://www.hariadi.org/wordpress/return-most-recent-post-by-date-range/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 02:06:00 +0000</pubDate>
		<dc:creator>Hariadi Hinta</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[support]]></category>

		<guid isPermaLink="false">http://www.hariadi.org/?p=3</guid>
		<description><![CDATA[UPDATED: This trick not work with paging. Go to another trick Want to limit the number of posts on your front page by a date range? For example, display most recent posts for the last 30 days? This works perfectly.. Open index.php template file. Changed this code from: &#60;?php while (have_posts()) : the_post(); ?&#62; to: [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;"><strong><a href="http://www.hariadi.org/2008/05/return-most-recent-post-by-date-range-2/">UPDATED: This trick not work with paging. Go to another trick</a></strong></span></p>
<p>Want to limit the number of posts on your front page by a date range? For example, display most recent posts for the last 30 days? This works perfectly..</p>
<p>Open <code>index.php</code> template file. Changed this code from:</p>
<pre><code>&lt;?php while (have_posts()) : the_post(); ?&gt;</code></pre>
<p>to:</p>
<pre><code>&lt;?php while (have_posts()) : the_post(); ?&gt;
&lt;?php
$mylimit=30*(60*60*24);
if ( (current_time(timestamp) - get_the_time('U') - (get_settings('gmt_offset') * 3600) ) &lt; $mylimit)
{
?&gt;</code></pre>
<p>and this code from:</p>
<pre><code> &lt;?php endwhile; ?&gt; </code></pre>
<p>to:</p>
<pre><code> &lt;?php } ?&gt;
&lt;?php endwhile; ?&gt;</code></pre>
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li><a href='http://www.hariadi.org/wordpress/return-most-recent-post-by-date-range-2/' title='Return most recent post by date range'>Return most recent post by date range</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hariadi.org/wordpress/return-most-recent-post-by-date-range/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>


<!-- W3 Total Cache: Minify debug info:
Engine:             disk: basic
Theme:              007ae
Template:           archive
-->
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Object Caching 574/663 objects using disk: basic

Served from: www.hariadi.org @ 2012-02-07 16:35:54 -->

<!-- W3 Total Cache: Page cache debug info:
Engine:             disk: enhanced
Cache key:          topics/wordpress/feed/_index.xml_gzip
Caching:            enabled
Status:             not cached
Creation Time:      1.647s
Header info:
X-Pingback:         http://www.hariadi.org/v9/xmlrpc.php
ETag:               "6107f33d250c6b29804d578b9c0ee91f"
Content-Type:       text/xml; charset=UTF-8
Last-Modified:      Tue, 07 Feb 2012 08:35:54 GMT
Vary:               Accept-Encoding, Cookie
X-Powered-By:       W3 Total Cache/0.9.2.4
Content-Encoding:   gzip
-->
