<?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</title>
	<atom:link href="http://www.theenglishguy.co.uk/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, 02 Feb 2010 22:31:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using dynamic_sidebar_params in WordPress Themes</title>
		<link>http://www.theenglishguy.co.uk/2010/02/02/using-dynamic_sidebar_params-in-wordpress-themes/</link>
		<comments>http://www.theenglishguy.co.uk/2010/02/02/using-dynamic_sidebar_params-in-wordpress-themes/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 22:31:16 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress theme]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[xhtml]]></category>
		<category><![CDATA[dynamic_sidebar_params]]></category>
		<category><![CDATA[sidebar]]></category>

		<guid isPermaLink="false">http://www.theenglishguy.co.uk/?p=1949</guid>
		<description><![CDATA[So this is something that I&#8217;ve never run across before, and as usual with WordPress there&#8217;s a function for that! [...]]]></description>
			<content:encoded><![CDATA[<p>So this is something that I&#8217;ve never run across before, and as usual with <strong>WordPress</strong> there&#8217;s a function for that! I feel so like a TV advert right now&#8230;</p>
<p>One of my themes has a generated sidebar title for the default sidebar. However, on the dynamic version of this when someone chooses their widgets, it uses the standard construction inside a <em>functions.php</em> file via <em>register_sidebar()</em> to construct the structure of the widget. This is common for 99% of the themes, and would never really need to be looked at, like so:</p>
<blockquote><p>
if (function_exists(&#8216;register_sidebar&#8217;))<br />
&nbsp;register_sidebar(array(&#8216;name&#8217; =&gt; &#8217;sidebar1&#8242;,<br />
&nbsp;&nbsp;&#8217;before_widget&#8217; =&gt; &#8216;&lt;li id=&#8221;%1$s&#8221; class=&#8221;widget %2$s&#8221;&gt;&#8217;,<br />
&nbsp;&nbsp;&#8217;after_widget&#8217; =&gt; &#8216;&lt;/li&gt;&#8217;,<br />
&nbsp;&nbsp;&#8217;before_title&#8217; =&gt; &#8216;&lt;h2 class=&#8221;widgettitle&#8221;&gt;&#8217;,<br />
&nbsp;&nbsp;&#8217;after_title&#8217; =&gt; &#8216;&lt;/h2&gt;&#8217;,<br />
&nbsp;));
</p></blockquote>
<p>Clearly though, this is unacceptable when you need to generate the sidebar title and have a specific font for it, that is created from a script. It was quite difficult in finding this little known function, but <a href="http://www.mummey.org/2009/02/styling-wordpress-dynamic-sidebar-dynamic_sidebar_params-filter/">Adrian Mummey</a> has written a great article on it and shown how to use it.</p>
<p>So first of all, I cleaned out that sidebar registration in the <em>functions.php</em> file, so now it&#8217;s bare like so:</p>
<blockquote><p>
if (function_exists(&#8216;register_sidebar&#8217;))<br />
&nbsp;register_sidebar(array(&#8216;name&#8217; =&gt; &#8217;sidebar1&#8242;,<br />
&nbsp;&nbsp;&#8217;before_widget&#8217; =&gt; &#8221;,<br />
&nbsp;&nbsp;&#8217;after_widget&#8217; =&gt; &#8221;,<br />
&nbsp;&nbsp;&#8217;before_title&#8217; =&gt; &#8221;,<br />
&nbsp;&nbsp;&#8217;after_title&#8217; =&gt; &#8221;,<br />
&nbsp;));
</p></blockquote>
<p>Now, further down in the same <em>functions.php</em> file follow Adrian&#8217;s instructions and add this:</p>
<blockquote><p>
add_filter(&#8216;dynamic_sidebar_params&#8217;, &#8216;reclamation_sidebar_params&#8217;);
</p></blockquote>
<p>For me this was part of the theme I was fixing, <a href="/reclamation-theme/" title="Reclamation WordPress Theme" rel="tag">Reclamation</a>, so I named my function <em>reclamation_sidebar_params()</em>. This is where the magic is, here is that function which I fleshed out:</p>
<blockquote><p>
function reclamation_sidebar_params($params){<br />
&nbsp;$params[0]['before_widget'] = &#8216;&lt;div class=&#8221;block&#8221;&gt;&lt;div class=&#8221;block_title&#8221;&gt;&#8217;;<br />
&nbsp;$params[0]['before_title']  = &#8216;&lt;h3&gt;&lt;img src=&#8221;&#8216; . get_bloginfo(&#8217;stylesheet_directory&#8217;) . &#8216;/sidebartitles.php?letters=&#8217; . @$params[0]['widget_name'] . &#8216;&#8221; /&gt;&#8217;;<br />
&nbsp;$params[0]['after_widget'] = &#8216;&lt;/div&gt;&lt;div class=&#8221;block_bottom&#8221;&gt;</div&gt;</div&gt;';<br />
&nbsp;$params[0]['after_title'] = '&lt;/h3&gt;&lt;/div&gt;
<div class="block_top"&gt;&lt;/div&gt;&lt;div class="block_middle"&gt;';<br />
&nbsp;return $params;<br />
}
</p></blockquote>
<p>This function lets you really got to town on the sidebar parameters, which the ordinary method does not. Now with the code above as you can see, I called a php file called sidebartitles.php which created the text using a separate font. This is one method of making sure a theme uses a font regardless of whether the viewer has it on their machine.</p>
<p>So thanks to Adrian, this is a method to really tailor your sidebar, very useful if you&#8217;re a theme author and want to go to town on your creation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theenglishguy.co.uk/2010/02/02/using-dynamic_sidebar_params-in-wordpress-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple Media Uploads in WordPress&#8217; Functions.php</title>
		<link>http://www.theenglishguy.co.uk/2010/01/24/multiple-media-uploads-in-wordpress-functions-php/</link>
		<comments>http://www.theenglishguy.co.uk/2010/01/24/multiple-media-uploads-in-wordpress-functions-php/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 22:41:35 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[jquery]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[media upload]]></category>

		<guid isPermaLink="false">http://www.theenglishguy.co.uk/?p=1946</guid>
		<description><![CDATA[Recently I had a real problem with a theme that I&#8217;ve never really run into before. I needed a way [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I had a real problem with a theme that I&#8217;ve never really run into before. I needed a way to upload an image in the admin backend. I had never seen a way to do this anywhere. I looked through the admin file, but couldn&#8217;t find anything.</p>
<p>Then I found a great post by Matt at <a href="http://www.webmaster-source.com/2010/01/08/using-the-wordpress-uploader-in-your-plugin-or-theme/">Webmaster-Source</a>. He detailed a way to upload an image in the functions.php file, absolutely perfect for what I wanted. But my problem was that I needed multiple media uploads on the page, which he nearly had but just needed a slight alteration.</p>
<p>Basically add a simple form with these two lines in:</p>
<blockquote><p>
&lt;input id=&#8221;upload_image&#8221; type=&#8221;text&#8221; size=&#8221;36&#8243; name=&#8221;upload_image&#8221; value=&#8221;" /&gt;<br />
&lt;input id=&#8221;upload_image_button&#8221; type=&#8221;button&#8221; value=&#8221;Upload Image&#8221; /&gt;
</p></blockquote>
<p>So here is his javascript (jquery) code that handles it:</p>
<blockquote><p>
$(document).ready(function() {<br />
&nbsp;$(&#8216;#upload_image_button&#8217;).click(function() {<br />
&nbsp;&nbsp;formfield = $(&#8216;#upload_image&#8217;).attr(&#8216;name&#8217;);<br />
&nbsp;&nbsp;tb_show(&#8221;, &#8216;media-upload.php&amp;type=image&amp;TB_iframe=true&#8217;);<br />
&nbsp;&nbsp;return false;<br />
&nbsp;});</p>
<p>&nbsp;window.send_to_editor = function(html) {<br />
&nbsp;&nbsp;imgurl = $(&#8216;img&#8217;,html).attr(&#8217;src&#8217;);<br />
&nbsp;&nbsp;$(&#8216;#upload_image&#8217;).val(imgurl);<br />
&nbsp;&nbsp;tb_remove();<br />
&nbsp;}<br />
});
</p></blockquote>
<p>So I altered it just a tiny little bit and here is the alteration. The first bit is to take his first function and slightly alter it for each instance of the form, the &#8216;<em>upload_image_button</em>&#8216; id and the formfield variable that selects the &#8216;<em>upload_image</em>&#8216; id:</p>
<blockquote><p>
&nbsp;$(&#8216;#upload_image_button&#8217;).click(function() {<br />
&nbsp;&nbsp;formfield = $(&#8216;#upload_image&#8217;).attr(&#8216;name&#8217;);<br />
&nbsp;&nbsp;tb_show(&#8221;, &#8216;media-upload.php?type=image&amp;TB_iframe=true&#8217;);<br />
&nbsp;&nbsp;return false;<br />
&nbsp;});
</p></blockquote>
<p>In the second function, use the variable that he had set up earlier (formfield):</p>
<blockquote><p>
&nbsp;window.send_to_editor = function(html) {<br />
&nbsp;&nbsp;imgurl = $(&#8216;img&#8217;,html).attr(&#8217;src&#8217;);<br />
&nbsp;&nbsp;$(&#8216;#&#8217; + formfield).val(imgurl);<br />
&nbsp;&nbsp;tb_remove();<br />
&nbsp;}
</p></blockquote>
<p>That should do it. Every time the media file is selected, then the submit/upload button event puts the media (image, in my case) url into the input box. Use your functions.php know-how to save it as an option for your theme, and use it as a background etc.,</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theenglishguy.co.uk/2010/01/24/multiple-media-uploads-in-wordpress-functions-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Updates to News Print v3</title>
		<link>http://www.theenglishguy.co.uk/2010/01/23/updates-to-news-print-v3/</link>
		<comments>http://www.theenglishguy.co.uk/2010/01/23/updates-to-news-print-v3/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 14:01:22 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[jquery]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress theme]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[news print]]></category>

		<guid isPermaLink="false">http://www.theenglishguy.co.uk/?p=1948</guid>
		<description><![CDATA[After finding a little bit of time this week I have had a chance to put in an update to [...]]]></description>
			<content:encoded><![CDATA[<p>After finding a little bit of time this week I have had a chance to put in an update to the <a href="http://www.theenglishguy.co.uk/news-print-v3-theme/">News Print v3</a> theme. This is now at version 3.0.8.</p>
<p>What has changed? Well I have added <strong>twitter</strong> support, so in the admin backend you can put your twitter username, and how many tweets to show, and then in the widgets section add a widget to a sidebar to show them.</p>
<p>Also there has been a minor fix in the excerpts section. People have reminded me that I had left in references to <em>the_excerpt_reloaded()</em> which shouldn&#8217;t be there, and I&#8217;ve put it back to <em>the_excerpt()</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theenglishguy.co.uk/2010/01/23/updates-to-news-print-v3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update to New Multi-Column Theme</title>
		<link>http://www.theenglishguy.co.uk/2009/12/13/update-to-new-multi-column-theme/</link>
		<comments>http://www.theenglishguy.co.uk/2009/12/13/update-to-new-multi-column-theme/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 21:54:50 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress theme]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[xhtml]]></category>
		<category><![CDATA[five-columns]]></category>
		<category><![CDATA[four-columns]]></category>
		<category><![CDATA[raisedpaper]]></category>
		<category><![CDATA[six columns]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[three columns]]></category>

		<guid isPermaLink="false">http://www.theenglishguy.co.uk/?p=1943</guid>
		<description><![CDATA[Several people have mailed me asking about the new multi-column theme that I&#8217;m developing. This is an update to the [...]]]></description>
			<content:encoded><![CDATA[<p>Several people have mailed me asking about the new multi-column theme that I&#8217;m developing. This is an update to the theme. It will be called &#8216;RaisedPaper&#8217;, it will be a three-, four-, five- or six-column theme. I decided against the seventh column as it wouldn&#8217;t fit and look right.</p>
<p>So far so good, it&#8217;s nearly done. The final bits and pieces are now under way, the browser work to make sure it&#8217;s ok on all (most) browsers. I will -not- be developing for IE6, it&#8217;s a waste of time.</p>
<p>At this point that&#8217;s about it, I had hoped to get it done for this weekend, but it looks like this week.</p>
<p>Someone had asked about jquery &#8211; yes it&#8217;ll have jquery, and yes you&#8217;ll need it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theenglishguy.co.uk/2009/12/13/update-to-new-multi-column-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coming Soon, Multi-Column News Theme</title>
		<link>http://www.theenglishguy.co.uk/2009/11/23/coming-soon-multi-column-news-theme/</link>
		<comments>http://www.theenglishguy.co.uk/2009/11/23/coming-soon-multi-column-news-theme/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 23:07:51 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[five-columns]]></category>
		<category><![CDATA[four-columns]]></category>
		<category><![CDATA[seven columns]]></category>
		<category><![CDATA[six columns]]></category>
		<category><![CDATA[three columns]]></category>
		<category><![CDATA[wordpress theme]]></category>

		<guid isPermaLink="false">http://www.theenglishguy.co.uk/?p=1941</guid>
		<description><![CDATA[After working on it over several months, and having promised people that this wordpress theme would be forthcoming, I am [...]]]></description>
			<content:encoded><![CDATA[<p>After working on it over several months, and having promised people that this <strong>wordpress theme</strong> would be forthcoming, I am nearly at the end of the development cycle for this multi-column theme. Currently, it&#8217;s called &#8216;Glossy&#8217;, although I might change that yet.</p>
<p>It will be a 3, 4, 5, 6, or 7 column wordpress theme. It will be (of course, given the number of possible derivations) highly customizable, and with lots of admin backend options, it is suitably complex. Hopefully I will be able to get this released this coming weekend, we&#8217;ll see!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theenglishguy.co.uk/2009/11/23/coming-soon-multi-column-news-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project: Louth Indoor Bowling Club</title>
		<link>http://www.theenglishguy.co.uk/2009/11/02/project-louth-indoor-bowling-club/</link>
		<comments>http://www.theenglishguy.co.uk/2009/11/02/project-louth-indoor-bowling-club/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 18:16:09 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress theme]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://www.theenglishguy.co.uk/?p=1938</guid>
		<description><![CDATA[I have finished up (mostly) the latest project on my plate, designing, developing, and deploying a wordpress theme for Louth [...]]]></description>
			<content:encoded><![CDATA[<p>I have finished up (mostly) the latest project on my plate, designing, developing, and deploying a wordpress theme for <a href="http://www.louthindoorbowlingclub.co.uk/">Louth &#038; District Indoor Bowling Club</a>. This included the design and development work, working closely with the executive staff of the club.</p>
<p>The theme is transparent for modern browsers &#8211; this won&#8217;t work with older browsers, but then again given we&#8217;re in the latter stages of 2009, people should be using a modern browser anyway.</p>
<p>There are some backend admin alterations, but these are mostly for user experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theenglishguy.co.uk/2009/11/02/project-louth-indoor-bowling-club/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centering in Illustrator</title>
		<link>http://www.theenglishguy.co.uk/2009/10/26/centering-in-illustrator/</link>
		<comments>http://www.theenglishguy.co.uk/2009/10/26/centering-in-illustrator/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 23:23:57 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[align]]></category>
		<category><![CDATA[centre]]></category>
		<category><![CDATA[illustrator]]></category>

		<guid isPermaLink="false">http://www.theenglishguy.co.uk/?p=1937</guid>
		<description><![CDATA[When you use a software package for a while you begin to notice that there are plenty of shortcuts available [...]]]></description>
			<content:encoded><![CDATA[<p>When you use a software package for a while you begin to notice that there are plenty of shortcuts available that are not ordinarily listed in instruction manuals or even on sites.</p>
<p>One of these that I found out solely by accident today is centering. We used to use FlexiSign to design signs, and it&#8217;s a powerful package in its own right but Illustrator is better suited for our purposes. </p>
<p>Centering however, became an issue. In Flexi all we&#8217;d do is select a group of elements by clicking and ctrl-clicking then click one button to center it all or right align, left align, and so on. Easy. In Illustrator you&#8217;d select your elements, go to the align box, use the dropdown menu and select the align by object then go back to the drawing board, select the object, then back to the panel to select what alignment you wanted like center, left align and so on. Very laborious especially when you&#8217;re used to two steps.</p>
<p>Today I found a quicker way. You select your objects in the drawing board by click then ctrl-clicking, release any held button then left-click on the object to be aligned against (rather than use the dropdown menu in the panel), then click on the relevant alignment button. SOO much easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theenglishguy.co.uk/2009/10/26/centering-in-illustrator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Green Column WordPress Theme</title>
		<link>http://www.theenglishguy.co.uk/2009/10/18/green-column-wordpress-theme/</link>
		<comments>http://www.theenglishguy.co.uk/2009/10/18/green-column-wordpress-theme/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 09:42:01 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[work]]></category>
		<category><![CDATA[green]]></category>
		<category><![CDATA[green column]]></category>
		<category><![CDATA[two columns]]></category>
		<category><![CDATA[white]]></category>
		<category><![CDATA[widget ready]]></category>
		<category><![CDATA[wordpress theme]]></category>

		<guid isPermaLink="false">http://www.theenglishguy.co.uk/?p=1933</guid>
		<description><![CDATA[

This is an older two-column corporate-style theme that has been recently updated for full release. It has a Thesis analog [...]]]></description>
			<content:encoded><![CDATA[<div style="text-align:center;margin:0 auto;">
</div>
<p>This is an older two-column corporate-style theme that has been recently updated for full release. It has a Thesis analog which was actually developed first before this new release, but this theme has been in constant use for over a year now at the <a href="http://www.grssigns.co.uk/blog/">GRS Sign Company blog</a>.</p>
<p>This <strong>WordPress Theme</strong> is a <em>two-column</em> theme with <em>theme options</em> on the backend. As you can see from the screenshot below, the &#8216;Green Col. Options&#8217; appear in the Appearance section. Clicking it leads you to the theme options page.</p>
<div style="text-align:center;margin:0 auto;">
</div>
<div class="spacer">&nbsp;</div>
<p>You can set the global font style in the theme options too, as well as the font size. This sets the font throughout the theme. If you want to add more you can edit the functions.php file and add them in (there are comments to show where) although there is already a comprehensive list.</p>
<p>The menu options let you select what pages in the blog that you want added to the menu bar in the blog. By selecting your twitter username, the twitter icon will be added on the right side of the menu.</p>
<p>The theme is fully widgetised and the search widget has been slightly modified inside the functions file.</p>
<p>The theme has been tested and built on <em>WordPress 2.8.4</em> and presumably works with others in the same development line although this is not tested. The platforms that it has been successfully tested on are: FireFox 3.5.2, Opera 9.64/10, IE7/8, Safari 4.0.6,.</p>
<p>If you like this <strong>wordpress theme</strong>, or others, please consider <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=sales@theenglishguy.co.uk&amp;item_name=TheEnglishGuy%20Green%20Column%20Theme&amp;no_shipping=0&amp;no_note=1&amp;tax=0&amp;currency_code=GBP">making a donation</a>.</p>
<p><a href="http://www.theenglishguy.co.uk/free_downloads/" title="WordPress Theme: Green Column">Download</a> the <a href="http://www.theenglishguy.co.uk/free_downloads/" title="WordPress Theme: Green Column" rel="tag">Green Column</a> <a href="http://www.theenglishguy.co.uk/free_downloads/" title="WordPress Theme: Green Column">Theme</a> (current version 1.0.0 &#8211; October 17th, 2009). Not released yet, due on the 17th.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theenglishguy.co.uk/2009/10/18/green-column-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Thesis Port of Reclamation Theme</title>
		<link>http://www.theenglishguy.co.uk/2009/10/11/thesis-port-of-reclamation-theme/</link>
		<comments>http://www.theenglishguy.co.uk/2009/10/11/thesis-port-of-reclamation-theme/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 21:03:19 +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[jquery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[thesis]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress theme]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[xhtml]]></category>
		<category><![CDATA[reclamation]]></category>
		<category><![CDATA[thesis theme]]></category>

		<guid isPermaLink="false">http://www.theenglishguy.co.uk/?p=1930</guid>
		<description><![CDATA[Several months ago I released a grunge-style wordpress theme called Reclamation. I&#8217;ve seen it around quite a bit but this [...]]]></description>
			<content:encoded><![CDATA[<p>Several months ago I released a grunge-style wordpress theme called <a href="http://www.theenglishguy.co.uk/reclamation-theme/" title="Reclamation WordPress Theme">Reclamation</a>. I&#8217;ve seen it around quite a bit but this weekend I had a little bit of time free so I ported it over to the Thesis framework.</p>
<p>The release page for the <a href="http://www.thesis-themes.com/2009/10/11/reclamation/" title="Reclamation Thesis Theme">Reclamation Thesis Theme</a> just shows a screenshot and has a little bit of blurb. I will of course be updating it if any bugs are found. You can see this in action <a href="http://www.richarddows.co.uk/thesis/">here</a>, although as I do more Thesis ports that site will update with them instead of the Reclamation theme.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theenglishguy.co.uk/2009/10/11/thesis-port-of-reclamation-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Determining if a Post was Posted Today</title>
		<link>http://www.theenglishguy.co.uk/2009/09/14/determining-if-a-post-was-posted-today/</link>
		<comments>http://www.theenglishguy.co.uk/2009/09/14/determining-if-a-post-was-posted-today/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 21:19:50 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[mysql2date]]></category>

		<guid isPermaLink="false">http://www.theenglishguy.co.uk/?p=1924</guid>
		<description><![CDATA[Yes, I know the title seems a little strange. From the admin section it&#8217;s easy as pie. Just click Posts [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, I know the title seems a little strange. From the admin section it&#8217;s easy as pie. Just click Posts and look at the date.</p>
<p>On the viewing side it&#8217;s easy too, but codewise, this is a way that can let you separate your posts, or do something special to those that have been posted today, maybe add a &#8216;New&#8217; graphic, or &#8216;Posted Today&#8217;, or something like that.</p>
<p>Easy to do, like this:</p>
<blockquote><p>
  $post_date = <a href="http://codex.wordpress.org/Function_Reference/mysql2date">mysql2date</a>(&#8220;Ymd&#8221;, $post-&gt;post_date);<br />
  if ($post_date == date(&#8216;Ymd&#8217;)) {<br />
  ?&gt;<br />
    &lt;div class=&#8221;post-new&#8221;&gt;&nbsp;&lt;/div&gt;<br />
  &lt;?php<br />
  }
</p></blockquote>
<p>In this case it&#8217;s shown in the theme I created for <a href="http://www.percentsavings.com/">Percent Savings</a>, where a &#8216;New&#8217; graphic is shown on the right side of the index page if there is a new post. You can do a whole slough of things though, maybe add some reply options?</p>
<p>I linked the <em>mysql2date</em> function to the Codex, it&#8217;s useful in this, and can be used for more than just the day. Perhaps you want to highlight an entire week, or the last hour (if you have a -really- busy blog)?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theenglishguy.co.uk/2009/09/14/determining-if-a-post-was-posted-today/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
