<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Conditional page/post navigation links in WordPress</title>
	<atom:link href="http://www.ericmmartin.com/conditional-pagepost-navigation-links-in-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ericmmartin.com/conditional-pagepost-navigation-links-in-wordpress/</link>
	<description></description>
	<pubDate>Tue, 13 May 2008 13:58:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Eric Martin</title>
		<link>http://www.ericmmartin.com/conditional-pagepost-navigation-links-in-wordpress/#comment-125</link>
		<dc:creator>Eric Martin</dc:creator>
		<pubDate>Thu, 17 Jan 2008 20:42:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.ericmmartin.com/conditional-pagepost-navigation-links-in-wordpress/#comment-125</guid>
		<description>@Naif - this code was deprecated in favor of a &lt;a href="http://www.ericmmartin.com/conditional-pagepost-navigation-links-in-wordpress-redux/" rel="nofollow"&gt;different approach&lt;/a&gt;. However, you did find something that must have been garbled when posting:

&lt;code&gt;$nextpage = intval($paged) 1;&lt;/code&gt;

should be:

&lt;code&gt;$nextpage = intval($paged) + 1;&lt;/code&gt;

which makes &lt;code&gt;$nextpage &lt;= $max_page&lt;/code&gt; correct. I've updated the page and will put a note about this approach being replaced.</description>
		<content:encoded><![CDATA[<p>@Naif - this code was deprecated in favor of a <a href="http://www.ericmmartin.com/conditional-pagepost-navigation-links-in-wordpress-redux/" >different approach</a>. However, you did find something that must have been garbled when posting:</p>
<p><code>$nextpage = intval($paged) 1;</code></p>
<p>should be:</p>
<p><code>$nextpage = intval($paged) + 1;</code></p>
<p>which makes <code>$nextpage < = $max_page</code> correct. I&#8217;ve updated the page and will put a note about this approach being replaced.</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naif</title>
		<link>http://www.ericmmartin.com/conditional-pagepost-navigation-links-in-wordpress/#comment-124</link>
		<dc:creator>Naif</dc:creator>
		<pubDate>Thu, 17 Jan 2008 18:11:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.ericmmartin.com/conditional-pagepost-navigation-links-in-wordpress/#comment-124</guid>
		<description>Hi. I think there are two bugs here... I believe 

&lt;code&gt;$nextpage &#60;= $max_page&lt;/code&gt;

should actually be 

&lt;code&gt;$nextpage &#60; $max_page&lt;/code&gt;

And why is there a 1 at the end on the following line:

&lt;code&gt;$nextpage = intval($paged)   1; &lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Hi. I think there are two bugs here&#8230; I believe </p>
<p><code>$nextpage &lt;= $max_page</code></p>
<p>should actually be </p>
<p><code>$nextpage &lt; $max_page</code></p>
<p>And why is there a 1 at the end on the following line:</p>
<p><code>$nextpage = intval($paged)   1; </code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
