<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The English Guy Web Design &#187; wordpress 2.7</title>
	<atom:link href="http://www.theenglishguy.co.uk/tag/wordpress-27/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theenglishguy.co.uk</link>
	<description>Web Design, WordPress/Drupal blog design &#38; theming, SEO, css. xhtml, php, coldfusion, jquery and more...</description>
	<lastBuildDate>Tue, 31 Jan 2012 23:47:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>post_class() and backwards compatibility</title>
		<link>http://www.theenglishguy.co.uk/2008/12/31/post_class-and-backwards-compatibility/</link>
		<comments>http://www.theenglishguy.co.uk/2008/12/31/post_class-and-backwards-compatibility/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 17:03:22 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress theme]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[xhtml]]></category>
		<category><![CDATA[post_class]]></category>
		<category><![CDATA[wordpress 2.7]]></category>

		<guid isPermaLink="false">http://www.theenglishguy.co.uk/?p=1579</guid>
		<description><![CDATA[There are several good guides to modifying your old WordPress (pre-2.7) themes to the new WordPress 2.7 and they cover [...]]]></description>
			<content:encoded><![CDATA[<p>There are several good guides to modifying your old WordPress (pre-2.7) themes to the new <strong>WordPress 2.7</strong> and they cover pretty much everything. One thing to remember though is that some of the new features and functions added in will only be present with <strong>WordPress 2.7</strong>.</p>
<p>This is the case with the new <em>post_class()</em> function which adds in class names for the post box. The <a href="http://codex.wordpress.org/Migrating_Plugins_and_Themes_to_2.7#Post_Classes">Codex</a> puts it like this:</p>
<blockquote cite="http://codex.wordpress.org/Migrating_Plugins_and_Themes_to_2.7#Post_Classes"><p>
The post_class() outputs the class=&#8221;whatever&#8221; piece for that div. This includes several different classes of value: post, hentry (for hAtom microformat pages), category-X (where X is the slug of every category the post is in), and tag-X (similar, but with tags). It also adds &#8220;sticky&#8221; for posts marked as sticky posts. These make it easy to style different parts of the theme in different ways.
</p></blockquote>
<p>Adding it the loop in the right place like this:</p>
<blockquote><p>
&lt;div id=&#8221;post-&lt;?php the_ID(); ?&gt;&#8221; &lt;?php post_class(); ?&gt;&gt;
</p></blockquote>
<p>This causes problems when you have a theme that you want to be backwards-compatible with prior versions of WordPress. So you need to change it to this:</p>
<blockquote><p>
&lt;?php if (function_exists(&#8220;post_class&#8221;)) { ?&gt;<br />
&nbsp;&nbsp;&lt;div id=&#8221;post-&lt;?php the_ID(); ?&gt;&#8221; &lt;?php post_class(); ?&gt;&gt;<br />
&lt;?php } else { ?&gt;<br />
&nbsp;&nbsp;&lt;div id=&#8221;post-&lt;?php the_ID(); ?&gt;&#8221;&gt;<br />
&lt;?php } ?&gt;
</p></blockquote>
<p>Now it works with previous WordPress versions!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theenglishguy.co.uk/2008/12/31/post_class-and-backwards-compatibility/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress 2.7 Theme Designs</title>
		<link>http://www.theenglishguy.co.uk/2008/12/30/wordpress-27-theme-designs/</link>
		<comments>http://www.theenglishguy.co.uk/2008/12/30/wordpress-27-theme-designs/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 11:10:12 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress theme]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[xhtml]]></category>
		<category><![CDATA[coltrane]]></category>
		<category><![CDATA[wordpress 2.7]]></category>

		<guid isPermaLink="false">http://www.theenglishguy.co.uk/?p=1571</guid>
		<description><![CDATA[I have had the chance since WordPress 2.7 &#8220;Coltrane&#8221; came out to update one or two of my wordpress themes. [...]]]></description>
			<content:encoded><![CDATA[<p>I have had the chance since WordPress 2.7 &#8220;Coltrane&#8221; came out to update one or two of my <a href="http://www.theenglishguy.co.uk/wordpress-themes/" rel="tag">wordpress themes</a>. This has not been a difficult task per se, but just a little time consuming getting things right. A few more posts will detail some of the things that you need to look out for, but those will come in the next day or two.</p>
<p>For now here is a list of the themes that have been fully updated. The links point to the release page with subsequent links showing the theme in action:</p>
<ul>
<li><a href="http://www.theenglishguy.co.uk/big-red-theme/" rel="tag">Big Red</a> &#8211; current version 1.0.2 &#8211; <a href="http://www.richarddows.co.uk/twopointseven/?ts_theme=BigRed">view</a></li>
<li><a href="http://www.theenglishguy.co.uk/openair-theme/" rel="tag">OpenAir</a> &#8211; current version 1.1.6 &#8211; <a href="http://www.richarddows.co.uk/twopointseven/?ts_theme=OpenAir">view</a></li>
<li><a href="http://www.theenglishguy.co.uk/curve-theme/">Curve</a> &#8211; current version at 1.0.5 &#8211; <a href="http://www.richarddows.co.uk/twopointseven/?ts_theme=Curve">view</a></li>
<li><a href="http://www.theenglishguy.co.uk/digitalis-theme/" rel="tag">Digitalis</a> &#8211; current version at 1.0.5 &#8211; <a href="http://www.richarddows.co.uk/twopointseven/?ts_theme=Digitalis">view</a></li>
<li><a href="http://www.theenglishguy.co.uk/future-day-theme/" rel="tag">Future Day</a> &#8211; current version at 1.0.3 &#8211; <a href="http://www.richarddows.co.uk/twopointseven/?ts_theme=FutureDay">view</a></li>
<li><a href="http://www.theenglishguy.co.uk/news-print-v20-theme/" rel="tag">News Print v2.0</a> &#8211; current version at 2.1.3</li>
<li><a href="http://www.theenglishguy.co.uk/news-print-v3-theme/" rel="tag">News Print v3.0</a> &#8211; current version at 3.0.3</li>
<li><a href="http://www.theenglishguy.co.uk/reclamation-theme/" rel="tag">Reclamation</a> &#8211; current version at 1.1.3 &#8211; <a href="http://www.richarddows.co.uk/twopointseven/?ts_theme=Reclamation">view</a></li>
<li><a href="http://www.theenglishguy.co.uk/shocking-wordpress-theme/" rel="tag">Shocking</a> &#8211; <a href="http://www.richarddows.co.uk/">view</a></li>
</ul>
<p>All of these themes are backwards compatible with WordPress 2.6, and presumably with earlier versions too (although that has not been exhaustively checked).</p>
<p>These themes have all had the threaded comments added in and the <em>post_class()</em> addition to the <em>post</em> div.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theenglishguy.co.uk/2008/12/30/wordpress-27-theme-designs/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

