<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Topic: get_year_link appears broken in WordPress 2.8</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: get_year_link appears broken in WordPress 2.8</description>
<language>en</language>
<pubDate>Thu, 26 Nov 2009 05:18:14 +0000</pubDate>

<item>
<title>chetan on "get_year_link appears broken in WordPress 2.8"</title>
<link>http://wordpress.org/support/topic/279103#post-1102157</link>
<pubDate>Sat, 13 Jun 2009 17:10:19 +0000</pubDate>
<dc:creator>chetan</dc:creator>
<guid isPermaLink="false">1102157@http://wordpress.org/support/</guid>
<description>&#60;p&#62;@MichaelH: Yes, it's now working, because I had to change my Permalink structure. WordPress 2.8 forces me *not* to use /archives/%postname% as a permalink structure for the yearly archive to work.
&#60;/p&#62;</description>
</item>
<item>
<title>MichaelH on "get_year_link appears broken in WordPress 2.8"</title>
<link>http://wordpress.org/support/topic/279103#post-1101944</link>
<pubDate>Sat, 13 Jun 2009 13:51:07 +0000</pubDate>
<dc:creator>MichaelH</dc:creator>
<guid isPermaLink="false">1101944@http://wordpress.org/support/</guid>
<description>&#60;p&#62;This seems to be working right:&#60;br /&#62;
&#60;a href=&#34;http://ckunte.com/archives/2009&#34; rel=&#34;nofollow&#34;&#62;http://ckunte.com/archives/2009&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>chetan on "get_year_link appears broken in WordPress 2.8"</title>
<link>http://wordpress.org/support/topic/279103#post-1100591</link>
<pubDate>Fri, 12 Jun 2009 14:46:11 +0000</pubDate>
<dc:creator>chetan</dc:creator>
<guid isPermaLink="false">1100591@http://wordpress.org/support/</guid>
<description>&#60;p&#62;@MichaelH: Grateful for your help. Plugins are not an issue. I checked all of them turned off. Could the behavior have something to do with this following line I have before the loop in archive.php:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;?php query_posts($query_string.&#38;#39;&#38;amp;posts_per_page=50&#38;#39;); ?&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I use the above to override the number of posts displayed in an archive page. (e.g.,: &#60;a href=&#34;http://ckunte.com/archives/2009/01&#34; rel=&#34;nofollow&#34;&#62;http://ckunte.com/archives/2009/01&#60;/a&#62; ). &#60;/p&#62;
&#60;p&#62;Funny thing is, this query_posts call is working just fine for listing monthly archive (example above), and for listing day archive (e.g.,: &#60;a href=&#34;http://ckunte.com/archives/2009/01/16&#34; rel=&#34;nofollow&#34;&#62;http://ckunte.com/archives/2009/01/16&#60;/a&#62; ). If the query_string works for the month, and the day, I wonder this url &#60;a href=&#34;http://ckunte.com/archives/2009&#34; rel=&#34;nofollow&#34;&#62;http://ckunte.com/archives/2009&#60;/a&#62; keeps listing only the main archives page &#60;a href=&#34;http://ckunte.com/archives&#34; rel=&#34;nofollow&#34;&#62;http://ckunte.com/archives&#60;/a&#62; ?&#60;/p&#62;
&#60;p&#62;Any ideas? &#60;/p&#62;
&#60;p&#62;Again, as I said earlier, not a single line of code has been changed since 2.7.1 in which it worked flawlessly, and not a single plugin (with the exception of the latest Akismet) has been added or upgraded.
&#60;/p&#62;</description>
</item>
<item>
<title>MichaelH on "get_year_link appears broken in WordPress 2.8"</title>
<link>http://wordpress.org/support/topic/279103#post-1100438</link>
<pubDate>Fri, 12 Jun 2009 13:10:17 +0000</pubDate>
<dc:creator>MichaelH</dc:creator>
<guid isPermaLink="false">1100438@http://wordpress.org/support/</guid>
<description>&#60;p&#62;This code, just before the loop:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php $arc_year = get_the_time(&#38;#39;Y&#38;#39;); ?&#38;gt;
&#38;lt;a href=&#38;quot;&#38;lt;?php echo get_year_link($arc_year); ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php the_time(&#38;#39;Y&#38;#39;); ?&#38;gt; archive&#38;lt;/a&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;worked just fine for me using the WordPress Default theme.  Wonder if a plugin is causing the problem.
&#60;/p&#62;</description>
</item>
<item>
<title>chetan on "get_year_link appears broken in WordPress 2.8"</title>
<link>http://wordpress.org/support/topic/279103#post-1100246</link>
<pubDate>Fri, 12 Jun 2009 09:02:02 +0000</pubDate>
<dc:creator>chetan</dc:creator>
<guid isPermaLink="false">1100246@http://wordpress.org/support/</guid>
<description>&#60;p&#62;It looks like &#60;code&#62;get_year_link()&#60;/code&#62; is not working as intended. The URL does pick-up the query as seen in the address bar, but does not display posts for the year. This worked flawlessly in 2.7.1.&#60;/p&#62;
&#60;p&#62;What happened? Give it a try by following the example on this Codex page: &#60;a href=&#34;http://codex.wordpress.org/Function_Reference/get_year_link&#34;&#62;http://codex.wordpress.org/Function_Reference/get_year_link&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here's the code I am using on my site: &#60;a href=&#34;http://ckunte.com/archives/dateline&#34;&#62;http://ckunte.com/archives/dateline&#60;/a&#62;
&#60;/p&#62;</description>
</item>

</channel>
</rss>
