<?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: WordPress Smart Archives Reloaded&#8230; with added Fancy!</title>
	<atom:link href="http://www.conceptfusion.co.nz/2009/09/wordpress-smart-archives-reloaded-with-added-fancy/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.conceptfusion.co.nz/2009/09/wordpress-smart-archives-reloaded-with-added-fancy/</link>
	<description>WordPress, jQuery and Other Stuff</description>
	<lastBuildDate>Tue, 11 Oct 2011 00:24:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19719</generator>
	<item>
		<title>By: Simon</title>
		<link>http://www.conceptfusion.co.nz/2009/09/wordpress-smart-archives-reloaded-with-added-fancy/comment-page-1/#comment-2638</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Thu, 20 Jan 2011 23:39:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.conceptfusion.co.nz/?p=143#comment-2638</guid>
		<description>Hi Brian

No sorry, there&#039;s no way I can think of to easily achieve this programtically (with my limited PHP knowledge at least). &lt;a href=&quot;http://scribu.net/wordpress/smart-archives-reloaded&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Scribu&lt;/a&gt;, the original author/maintainer of the plugin, may be able to suggest a solution if you ask over on the &lt;a href=&quot;http://wordpress.org/tags/smart-archives-reloaded&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;main plugin page&lt;/a&gt;.

I had a play around however and you can achieve what you&#039;re after with a little jQuery/CSS magic! (I&#039;m not suggesting that this is by any means the &lt;em&gt;best&lt;/em&gt; way to do it and is is certainly not as elegant/clean as doing it in the php).

In your list format field on the Fancy Archives option screen add the %excerpt% place holder wrapped in a span and give it a unique class name:

[html]&lt;span class=&quot;archive_excerpt&quot;&gt;%excerpt%&lt;span&gt;%post_link% in %category% - %comment_count% comments[/html]

Then in your theme&#039;s stylesheet add:


[css]span.archive_excerpt { display: none; margin-bottom: 5px; }[/css]


and finally in the theme&#039;s header.php file add the following script:


[js]&lt;script type=&quot;text/javascript&quot;&gt;
	$(document).ready(function($){
		$(&#039;.pane ul li:first-child span.archive_excerpt&#039;).css(&quot;display&quot;, &quot;block&quot;);
	});
&lt;/script&gt;[/js]


And you&#039;re done!

I did note while testing this though that there seems to be a bug in the way the excerpt is added to the archive. If a post doesn&#039;t have an excerpt it displays the excerpt for the archive page itself. 

I&#039;ll raise this issue with Scribu so it will hopefully be fixed in a future release of the plugin.

Hope this helps!</description>
		<content:encoded><![CDATA[<p>Hi Brian</p>
<p>No sorry, there&#8217;s no way I can think of to easily achieve this programtically (with my limited PHP knowledge at least). <a href="http://scribu.net/wordpress/smart-archives-reloaded" target="_blank" rel="nofollow">Scribu</a>, the original author/maintainer of the plugin, may be able to suggest a solution if you ask over on the <a href="http://wordpress.org/tags/smart-archives-reloaded" target="_blank" rel="nofollow">main plugin page</a>.</p>
<p>I had a play around however and you can achieve what you&#8217;re after with a little jQuery/CSS magic! (I&#8217;m not suggesting that this is by any means the <em>best</em> way to do it and is is certainly not as elegant/clean as doing it in the php).</p>
<p>In your list format field on the Fancy Archives option screen add the %excerpt% place holder wrapped in a span and give it a unique class name:</p>
<pre class="brush: xml; title: ; notranslate">&lt;span class=&quot;archive_excerpt&quot;&gt;%excerpt%&lt;span&gt;%post_link% in %category% - %comment_count% comments</pre>
<p>Then in your theme&#8217;s stylesheet add:</p>
<pre class="brush: css; title: ; notranslate">span.archive_excerpt { display: none; margin-bottom: 5px; }</pre>
<p>and finally in the theme&#8217;s header.php file add the following script:</p>
<pre class="brush: jscript; title: ; notranslate">&lt;script type=&quot;text/javascript&quot;&gt;
	$(document).ready(function($){
		$('.pane ul li:first-child span.archive_excerpt').css(&quot;display&quot;, &quot;block&quot;);
	});
&lt;/script&gt;</pre>
<p>And you&#8217;re done!</p>
<p>I did note while testing this though that there seems to be a bug in the way the excerpt is added to the archive. If a post doesn&#8217;t have an excerpt it displays the excerpt for the archive page itself. </p>
<p>I&#8217;ll raise this issue with Scribu so it will hopefully be fixed in a future release of the plugin.</p>
<p>Hope this helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.conceptfusion.co.nz/2009/09/wordpress-smart-archives-reloaded-with-added-fancy/comment-page-1/#comment-2637</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 20 Jan 2011 17:50:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.conceptfusion.co.nz/?p=143#comment-2637</guid>
		<description>Hey man, love the plugin. Is there a way to list the excerpt for only the most recent post in the month?</description>
		<content:encoded><![CDATA[<p>Hey man, love the plugin. Is there a way to list the excerpt for only the most recent post in the month?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saad</title>
		<link>http://www.conceptfusion.co.nz/2009/09/wordpress-smart-archives-reloaded-with-added-fancy/comment-page-1/#comment-2586</link>
		<dc:creator>saad</dc:creator>
		<pubDate>Sat, 14 Nov 2009 13:13:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.conceptfusion.co.nz/?p=143#comment-2586</guid>
		<description>Awesome man.Cool</description>
		<content:encoded><![CDATA[<p>Awesome man.Cool</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Version 1.7 &#124; scribu</title>
		<link>http://www.conceptfusion.co.nz/2009/09/wordpress-smart-archives-reloaded-with-added-fancy/comment-page-1/#comment-2578</link>
		<dc:creator>Version 1.7 &#124; scribu</dc:creator>
		<pubDate>Wed, 30 Sep 2009 12:16:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.conceptfusion.co.nz/?p=143#comment-2578</guid>
		<description>[...] release was basically written by Simon Pritchard. I just added the finishing [...]</description>
		<content:encoded><![CDATA[<p>[...] release was basically written by Simon Pritchard. I just added the finishing [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://www.conceptfusion.co.nz/2009/09/wordpress-smart-archives-reloaded-with-added-fancy/comment-page-1/#comment-2577</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Wed, 30 Sep 2009 00:34:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.conceptfusion.co.nz/?p=143#comment-2577</guid>
		<description>Nick away... that&#039;s why you gotta love GPL</description>
		<content:encoded><![CDATA[<p>Nick away&#8230; that&#8217;s why you gotta love GPL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://www.conceptfusion.co.nz/2009/09/wordpress-smart-archives-reloaded-with-added-fancy/comment-page-1/#comment-2576</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Mon, 28 Sep 2009 08:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.conceptfusion.co.nz/?p=143#comment-2576</guid>
		<description>Great work Simon, this is a great enhancement. I just might nick it.</description>
		<content:encoded><![CDATA[<p>Great work Simon, this is a great enhancement. I just might nick it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

