<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Improving WordPress page navigation: fixing next_post_link() and previous_post_link()</title>
	<atom:link href="http://www.3roadsmedia.com/blog/improving-wordpress-page-navigation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.3roadsmedia.com/blog/improving-wordpress-page-navigation/</link>
	<description>Denver Web Development, Graphic, &#38; Website Design</description>
	<lastBuildDate>Sat, 04 Feb 2012 04:02:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ryan</title>
		<link>http://www.3roadsmedia.com/blog/improving-wordpress-page-navigation/#comment-1162</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Thu, 12 Jan 2012 18:14:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.3roadsmedia.com/?p=746#comment-1162</guid>
		<description>Ahh, I wasn&#039;t aware of those two functions. Those should work beautifully. Thank you for sharing, and I&#039;m glad you got things to work!

And in reference to your previous question on putting something just on the homepage, you can use the &lt;a href=&quot;http://codex.wordpress.org/Function_Reference/is_front_page&quot; rel=&quot;nofollow&quot;&gt;is_front_page()&lt;/a&gt; or &lt;a href=&quot;http://codex.wordpress.org/Function_Reference/is_home&quot; rel=&quot;nofollow&quot;&gt;is_home()&lt;/a&gt; conditionals.</description>
		<content:encoded><![CDATA[<p>Ahh, I wasn&#8217;t aware of those two functions. Those should work beautifully. Thank you for sharing, and I&#8217;m glad you got things to work!</p>
<p>And in reference to your previous question on putting something just on the homepage, you can use the <a href="http://codex.wordpress.org/Function_Reference/is_front_page" rel="nofollow">is_front_page()</a> or <a href="http://codex.wordpress.org/Function_Reference/is_home" rel="nofollow">is_home()</a> conditionals.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.3roadsmedia.com/blog/improving-wordpress-page-navigation/#comment-1161</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Wed, 11 Jan 2012 23:50:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.3roadsmedia.com/?p=746#comment-1161</guid>
		<description>Hi Ryan,

I received some assistance on the wordpress forums. 

&lt;a href=&quot;http://wordpress.org/support/topic/fix-next_posts_link-previous_posts_link-on-first-and-last-page?replies=4&quot; rel=&quot;nofollow&quot;&gt;Here is my post.&lt;/a&gt;

&amp; this was the reply containing the solution:
you can build it conditionally based on &lt;a href=&quot;http://codex.wordpress.org/Function_Reference/get_next_posts_link&quot; rel=&quot;nofollow&quot;&gt;get_next_posts_link()&lt;/a&gt; and &lt;a href=&quot;http://codex.wordpress.org/Function_Reference/get_previous_posts_link&quot; rel=&quot;nofollow&quot;&gt;get_previous_posts_link()&lt;/a&gt;, resp.




			


			
		</description>
		<content:encoded><![CDATA[<p>Hi Ryan,</p>
<p>I received some assistance on the wordpress forums. </p>
<p><a href="http://wordpress.org/support/topic/fix-next_posts_link-previous_posts_link-on-first-and-last-page?replies=4" rel="nofollow">Here is my post.</a></p>
<p>&amp; this was the reply containing the solution:<br />
you can build it conditionally based on <a href="http://codex.wordpress.org/Function_Reference/get_next_posts_link" rel="nofollow">get_next_posts_link()</a> and <a href="http://codex.wordpress.org/Function_Reference/get_previous_posts_link" rel="nofollow">get_previous_posts_link()</a>, resp.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.3roadsmedia.com/blog/improving-wordpress-page-navigation/#comment-1160</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Wed, 11 Jan 2012 21:35:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.3roadsmedia.com/?p=746#comment-1160</guid>
		<description>Hi Ryan,

Thanks so much for your suggestions.

Its interesting that an available method to solve this is so difficult to find. 

I have yet to post this on the WP forums - I&#039;ll try that along with writing to Mark Jaquith.

I did think of a solution, although I am having difficult working out how to do it exactly and I wanted to ask your advice.

Basically my navigation is an include file that consists of &#039;Previous&#039;  (next_posts_link) and &#039;Next&#039;  (previous_posts_link) that I would like to be shown at all times. 

So I was thinking that for the homepage of my website that displays the latest posts in a typical blog fashion, I could include a different navigation (only on the homepage) that would display &#039;Previous&#039;  (next_posts_link)  and &#039;Next&#039;  (with no link attached - just text)  so that the &#039;Next&#039; link doesn&#039;t disappear.

How would I do this? Since at the moment my index.php file is acting as the template for all of the pages with blog entries.

Please let me know what you think would be the most logical way to do this.

Thanks so much. I really appreciate your help.

Rob</description>
		<content:encoded><![CDATA[<p>Hi Ryan,</p>
<p>Thanks so much for your suggestions.</p>
<p>Its interesting that an available method to solve this is so difficult to find. </p>
<p>I have yet to post this on the WP forums &#8211; I&#8217;ll try that along with writing to Mark Jaquith.</p>
<p>I did think of a solution, although I am having difficult working out how to do it exactly and I wanted to ask your advice.</p>
<p>Basically my navigation is an include file that consists of &#8216;Previous&#8217;  (next_posts_link) and &#8216;Next&#8217;  (previous_posts_link) that I would like to be shown at all times. </p>
<p>So I was thinking that for the homepage of my website that displays the latest posts in a typical blog fashion, I could include a different navigation (only on the homepage) that would display &#8216;Previous&#8217;  (next_posts_link)  and &#8216;Next&#8217;  (with no link attached &#8211; just text)  so that the &#8216;Next&#8217; link doesn&#8217;t disappear.</p>
<p>How would I do this? Since at the moment my index.php file is acting as the template for all of the pages with blog entries.</p>
<p>Please let me know what you think would be the most logical way to do this.</p>
<p>Thanks so much. I really appreciate your help.</p>
<p>Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.3roadsmedia.com/blog/improving-wordpress-page-navigation/#comment-1159</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Wed, 11 Jan 2012 18:31:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.3roadsmedia.com/?p=746#comment-1159</guid>
		<description>Hey Rob,

Your question makes perfect sense; I&#039;m just not sure if there &lt;em&gt;is&lt;/em&gt; a function that does what you want. Have you tried asking in the WP forums? Here are three possible solutions:

1. Try getting in touch with Mark Jaquith, lead dev for WordPress. His contact info is &lt;a href=&quot;http://txfx.net/contact/&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.

2. Try the &lt;a href=&quot;http://codex.wordpress.org/Function_Reference/get_next_post&quot; rel=&quot;nofollow&quot;&gt;get_next_post() function&lt;/a&gt;. I have no idea if it will work in your case, but I stumbled across it while looking for an answer.

3. Try the &lt;a href=&quot;http://www.ambrosite.com/plugins/next-previous-post-link-plus-for-wordpress&quot; rel=&quot;nofollow&quot;&gt;Next/Previous Post Link Plus plugin&lt;/a&gt;. It may or may not address your specific question, but it looks like it might offer an alternative for you.

Sorry I don&#039;t have a definitive answer -- hopefully one of those options helps!</description>
		<content:encoded><![CDATA[<p>Hey Rob,</p>
<p>Your question makes perfect sense; I&#8217;m just not sure if there <em>is</em> a function that does what you want. Have you tried asking in the WP forums? Here are three possible solutions:</p>
<p>1. Try getting in touch with Mark Jaquith, lead dev for WordPress. His contact info is <a href="http://txfx.net/contact/" rel="nofollow">here</a>.</p>
<p>2. Try the <a href="http://codex.wordpress.org/Function_Reference/get_next_post" rel="nofollow">get_next_post() function</a>. I have no idea if it will work in your case, but I stumbled across it while looking for an answer.</p>
<p>3. Try the <a href="http://www.ambrosite.com/plugins/next-previous-post-link-plus-for-wordpress" rel="nofollow">Next/Previous Post Link Plus plugin</a>. It may or may not address your specific question, but it looks like it might offer an alternative for you.</p>
<p>Sorry I don&#8217;t have a definitive answer &#8212; hopefully one of those options helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.3roadsmedia.com/blog/improving-wordpress-page-navigation/#comment-1158</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Wed, 11 Jan 2012 07:27:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.3roadsmedia.com/?p=746#comment-1158</guid>
		<description>Hello,

Is there a way to use this same feature but apply it to the standard next_posts_link and previous_posts_link to navigate backwards and forwards between pages that display several posts, without having either Previous or Next disappear on the very first and very last pages?

I hope my explanation makes sense.
Thanks so much for your help and time.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Is there a way to use this same feature but apply it to the standard next_posts_link and previous_posts_link to navigate backwards and forwards between pages that display several posts, without having either Previous or Next disappear on the very first and very last pages?</p>
<p>I hope my explanation makes sense.<br />
Thanks so much for your help and time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhishek</title>
		<link>http://www.3roadsmedia.com/blog/improving-wordpress-page-navigation/#comment-1130</link>
		<dc:creator>Abhishek</dc:creator>
		<pubDate>Thu, 08 Dec 2011 06:46:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.3roadsmedia.com/?p=746#comment-1130</guid>
		<description>Great tip. Thanks a lot!

-Abhi</description>
		<content:encoded><![CDATA[<p>Great tip. Thanks a lot!</p>
<p>-Abhi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.3roadsmedia.com/blog/improving-wordpress-page-navigation/#comment-1051</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Mon, 22 Aug 2011 16:13:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.3roadsmedia.com/?p=746#comment-1051</guid>
		<description>Hi Jessica,

Which version of WordPress are you running? Would you also mind sharing the code you&#039;re using? You can use the &lt; pre &gt; tag (without spaces) to wrap your code so it formats nicely.</description>
		<content:encoded><![CDATA[<p>Hi Jessica,</p>
<p>Which version of WordPress are you running? Would you also mind sharing the code you&#8217;re using? You can use the < pre > tag (without spaces) to wrap your code so it formats nicely.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jessica</title>
		<link>http://www.3roadsmedia.com/blog/improving-wordpress-page-navigation/#comment-1042</link>
		<dc:creator>Jessica</dc:creator>
		<pubDate>Fri, 19 Aug 2011 21:07:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.3roadsmedia.com/?p=746#comment-1042</guid>
		<description>Sorry, meant to specify too that I&#039;ve been building my own theme, &amp; wanted to ask if I could have left a function out or something that would make category exclusion work. Cheers!</description>
		<content:encoded><![CDATA[<p>Sorry, meant to specify too that I&#8217;ve been building my own theme, &amp; wanted to ask if I could have left a function out or something that would make category exclusion work. Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jessica</title>
		<link>http://www.3roadsmedia.com/blog/improving-wordpress-page-navigation/#comment-1041</link>
		<dc:creator>Jessica</dc:creator>
		<pubDate>Fri, 19 Aug 2011 21:05:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.3roadsmedia.com/?p=746#comment-1041</guid>
		<description>Hi--great tutorial! Thanks. I&#039;m just having trouble getting my categories excluded... thanks again, Jessica.</description>
		<content:encoded><![CDATA[<p>Hi&#8211;great tutorial! Thanks. I&#8217;m just having trouble getting my categories excluded&#8230; thanks again, Jessica.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.3roadsmedia.com/blog/improving-wordpress-page-navigation/#comment-1016</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Tue, 26 Jul 2011 16:23:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.3roadsmedia.com/?p=746#comment-1016</guid>
		<description>Awesome!

I&#039;m glad it worked for you! Also, it&#039;s good to know these functions are still alive and well in WP 3.x.</description>
		<content:encoded><![CDATA[<p>Awesome!</p>
<p>I&#8217;m glad it worked for you! Also, it&#8217;s good to know these functions are still alive and well in WP 3.x.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

