<?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>Poiesis Web Development &#187; posts_nav_link</title>
	<atom:link href="http://www.poiesis.co.za/index.php/tag/posts_nav_link/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.poiesis.co.za</link>
	<description>Becasue IT matters</description>
	<lastBuildDate>Mon, 14 Jun 2010 12:33:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Double index.php problem</title>
		<link>http://www.poiesis.co.za/index.php/2009/06/double-indexphp-problem/</link>
		<comments>http://www.poiesis.co.za/index.php/2009/06/double-indexphp-problem/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 21:00:48 +0000</pubDate>
		<dc:creator>Brent</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[double index.php]]></category>
		<category><![CDATA[posts_nav_link]]></category>

		<guid isPermaLink="false">http://www.poiesis.co.za/?p=60</guid>
		<description><![CDATA[We&#8217;ve recently upgraded our WordPress installation to WordPress 2.8 and realized just why I hate upgrading WordPress! On the 2.7.1 version the NEXT POSTS / PREVIOUS POSTS link at the bottom of the page worked perfectly, but after the upgrade it pointed erroneously to http://www.poiesis.co.za/index.php/Index.php/page/2/. I&#8217;m sure you can see the problem there: the double [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.poiesis.co.za/wp-content/uploads/2009/06/wordpress-150x150.gif" alt="WordPress" title="WordPress" width="150" height="150" class="alignleft size-thumbnail wp-image-70" />We&#8217;ve recently upgraded our WordPress installation to WordPress 2.8 and realized just why I hate upgrading WordPress! On the 2.7.1 version the NEXT POSTS / PREVIOUS POSTS link at the bottom of the page worked perfectly, but after the upgrade it pointed erroneously to <code>http://www.poiesis.co.za/index.php/Index.php/page/2/</code>. I&#8217;m sure you can see the problem there: the double index.php in the URL! The solution to the problem is simple: open the formatting.php in wp-includes and add the following line in the <code>function clean_url</code> after the <code>if ('' == $url) return $url;</code> statement:</p>
<p><code>$url = str_replace('index.php/Index.php','index.php',$url);</code></p>
<p><span id="more-60"></span>The only problem is you need to remember to add the line again every time you upgrade WordPress.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.poiesis.co.za/index.php/2009/06/double-indexphp-problem/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Next-Previous link not showing?</title>
		<link>http://www.poiesis.co.za/index.php/2009/06/next-previous-link-not-showing/</link>
		<comments>http://www.poiesis.co.za/index.php/2009/06/next-previous-link-not-showing/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 18:24:13 +0000</pubDate>
		<dc:creator>Brent</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[posts_nav_link]]></category>
		<category><![CDATA[the loop]]></category>

		<guid isPermaLink="false">http://www.poiesis.co.za/?p=65</guid>
		<description><![CDATA[We&#8217;ve received a few queries about the next/previous link in our WordPress themes from people wanting to know how to implement it in their themes. Well, the answer is simply insert the posts_nav_link() template tag into the php files of your theme that has the if ( have_posts() ) : while ( have_posts() ) loop. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.poiesis.co.za/wp-content/uploads/2009/06/wordpress-150x150.gif" alt="WordPress" title="WordPress" width="150" height="150" class="alignleft size-thumbnail wp-image-70" />We&#8217;ve received a few queries about the next/previous link in our <a href="http://www.poiesis.co.za/index.php/category/wordpress-themes/">WordPress themes</a> from people wanting to know how to implement it in their themes. Well, the answer is simply insert the <code>posts_nav_link()</code> template tag into the <code>php </code>files of your theme that has the <code>if ( have_posts() ) : while ( have_posts() )</code> loop. These files include index.php and archive.php. When you use the <code>posts_nav_link()</code> tag the next/previous links are generated automatically when required. However, the tag only works for pages of posts.</p>
<p><span id="more-65"></span><br />
<h2>So where do you insert the <code>posts_nav_link()</code> tag?</h2>
<p>You insert it after the loop. In other words, after the <code>&lt;php? endif; &gt;</code> towards the bottom of the file.</p>
<p>If you want to find out more about the <code>posts_nav_link()</code> tag visit the following WordPress pages:</p>
<ul>
<li>http://codex.wordpress.org/Template_Tags/posts_nav_link</li>
<li>http://codex.wordpress.org/Next_and_Previous_Links</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.poiesis.co.za/index.php/2009/06/next-previous-link-not-showing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
