<?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 for John the Developer</title>
	<atom:link href="http://www.johnthedeveloper.co.uk/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.johnthedeveloper.co.uk</link>
	<description>PHP Web Developer</description>
	<lastBuildDate>Tue, 22 Nov 2011 22:15:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>Comment on Show a Random Hero Banner Using Custom Post Types with WordPress 3.0 by simon</title>
		<link>http://www.johnthedeveloper.co.uk/tutorials/show-random-hero-banner-custom-post-types-wordpress-30/comment-page-1/#comment-151</link>
		<dc:creator>simon</dc:creator>
		<pubDate>Tue, 22 Nov 2011 22:15:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnthedeveloper.co.uk/?p=298#comment-151</guid>
		<description>seems to be a pretty good solution to get a random post. thanks for posting!</description>
		<content:encoded><![CDATA[<p>seems to be a pretty good solution to get a random post. thanks for posting!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding a CSS Class to the the Last LI Generated by wp_nav_menu() by Cody Rapley</title>
		<link>http://www.johnthedeveloper.co.uk/tutorials/adding-class-li-generated-wpnavmenu/comment-page-1/#comment-149</link>
		<dc:creator>Cody Rapley</dc:creator>
		<pubDate>Wed, 24 Aug 2011 02:21:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnthedeveloper.co.uk/?p=286#comment-149</guid>
		<description>Thanks John, worked great, much more reliable than using :last-child pseudo class.</description>
		<content:encoded><![CDATA[<p>Thanks John, worked great, much more reliable than using :last-child pseudo class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Show a Random Hero Banner Using Custom Post Types with WordPress 3.0 by John</title>
		<link>http://www.johnthedeveloper.co.uk/tutorials/show-random-hero-banner-custom-post-types-wordpress-30/comment-page-1/#comment-143</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 05 Jul 2011 21:17:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnthedeveloper.co.uk/?p=298#comment-143</guid>
		<description>Hi ds123, not sure to be honest. Feel free to post your code and ill take a look.</description>
		<content:encoded><![CDATA[<p>Hi ds123, not sure to be honest. Feel free to post your code and ill take a look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Show a Random Hero Banner Using Custom Post Types with WordPress 3.0 by ds123</title>
		<link>http://www.johnthedeveloper.co.uk/tutorials/show-random-hero-banner-custom-post-types-wordpress-30/comment-page-1/#comment-142</link>
		<dc:creator>ds123</dc:creator>
		<pubDate>Tue, 05 Jul 2011 03:13:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnthedeveloper.co.uk/?p=298#comment-142</guid>
		<description>Hi John this is exactly what i was hoping to do ...but i tried pasting the first part of your code into my functions.php and no banner type post shows up in the wordpress admin ..any idea why ?   i tried a wordpress example custom post and that one worked though thanks!</description>
		<content:encoded><![CDATA[<p>Hi John this is exactly what i was hoping to do &#8230;but i tried pasting the first part of your code into my functions.php and no banner type post shows up in the wordpress admin ..any idea why ?   i tried a wordpress example custom post and that one worked though thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding a CSS Class to the the Last LI Generated by wp_nav_menu() by John</title>
		<link>http://www.johnthedeveloper.co.uk/tutorials/adding-class-li-generated-wpnavmenu/comment-page-1/#comment-141</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 07 Jun 2011 08:25:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnthedeveloper.co.uk/?p=286#comment-141</guid>
		<description>Hi Konstantin, Yes it is clean code, nice work. 

Although it could get called quite a few times in an execution, not that this would be an issue with most WP builds.</description>
		<content:encoded><![CDATA[<p>Hi Konstantin, Yes it is clean code, nice work. </p>
<p>Although it could get called quite a few times in an execution, not that this would be an issue with most WP builds.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding a CSS Class to the the Last LI Generated by wp_nav_menu() by Konstantin</title>
		<link>http://www.johnthedeveloper.co.uk/tutorials/adding-class-li-generated-wpnavmenu/comment-page-1/#comment-140</link>
		<dc:creator>Konstantin</dc:creator>
		<pubDate>Tue, 07 Jun 2011 07:17:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnthedeveloper.co.uk/?p=286#comment-140</guid>
		<description>Wouldn&#039;t you agree, that this is much cleaner:
&lt;code&gt;
function add_last_item_class( $items ) {
	$items[count($items)]-&gt;classes[] = &#039;last&#039;;
	return $items;
}
add_filter( &#039;wp_nav_menu_objects&#039;, &#039;add_last_item_class&#039; );
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Wouldn&#8217;t you agree, that this is much cleaner:<br />
<code><br />
function add_last_item_class( $items ) {<br />
	$items[count($items)]-&gt;classes[] = 'last';<br />
	return $items;<br />
}<br />
add_filter( 'wp_nav_menu_objects', 'add_last_item_class' );<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding a CSS Class to the the Last LI Generated by wp_nav_menu() by Wordpress Web Design</title>
		<link>http://www.johnthedeveloper.co.uk/tutorials/adding-class-li-generated-wpnavmenu/comment-page-1/#comment-138</link>
		<dc:creator>Wordpress Web Design</dc:creator>
		<pubDate>Thu, 26 May 2011 06:49:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnthedeveloper.co.uk/?p=286#comment-138</guid>
		<description>I am always searching online for articles that can help me educate myself. Looking forward to another great post. Thanks</description>
		<content:encoded><![CDATA[<p>I am always searching online for articles that can help me educate myself. Looking forward to another great post. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding a CSS Class to the the Last LI Generated by wp_nav_menu() by Huroman</title>
		<link>http://www.johnthedeveloper.co.uk/tutorials/adding-class-li-generated-wpnavmenu/comment-page-1/#comment-136</link>
		<dc:creator>Huroman</dc:creator>
		<pubDate>Thu, 21 Apr 2011 08:31:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnthedeveloper.co.uk/?p=286#comment-136</guid>
		<description>Great post but i use the solution of @Pawiksd and, for me, is faster and easier.

Anyway, good tips.</description>
		<content:encoded><![CDATA[<p>Great post but i use the solution of @Pawiksd and, for me, is faster and easier.</p>
<p>Anyway, good tips.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding a CSS Class to the the Last LI Generated by wp_nav_menu() by Cosmin.</title>
		<link>http://www.johnthedeveloper.co.uk/tutorials/adding-class-li-generated-wpnavmenu/comment-page-1/#comment-135</link>
		<dc:creator>Cosmin.</dc:creator>
		<pubDate>Wed, 13 Apr 2011 16:40:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnthedeveloper.co.uk/?p=286#comment-135</guid>
		<description>@Pawiksd
Not all versions of Internet explorer support child selectors.</description>
		<content:encoded><![CDATA[<p>@Pawiksd<br />
Not all versions of Internet explorer support child selectors.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding a CSS Class to the the Last LI Generated by wp_nav_menu() by Pawiksd</title>
		<link>http://www.johnthedeveloper.co.uk/tutorials/adding-class-li-generated-wpnavmenu/comment-page-1/#comment-133</link>
		<dc:creator>Pawiksd</dc:creator>
		<pubDate>Wed, 16 Mar 2011 21:01:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnthedeveloper.co.uk/?p=286#comment-133</guid>
		<description>Great work:) 

I&#039;m using CSS to do that trick.

.menu li:first-child{
...
}
.menu li:last-child{
...
}

best regards</description>
		<content:encoded><![CDATA[<p>Great work:) </p>
<p>I&#8217;m using CSS to do that trick.</p>
<p>.menu li:first-child{<br />
&#8230;<br />
}<br />
.menu li:last-child{<br />
&#8230;<br />
}</p>
<p>best regards</p>
]]></content:encoded>
	</item>
</channel>
</rss>

