<?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: Help Changing Daily Archive Links</title>
	<atom:link href="http://livetardy.com/t1/help-changing-daily-archive-links/2008/01/11/feed/" rel="self" type="application/rss+xml" />
	<link>http://livetardy.com/t1/help-changing-daily-archive-links/2008/01/11/</link>
	<description>WordPress Tumblelog Theme - Use WordPress as a Tumblr Blog</description>
	<lastBuildDate>Sun, 06 Jun 2010 01:47:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: João Craveiro</title>
		<link>http://livetardy.com/t1/help-changing-daily-archive-links/2008/01/11/comment-page-1/#comment-30</link>
		<dc:creator>João Craveiro</dc:creator>
		<pubDate>Fri, 11 Jan 2008 21:01:51 +0000</pubDate>
		<guid isPermaLink="false">http://livetardy.com/t1/help-changing-daily-archive-links/2008/01/11/#comment-30</guid>
		<description>Well, indeed, now that I look at it again, it still needs one improvement. The the_date() function only outputs the date for the first time it is called for each date (so that there&#039;s only one indication of the day for two posts on the same day). But when this is the case, the link is still created around nothing (which I even think will break HTML validation, something some people value much).

The solution to the solution would this be something like:

&lt;code&gt;the_date(&#039;&#039;,
&quot;&lt;div class=\&quot;posted-date\&quot;&gt;&lt;h2&gt;&lt;a title=\&quot;Permanent link to&quot; . get_the_time(’F j, Y’).&quot;\&quot; href=\&quot;&quot; . get_day_link(get_the_time(’Y&#039;),get_the_time(’m&#039;),get_the_time(’d&#039;)).&quot;\&quot;&gt;&quot;,
&#039;&lt;/a&gt;&lt;/h2&gt;&lt;/div&gt;&#039;);&lt;/code&gt;

which is: using the the_date template tag with its parameters &quot;before&quot; and &quot;after&quot; adequately set. This way, when two posts share the same date, the second (and subsequent) to appear doesn&#039;t(/don&#039;t) bear the date nor an link without text.</description>
		<content:encoded><![CDATA[<p>Well, indeed, now that I look at it again, it still needs one improvement. The the_date() function only outputs the date for the first time it is called for each date (so that there&#8217;s only one indication of the day for two posts on the same day). But when this is the case, the link is still created around nothing (which I even think will break HTML validation, something some people value much).</p>
<p>The solution to the solution would this be something like:</p>
<p><code>the_date('',<br />
"&lt;div class=\"posted-date\"&gt;&lt;h2&gt;&lt;a title=\"Permanent link to" . get_the_time(’F j, Y’)."\" href=\"" . get_day_link(get_the_time(’Y'),get_the_time(’m'),get_the_time(’d'))."\"&gt;",<br />
'&lt;/a&gt;&lt;/h2&gt;&lt;/div&gt;');</code></p>
<p>which is: using the the_date template tag with its parameters &#8220;before&#8221; and &#8220;after&#8221; adequately set. This way, when two posts share the same date, the second (and subsequent) to appear doesn&#8217;t(/don&#8217;t) bear the date nor an link without text.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.327 seconds -->

