<?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/"
	xmlns:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: WordPress Tip: Add a Divider After All But Last Post</title>
	<atom:link href="http://www.elledoesit.com/on-the-computer/wordpress-tip-add-a-divider-after-all-but-last-post/feed" rel="self" type="application/rss+xml" />
	<link>http://www.elledoesit.com/on-the-computer/wordpress-tip-add-a-divider-after-all-but-last-post</link>
	<description>When life gives you lemons, make a nice warm cup of tea.</description>
	<lastBuildDate>Fri, 14 Jan 2011 07:33:48 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Justin newcastle</title>
		<link>http://www.elledoesit.com/on-the-computer/wordpress-tip-add-a-divider-after-all-but-last-post/comment-page-1#comment-6642</link>
		<dc:creator>Justin newcastle</dc:creator>
		<pubDate>Fri, 14 Jan 2011 07:33:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.elledoesit.com/?p=1408#comment-6642</guid>
		<description>Thank you very much for this code.

Small tip if anyone is having problems with getting it to work -

Change your &#039;blog pages to show at most&#039; in the reading section, in the wordpress administration panel, to a smaller number if you have less than 10 posts in your blog.

Cheers</description>
		<content:encoded><![CDATA[<p>Thank you very much for this code.</p>
<p>Small tip if anyone is having problems with getting it to work -</p>
<p>Change your &#8216;blog pages to show at most&#8217; in the reading section, in the wordpress administration panel, to a smaller number if you have less than 10 posts in your blog.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shan @ Last Shreds Of Sanity</title>
		<link>http://www.elledoesit.com/on-the-computer/wordpress-tip-add-a-divider-after-all-but-last-post/comment-page-1#comment-4779</link>
		<dc:creator>Shan @ Last Shreds Of Sanity</dc:creator>
		<pubDate>Sat, 06 Nov 2010 02:19:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.elledoesit.com/?p=1408#comment-4779</guid>
		<description>This did not work for me. I am using the WP-Ellie theme and WP 3.0.1.</description>
		<content:encoded><![CDATA[<p>This did not work for me. I am using the WP-Ellie theme and WP 3.0.1.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K@design</title>
		<link>http://www.elledoesit.com/on-the-computer/wordpress-tip-add-a-divider-after-all-but-last-post/comment-page-1#comment-1153</link>
		<dc:creator>K@design</dc:creator>
		<pubDate>Thu, 20 May 2010 15:42:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.elledoesit.com/?p=1408#comment-1153</guid>
		<description>@ &lt;a href=&quot;#comment-52&quot; rel=&quot;nofollow&quot;&gt;pepelsbey&lt;/a&gt; - Can you explain more how I can do this? I changed what I thought you meant, but I have no dividers at all. Thanks very much.</description>
		<content:encoded><![CDATA[<p>@ <a class="atr_link" href="#comment-52" rel="nofollow">pepelsbey</a> &#8211; Can you explain more how I can do this? I changed what I thought you meant, but I have no dividers at all. Thanks very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to display Wordpress posts in two columns</title>
		<link>http://www.elledoesit.com/on-the-computer/wordpress-tip-add-a-divider-after-all-but-last-post/comment-page-1#comment-653</link>
		<dc:creator>How to display Wordpress posts in two columns</dc:creator>
		<pubDate>Thu, 25 Feb 2010 18:33:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.elledoesit.com/?p=1408#comment-653</guid>
		<description>[...] found another post about styling the last post on a page which got me most of the rest of the [...]</description>
		<content:encoded><![CDATA[<p>[...] found another post about styling the last post on a page which got me most of the rest of the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Basch</title>
		<link>http://www.elledoesit.com/on-the-computer/wordpress-tip-add-a-divider-after-all-but-last-post/comment-page-1#comment-540</link>
		<dc:creator>Derek Basch</dc:creator>
		<pubDate>Fri, 29 Jan 2010 21:09:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.elledoesit.com/?p=1408#comment-540</guid>
		<description>The blog stripped the HTML out of my last comment. Here is it again:

-------------------------------------------------------------

$postcounter = 0;

foreach($posts as $post) {

$postcounter++;

setup_postdata($post);

the_content();

if ($postcounter != count($wp_query-&gt;posts)) {
?&gt;
###DIVIDER GOES HERE###
&lt;?php
}
}

-------------------------------------------------------------</description>
		<content:encoded><![CDATA[<p>The blog stripped the HTML out of my last comment. Here is it again:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>$postcounter = 0;</p>
<p>foreach($posts as $post) {</p>
<p>$postcounter++;</p>
<p>setup_postdata($post);</p>
<p>the_content();</p>
<p>if ($postcounter != count($wp_query-&gt;posts)) {<br />
?&gt;<br />
###DIVIDER GOES HERE###<br />
&lt;?php<br />
}<br />
}</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Basch</title>
		<link>http://www.elledoesit.com/on-the-computer/wordpress-tip-add-a-divider-after-all-but-last-post/comment-page-1#comment-539</link>
		<dc:creator>Derek Basch</dc:creator>
		<pubDate>Fri, 29 Jan 2010 21:07:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.elledoesit.com/?p=1408#comment-539</guid>
		<description>Here is the solution that I created for this problem. I think it is a bit more flexible than the method above. It uses the actual number of posts in the loop rather than the default number of posts shown on the page.

------------------------------------------------------------

	$postcounter = 0;
	   
	foreach($posts as $post) {
		
		$postcounter++;
		 
	        setup_postdata($post);
	    
		the_content(); 
		
		if ($postcounter != count($wp_query-&gt;posts)) { 
		?&gt;
			 
		&lt;?php 
		}	
	}

------------------------------------------------------------

I hope that helps someone.

Cheers,
Derek</description>
		<content:encoded><![CDATA[<p>Here is the solution that I created for this problem. I think it is a bit more flexible than the method above. It uses the actual number of posts in the loop rather than the default number of posts shown on the page.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>	$postcounter = 0;</p>
<p>	foreach($posts as $post) {</p>
<p>		$postcounter++;</p>
<p>	        setup_postdata($post);</p>
<p>		the_content(); </p>
<p>		if ($postcounter != count($wp_query-&gt;posts)) {<br />
		?&gt;</p>
<p>		&lt;?php<br />
		}<br />
	}</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>I hope that helps someone.</p>
<p>Cheers,<br />
Derek</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor</title>
		<link>http://www.elledoesit.com/on-the-computer/wordpress-tip-add-a-divider-after-all-but-last-post/comment-page-1#comment-315</link>
		<dc:creator>Victor</dc:creator>
		<pubDate>Tue, 03 Nov 2009 21:25:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.elledoesit.com/?p=1408#comment-315</guid>
		<description>Believe it or not I struggled with this for a while. Thanks For the tip.</description>
		<content:encoded><![CDATA[<p>Believe it or not I struggled with this for a while. Thanks For the tip.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ElleDoesIt</title>
		<link>http://www.elledoesit.com/on-the-computer/wordpress-tip-add-a-divider-after-all-but-last-post/comment-page-1#comment-129</link>
		<dc:creator>ElleDoesIt</dc:creator>
		<pubDate>Wed, 25 Feb 2009 04:35:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.elledoesit.com/?p=1408#comment-129</guid>
		<description>Hi Jeff. That&#039;s very interesting. It&#039;s working well for me with a couple of different themes but your theme may be a bit different. Would you mind either telling me what theme you&#039;re using, or, if you&#039;ve made any changes to it, sending me the archive.php file from your theme? My address is elle / elledoesit.com. Thanks.</description>
		<content:encoded><![CDATA[<p>Hi Jeff. That&#8217;s very interesting. It&#8217;s working well for me with a couple of different themes but your theme may be a bit different. Would you mind either telling me what theme you&#8217;re using, or, if you&#8217;ve made any changes to it, sending me the archive.php file from your theme? My address is elle / elledoesit.com. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.elledoesit.com/on-the-computer/wordpress-tip-add-a-divider-after-all-but-last-post/comment-page-1#comment-128</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Wed, 25 Feb 2009 02:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.elledoesit.com/?p=1408#comment-128</guid>
		<description>Elle, that worked great, but the only other problem now is,   I have my # of post to show set to 10.  However, after 7 posts, it doesn&#039;t display the divider and proceeds to put the divider under post 8, 9 and 10?   Thanks so much for your help!</description>
		<content:encoded><![CDATA[<p>Elle, that worked great, but the only other problem now is,   I have my # of post to show set to 10.  However, after 7 posts, it doesn&#8217;t display the divider and proceeds to put the divider under post 8, 9 and 10?   Thanks so much for your help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ElleDoesIt</title>
		<link>http://www.elledoesit.com/on-the-computer/wordpress-tip-add-a-divider-after-all-but-last-post/comment-page-1#comment-122</link>
		<dc:creator>ElleDoesIt</dc:creator>
		<pubDate>Tue, 24 Feb 2009 04:44:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.elledoesit.com/?p=1408#comment-122</guid>
		<description>Hi Jeff. Thanks for the comment. Try removing the &quot;query_posts&quot; line and see if that works for you.</description>
		<content:encoded><![CDATA[<p>Hi Jeff. Thanks for the comment. Try removing the &#8220;query_posts&#8221; line and see if that works for you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

