<?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 for scriptygoddess</title>
	<atom:link href="http://www.scriptygoddess.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptygoddess.com</link>
	<description></description>
	<lastBuildDate>Tue, 10 Jan 2012 01:21:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Put comments on a separate page (in wordpress) by Curt</title>
		<link>http://www.scriptygoddess.com/archives/2008/11/08/put-comments-on-a-separate-page-in-wordpress/comment-page-1/#comment-687460</link>
		<dc:creator>Curt</dc:creator>
		<pubDate>Tue, 10 Jan 2012 01:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1543#comment-687460</guid>
		<description>If anyone comes across this with similar issues I was able to sort out the pagination issues painlessly with easyCommentsPaginate from http://www.mushtitude.com/

Thanks for the great tutorial!</description>
		<content:encoded><![CDATA[<p>If anyone comes across this with similar issues I was able to sort out the pagination issues painlessly with easyCommentsPaginate from <a href="http://www.mushtitude.com/" rel="nofollow">http://www.mushtitude.com/</a></p>
<p>Thanks for the great tutorial!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress Pagination Woes (solved? I hope?) by Christopher</title>
		<link>http://www.scriptygoddess.com/archives/2011/02/23/wordpress-pagination-woes-solved-i-hope/comment-page-1/#comment-687047</link>
		<dc:creator>Christopher</dc:creator>
		<pubDate>Thu, 05 Jan 2012 19:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1674#comment-687047</guid>
		<description>Yeah, it is indeed hard to do.  And something remains elusive about why the pagination never worked.  I tried everything I could find.  Regardless, I do appreciate the time you put in, and ultimately I think it was this dialog which sparked the thought to restructure the categories.

And please do select one of my fine art pieces you like, and I will gladly send it your way.  Thanks again.</description>
		<content:encoded><![CDATA[<p>Yeah, it is indeed hard to do.  And something remains elusive about why the pagination never worked.  I tried everything I could find.  Regardless, I do appreciate the time you put in, and ultimately I think it was this dialog which sparked the thought to restructure the categories.</p>
<p>And please do select one of my fine art pieces you like, and I will gladly send it your way.  Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress Pagination Woes (solved? I hope?) by Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2011/02/23/wordpress-pagination-woes-solved-i-hope/comment-page-1/#comment-687035</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Thu, 05 Jan 2012 17:23:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1674#comment-687035</guid>
		<description>Hi Christopher, always hard to bug test stuff like that remotely. Sorry those didn&#039;t help. Glad you found a solution though :)</description>
		<content:encoded><![CDATA[<p>Hi Christopher, always hard to bug test stuff like that remotely. Sorry those didn&#039;t help. Glad you found a solution though <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress Pagination Woes (solved? I hope?) by Christopher</title>
		<link>http://www.scriptygoddess.com/archives/2011/02/23/wordpress-pagination-woes-solved-i-hope/comment-page-1/#comment-687032</link>
		<dc:creator>Christopher</dc:creator>
		<pubDate>Thu, 05 Jan 2012 15:58:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1674#comment-687032</guid>
		<description>Thank you again, Jennifer.  I tried all that you suggested to no avail.  After I made the changes, not even the first page pulled any results.  It too pulled the 404 error.

I decided to change the category structure so that my recent-works category was now the top category over all my art work.  I put all other art categories under it.  Now I no longer have to build a custom query, rather all I have to do is filter for the last 120 days.

Thank you for all your help.  If you would like, please browse through my fine art pieces, and I will gladly send you one for your service.  Email me the title you want along with your mailing address, and I will send it out to you.</description>
		<content:encoded><![CDATA[<p>Thank you again, Jennifer.  I tried all that you suggested to no avail.  After I made the changes, not even the first page pulled any results.  It too pulled the 404 error.</p>
<p>I decided to change the category structure so that my recent-works category was now the top category over all my art work.  I put all other art categories under it.  Now I no longer have to build a custom query, rather all I have to do is filter for the last 120 days.</p>
<p>Thank you for all your help.  If you would like, please browse through my fine art pieces, and I will gladly send you one for your service.  Email me the title you want along with your mailing address, and I will send it out to you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress Pagination Woes (solved? I hope?) by Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2011/02/23/wordpress-pagination-woes-solved-i-hope/comment-page-1/#comment-686983</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Thu, 05 Jan 2012 08:14:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1674#comment-686983</guid>
		<description>Ok - here&#039;s what I have working for me. You&#039;ll have to use that function to change the pre_get_posts value on archive pages... like this:
http://pastebin.com/ifLpC6rt
(that goes in your functions file)
This is so that you don&#039;t get that 404 - WordPress will throw the 404 before running your query and seeing that you actually changed the number of posts per page...
Then you have to use a custom select query for the posts (otherwise what we did above to force the change in posts_per_page will override any &quot;posts_per_page&quot; setting we put in query_posts...
http://pastebin.com/ux7ZS7LK
(then change &quot;endwhile&quot; to &quot;endforeach&quot;...

hope that makes sense..</description>
		<content:encoded><![CDATA[<p>Ok &#8211; here&#039;s what I have working for me. You&#039;ll have to use that function to change the pre_get_posts value on archive pages&#8230; like this:<br />
<a href="http://pastebin.com/ifLpC6rt" rel="nofollow">http://pastebin.com/ifLpC6rt</a><br />
(that goes in your functions file)<br />
This is so that you don&#039;t get that 404 &#8211; WordPress will throw the 404 before running your query and seeing that you actually changed the number of posts per page&#8230;<br />
Then you have to use a custom select query for the posts (otherwise what we did above to force the change in posts_per_page will override any &#034;posts_per_page&#034; setting we put in query_posts&#8230;<br />
<a href="http://pastebin.com/ux7ZS7LK" rel="nofollow">http://pastebin.com/ux7ZS7LK</a><br />
(then change &#034;endwhile&#034; to &#034;endforeach&#034;&#8230;</p>
<p>hope that makes sense..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress Pagination Woes (solved? I hope?) by Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2011/02/23/wordpress-pagination-woes-solved-i-hope/comment-page-1/#comment-686977</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Thu, 05 Jan 2012 07:27:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1674#comment-686977</guid>
		<description>Ok - I&#039;m getting close. I can tell you WHY it&#039;s happening but don&#039;t have a solution yet. You&#039;re fighting against the default posts_per_page setting. So as a test - under &quot;reading settings&quot; - if you changed &quot;Blog pages show at most&quot; and set that to 9 - my guess is your next/previous links will work. (It did in my test).

I ran into a similar issue at one time trying to change the number of posts on a search results page. I used a solution from here to fix it:
http://wordpress.stackexchange.com/questions/21/show-a-different-number-of-posts-per-page-depending-on-context-e-g-homepage
But my first attempts at trying to get it to work on the category archive page, didn&#039;t work. Still need to test more - but maybe that gives you some more information about the problem...</description>
		<content:encoded><![CDATA[<p>Ok &#8211; I&#039;m getting close. I can tell you WHY it&#039;s happening but don&#039;t have a solution yet. You&#039;re fighting against the default posts_per_page setting. So as a test &#8211; under &#034;reading settings&#034; &#8211; if you changed &#034;Blog pages show at most&#034; and set that to 9 &#8211; my guess is your next/previous links will work. (It did in my test).</p>
<p>I ran into a similar issue at one time trying to change the number of posts on a search results page. I used a solution from here to fix it:<br />
<a href="http://wordpress.stackexchange.com/questions/21/show-a-different-number-of-posts-per-page-depending-on-context-e-g-homepage" rel="nofollow">http://wordpress.stackexchange.com/questions/21/show-a-different-number-of-posts-per-page-depending-on-context-e-g-homepage</a><br />
But my first attempts at trying to get it to work on the category archive page, didn&#039;t work. Still need to test more &#8211; but maybe that gives you some more information about the problem&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress Pagination Woes (solved? I hope?) by Christopher</title>
		<link>http://www.scriptygoddess.com/archives/2011/02/23/wordpress-pagination-woes-solved-i-hope/comment-page-1/#comment-686903</link>
		<dc:creator>Christopher</dc:creator>
		<pubDate>Wed, 04 Jan 2012 20:32:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1674#comment-686903</guid>
		<description>Jennifer,
Thank you for your response.  I tried having the $paged value set first as you suggested and the result was the same.  Here is the url where I am trying this. 

http://theviolent.net/recent-works
http://theviolent.net/recent-works/page/2/  {produces the 404 error}

I tried using the $wpdb-&gt;get_results as you have in your example only to find that the &quot;WHERE&quot; filter was not being applied and was returning all posts.  

I have tried to assign the $wp_query-&gt;found_posts and $wp_query-&gt;max_number_of_pages before the 1st query_posts call, between the two, and after the 2nd.
The following pastebin is my entire file with assignment after the 2nd query_posts.  
http://pastebin.com/N1D5d3Z4</description>
		<content:encoded><![CDATA[<p>Jennifer,<br />
Thank you for your response.  I tried having the $paged value set first as you suggested and the result was the same.  Here is the url where I am trying this. </p>
<p><a href="http://theviolent.net/recent-works" rel="nofollow">http://theviolent.net/recent-works</a><br />
<a href="http://theviolent.net/recent-works/page/2/" rel="nofollow">http://theviolent.net/recent-works/page/2/</a>  {produces the 404 error}</p>
<p>I tried using the $wpdb-&gt;get_results as you have in your example only to find that the &#034;WHERE&#034; filter was not being applied and was returning all posts.  </p>
<p>I have tried to assign the $wp_query-&gt;found_posts and $wp_query-&gt;max_number_of_pages before the 1st query_posts call, between the two, and after the 2nd.<br />
The following pastebin is my entire file with assignment after the 2nd query_posts.<br />
<a href="http://pastebin.com/N1D5d3Z4" rel="nofollow">http://pastebin.com/N1D5d3Z4</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress Pagination Woes (solved? I hope?) by Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2011/02/23/wordpress-pagination-woes-solved-i-hope/comment-page-1/#comment-686890</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Wed, 04 Jan 2012 18:03:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1674#comment-686890</guid>
		<description>Ok - I THINK I figured out your issue Christopher. I tested this on a local 3.3.1 install. So two things: 

Issue 1) (This is more a note about my original post above - you weren&#039;t doing this...) The page vs paged issue may have changed. I could now only get the actual page number using:
$paged = (get_query_var(&#039;paged&#039;)) ? get_query_var(&#039;paged&#039;) : 1;
even though I was running the test on the homepage. So that issue may now be null/void.

Issue 2) You need to get the page number BEFORE!!! you run that first &quot;query_posts&quot; (on your line 9 in that pastebin code)... otherwise - the page number will be based on that query_posts call which will always show the page number as &quot;1&quot;... So move try this instead and let me know how we do:
http://pastebin.com/ft1FiCan

The thing that probably makes this confusing is that in my example above - I pull that paged variable after my sql query - but I don&#039;t use query_posts to get the total number of posts - although that works fine.. the problem comes if you&#039;re trying to get original query vars... by pulling the total number of posts - you&#039;ve just reset all those original query vars) :) so just grab those query vars BEFORE you change the page query...

Hopefully that makes sense. :)</description>
		<content:encoded><![CDATA[<p>Ok &#8211; I THINK I figured out your issue Christopher. I tested this on a local 3.3.1 install. So two things: </p>
<p>Issue 1) (This is more a note about my original post above &#8211; you weren&#039;t doing this&#8230;) The page vs paged issue may have changed. I could now only get the actual page number using:<br />
$paged = (get_query_var(&#039;paged&#039;)) ? get_query_var(&#039;paged&#039;) : 1;<br />
even though I was running the test on the homepage. So that issue may now be null/void.</p>
<p>Issue 2) You need to get the page number BEFORE!!! you run that first &#034;query_posts&#034; (on your line 9 in that pastebin code)&#8230; otherwise &#8211; the page number will be based on that query_posts call which will always show the page number as &#034;1&#034;&#8230; So move try this instead and let me know how we do:<br />
<a href="http://pastebin.com/ft1FiCan" rel="nofollow">http://pastebin.com/ft1FiCan</a></p>
<p>The thing that probably makes this confusing is that in my example above &#8211; I pull that paged variable after my sql query &#8211; but I don&#039;t use query_posts to get the total number of posts &#8211; although that works fine.. the problem comes if you&#039;re trying to get original query vars&#8230; by pulling the total number of posts &#8211; you&#039;ve just reset all those original query vars) <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  so just grab those query vars BEFORE you change the page query&#8230;</p>
<p>Hopefully that makes sense. <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress Pagination Woes (solved? I hope?) by Christopher</title>
		<link>http://www.scriptygoddess.com/archives/2011/02/23/wordpress-pagination-woes-solved-i-hope/comment-page-1/#comment-686879</link>
		<dc:creator>Christopher</dc:creator>
		<pubDate>Wed, 04 Jan 2012 16:26:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1674#comment-686879</guid>
		<description>I have been trying to get pagination to work with a custom query on a custom template which uses a date filter to query posts from the last four months. The navigation link appears but always returns a not found error for the 2nd page.

I tried to implement the solution you offered, but am having the exact same results.  Can you tell by looking if there is something obvious that I may have overlooked?

Here is a code snipet.  http://pastebin.com/1Wjv7exa

Thanks,
--christopher</description>
		<content:encoded><![CDATA[<p>I have been trying to get pagination to work with a custom query on a custom template which uses a date filter to query posts from the last four months. The navigation link appears but always returns a not found error for the 2nd page.</p>
<p>I tried to implement the solution you offered, but am having the exact same results.  Can you tell by looking if there is something obvious that I may have overlooked?</p>
<p>Here is a code snipet.  <a href="http://pastebin.com/1Wjv7exa" rel="nofollow">http://pastebin.com/1Wjv7exa</a></p>
<p>Thanks,<br />
&#8211;christopher</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Put comments on a separate page (in wordpress) by Curt</title>
		<link>http://www.scriptygoddess.com/archives/2008/11/08/put-comments-on-a-separate-page-in-wordpress/comment-page-1/#comment-686219</link>
		<dc:creator>Curt</dc:creator>
		<pubDate>Fri, 30 Dec 2011 09:13:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1543#comment-686219</guid>
		<description>Pretty cool. But having major problems with WP 3.3 and my custom layout. Anyway to do this without the 
?show=comments
Either that or can someone show me the way to editing the pagination?</description>
		<content:encoded><![CDATA[<p>Pretty cool. But having major problems with WP 3.3 and my custom layout. Anyway to do this without the<br />
?show=comments<br />
Either that or can someone show me the way to editing the pagination?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

