<?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: AZIndex: sort groupheader URL</title>
	<atom:link href="http://aytemir.com/blog/2010/02/12/azindex-sort-groupheader-url/feed/" rel="self" type="application/rss+xml" />
	<link>http://aytemir.com/blog/2010/02/12/azindex-sort-groupheader-url/</link>
	<description>Creative Daydreaming</description>
	<lastBuildDate>Sun, 11 Dec 2011 19:46:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: David Grant</title>
		<link>http://aytemir.com/blog/2010/02/12/azindex-sort-groupheader-url/comment-page-1/#comment-28033</link>
		<dc:creator>David Grant</dc:creator>
		<pubDate>Sun, 11 Dec 2011 19:46:10 +0000</pubDate>
		<guid isPermaLink="false">http://aytemir.com/?p=1112#comment-28033</guid>
		<description>Thank you! I have been beating my head against the wall for 3 hours trying to code exactly this hack. I couldn&#039;t find a way to output only the current heading&#039;s URL; I kept creating a string of all of them.
At any rate, thanks. I&#039;m using it for an index of categories with posts as subheads.</description>
		<content:encoded><![CDATA[<p>Thank you! I have been beating my head against the wall for 3 hours trying to code exactly this hack. I couldn&#8217;t find a way to output only the current heading&#8217;s URL; I kept creating a string of all of them.<br />
At any rate, thanks. I&#8217;m using it for an index of categories with posts as subheads.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tschai</title>
		<link>http://aytemir.com/blog/2010/02/12/azindex-sort-groupheader-url/comment-page-1/#comment-4477</link>
		<dc:creator>Tschai</dc:creator>
		<pubDate>Wed, 14 Apr 2010 06:33:21 +0000</pubDate>
		<guid isPermaLink="false">http://aytemir.com/?p=1112#comment-4477</guid>
		<description>Looks fine to me, although the original code is more compact.</description>
		<content:encoded><![CDATA[<p>Looks fine to me, although the original code is more compact.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dargpat</title>
		<link>http://aytemir.com/blog/2010/02/12/azindex-sort-groupheader-url/comment-page-1/#comment-4474</link>
		<dc:creator>dargpat</dc:creator>
		<pubDate>Wed, 14 Apr 2010 04:57:39 +0000</pubDate>
		<guid isPermaLink="false">http://aytemir.com/?p=1112#comment-4474</guid>
		<description>OK so after figuring out how to get_post_time to work this is what I came up with?  Is this too much?  What do you think?

After:

$link = get_permalink($item[&#039;id&#039;]);

I added:



                           $days = 14;
                           $statuss=&#039;&#039;;
                           $days = (int) $days;
	                   $offset = $days*60*60*24;

	                   if ( get_post_time($d=&#039;U&#039;,$gmt=false,$post=$item[&#039;id&#039;],$translate=false) &gt; date(&#039;U&#039;) - $offset ){

                              $statuss = &#039;&#039;;

                           }elseif ( get_post_modified_time($d=&#039;U&#039;,$gmt=false,$post=$item[&#039;id&#039;],$translate=false) &gt; date(&#039;U&#039;) - $offset ){

                              $statuss = &#039;&#039;;

                           }else{

                              $statuss = &#039;&#039;;

                           }

After that I add/echo $statuss in the output!

Seems to be working!</description>
		<content:encoded><![CDATA[<p>OK so after figuring out how to get_post_time to work this is what I came up with?  Is this too much?  What do you think?</p>
<p>After:</p>
<p>$link = get_permalink($item['id']);</p>
<p>I added:</p>
<p>                           $days = 14;<br />
                           $statuss=&#8221;;<br />
                           $days = (int) $days;<br />
	                   $offset = $days*60*60*24;</p>
<p>	                   if ( get_post_time($d=&#8217;U',$gmt=false,$post=$item['id'],$translate=false) &gt; date(&#8216;U&#8217;) &#8211; $offset ){</p>
<p>                              $statuss = &#8221;;</p>
<p>                           }elseif ( get_post_modified_time($d=&#8217;U',$gmt=false,$post=$item['id'],$translate=false) &gt; date(&#8216;U&#8217;) &#8211; $offset ){</p>
<p>                              $statuss = &#8221;;</p>
<p>                           }else{</p>
<p>                              $statuss = &#8221;;</p>
<p>                           }</p>
<p>After that I add/echo $statuss in the output!</p>
<p>Seems to be working!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dargpat</title>
		<link>http://aytemir.com/blog/2010/02/12/azindex-sort-groupheader-url/comment-page-1/#comment-4473</link>
		<dc:creator>dargpat</dc:creator>
		<pubDate>Wed, 14 Apr 2010 03:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://aytemir.com/?p=1112#comment-4473</guid>
		<description>Thanks for the referral!  I&#039;m not a wp expert and I&#039;m trying to understand how the script works.  I have been exhausting myself the last two days trying to get this to work with no luck ... can you please help with this hack.  Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks for the referral!  I&#8217;m not a wp expert and I&#8217;m trying to understand how the script works.  I have been exhausting myself the last two days trying to get this to work with no luck &#8230; can you please help with this hack.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tschai</title>
		<link>http://aytemir.com/blog/2010/02/12/azindex-sort-groupheader-url/comment-page-1/#comment-4429</link>
		<dc:creator>Tschai</dc:creator>
		<pubDate>Sat, 10 Apr 2010 09:15:16 +0000</pubDate>
		<guid isPermaLink="false">http://aytemir.com/?p=1112#comment-4429</guid>
		<description>You can use the code/tut here: http://wpengineer.com/if-post-is-older-than/

It works like a charm!</description>
		<content:encoded><![CDATA[<p>You can use the code/tut here: <a href="http://wpengineer.com/if-post-is-older-than/" rel="nofollow">http://wpengineer.com/if-post-is-older-than/</a></p>
<p>It works like a charm!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dargpat</title>
		<link>http://aytemir.com/blog/2010/02/12/azindex-sort-groupheader-url/comment-page-1/#comment-4425</link>
		<dc:creator>dargpat</dc:creator>
		<pubDate>Sat, 10 Apr 2010 03:57:18 +0000</pubDate>
		<guid isPermaLink="false">http://aytemir.com/?p=1112#comment-4425</guid>
		<description>How can I embed an image with the post links that are less than (lets say 7 days old) …   for instance I would like an image called new.gif to be added to the end of the text of all post links that are less than said days old.  Where in the code where I put this function and can you help me create it please.  Thanks</description>
		<content:encoded><![CDATA[<p>How can I embed an image with the post links that are less than (lets say 7 days old) …   for instance I would like an image called new.gif to be added to the end of the text of all post links that are less than said days old.  Where in the code where I put this function and can you help me create it please.  Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

