<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Rob Barrett Design</title>
	
	<link>http://www.rob-barrett.com</link>
	<description />
	<lastBuildDate>Wed, 10 Feb 2010 23:15:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/RobBarrettDesign" /><feedburner:info uri="robbarrettdesign" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>How to Create Replacement Page Titles in WordPress</title>
		<link>http://feedproxy.google.com/~r/RobBarrettDesign/~3/VRe8HkjcShg/how-to-create-replacement-page-titles-in-wordpress</link>
		<comments>http://www.rob-barrett.com/post/how-to-create-replacement-page-titles-in-wordpress#comments</comments>
		<pubDate>Tue, 01 Dec 2009 21:32:33 +0000</pubDate>
		<dc:creator>Rob Barrett</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.rob-barrett.com/?p=1050</guid>
		<description><![CDATA[I&#8217;ve been too busy to spot this getting published at the time, but I&#8217;ve just noticed that I had my screencast tutorial published a couple of weeks ago at styl.eti.me, showing how to replace your Page titles in WordPress with custom values, different to those shown in your site’s navigation. Thanks to Roger for hosting [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been too busy to spot this getting published at the time, but I&#8217;ve just noticed that I had my <strong>screencast tutorial published a couple of weeks ago at <a href="http://styl.eti.me/wordpress/how-to-create-replacement-page-titles-in-wordpress/">styl.eti.me</a></strong>, showing how to replace your Page titles in WordPress with custom values, different to those shown in your site’s navigation. Thanks to Roger for hosting it!</p>
<p>Go check it out, and let me know what you think of it!</p>
        <hr /><p><a href="http://www.rob-barrett.com"><img src="http://www.rob-barrett.com/images/banner-468x60.gif" width="468" height="60" border="0" alt="Rob Barrett Design"></a><p>&copy; Rob Barrett Design.</p>      ]]></content:encoded>
			<wfw:commentRss>http://www.rob-barrett.com/post/how-to-create-replacement-page-titles-in-wordpress/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.rob-barrett.com/post/how-to-create-replacement-page-titles-in-wordpress</feedburner:origLink></item>
		<item>
		<title>One Year Later… A New Design is Born</title>
		<link>http://feedproxy.google.com/~r/RobBarrettDesign/~3/4RofccnsjT0/one-year-later-a-new-design-is-born</link>
		<comments>http://www.rob-barrett.com/post/one-year-later-a-new-design-is-born#comments</comments>
		<pubDate>Fri, 16 Oct 2009 12:06:37 +0000</pubDate>
		<dc:creator>Rob Barrett</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.rob-barrett.com/?p=1053</guid>
		<description><![CDATA[Well, almost. It&#8217;s pretty much a year since I scrapped my old ExpressionEngine site and put together a portfolio and blog in WordPress. Mine was the first WordPress site that I built, and, while the sticky tape&#8217;s held it all together pretty nicely, there&#8217;s so much that could be improved.
That&#8217;s why it&#8217;s been quiet here [...]]]></description>
			<content:encoded><![CDATA[<p>Well, almost. It&#8217;s pretty much a year since I scrapped my old ExpressionEngine site and put together a portfolio and blog in WordPress. Mine was the first WordPress site that I built, and, while the sticky tape&#8217;s held it all together pretty nicely, there&#8217;s so much that could be improved.</p>
<p>That&#8217;s why it&#8217;s been quiet here as of late &#8212; I&#8217;ve been working away behind the scenes in my spare time to create a new look and feel for my site. One that&#8217;s a lot more&#8230; me. I&#8217;m polishing it off and covering over the scuff marks at the moment, so it&#8217;ll be put in place very shortly.</p>
        <hr /><p><a href="http://www.rob-barrett.com"><img src="http://www.rob-barrett.com/images/banner-468x60.gif" width="468" height="60" border="0" alt="Rob Barrett Design"></a><p>&copy; Rob Barrett Design.</p>      ]]></content:encoded>
			<wfw:commentRss>http://www.rob-barrett.com/post/one-year-later-a-new-design-is-born/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://www.rob-barrett.com/post/one-year-later-a-new-design-is-born</feedburner:origLink></item>
		<item>
		<title>WordPress Pods: Properly formatted output from ‘desc’ fields</title>
		<link>http://feedproxy.google.com/~r/RobBarrettDesign/~3/_bcB0RUNq6M/wordpress-pods-properly-formatted-output-from-desc-fields</link>
		<comments>http://www.rob-barrett.com/post/wordpress-pods-properly-formatted-output-from-desc-fields#comments</comments>
		<pubDate>Tue, 15 Sep 2009 12:58:50 +0000</pubDate>
		<dc:creator>Rob Barrett</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[display helper]]></category>
		<category><![CDATA[line break]]></category>
		<category><![CDATA[paragraph]]></category>
		<category><![CDATA[Pods]]></category>
		<category><![CDATA[wpautop]]></category>

		<guid isPermaLink="false">http://www.rob-barrett.com/?p=993</guid>
		<description><![CDATA[A few months ago, I discovered the Pods plugin for WordPress, and it&#8217;s completely changed the way I go about building many projects. It essentially adds CMS functionality to WordPress, allowing you to create your own input modules and display them however you want. The Pods website homepage has a video that explains the plugin [...]]]></description>
			<content:encoded><![CDATA[<p>A few months ago, I discovered the <a href="http://pods.uproot.us/"><strong>Pods plugin for WordPress</strong></a>, and it&#8217;s completely changed the way I go about building many projects. It essentially adds CMS functionality to WordPress, allowing you to create your own input modules and display them however you want. The <a href="http://pods.uproot.us/">Pods website homepage</a> has a video that explains the plugin much better than I do.</p>
<p>It&#8217;s a new project though, and there&#8217;s not a whole lot of documentation for it at the moment, so it&#8217;s handy when users find solutions to common problems and share them.</p>
<p>In that vein, I&#8217;ve been having a problem in that the default WYSIWYG editor for textfields in Pods outputs text with multiple line breaks between paragraphs, rather than just creating new paragraphs as I want.</p>
<p>By adding this Display Helper to a field, the helper searches the field content for any reference of &#8216;&#60;br&#62;&#8217; or &#8216;&#60;br /&#62;&#8217; and replaces it with &#8216;\n&#8217; (just a new line, as if someone had pressed Return). Then the <a href="http://codex.wordpress.org/Function_Reference/wpautop">wpautop function</a> from WordPress looks for any block of text surrounded by double-new-lines and adds the correct block-level tag around it, such as &#8216;&#60;p&#62;&#8217;.</p>
<h3>Here is the Display Helper code:</h3>
<p><code>&lt;?php <br />
$value = str_replace(array(&#039;&lt;br /&gt;&#039;, &#039;&lt;br&gt;&#039;), &quot;\n&quot;, $value);<br />
echo wpautop($value); ?&gt;</code></p>
        <hr /><p><a href="http://www.rob-barrett.com"><img src="http://www.rob-barrett.com/images/banner-468x60.gif" width="468" height="60" border="0" alt="Rob Barrett Design"></a><p>&copy; Rob Barrett Design.</p>      ]]></content:encoded>
			<wfw:commentRss>http://www.rob-barrett.com/post/wordpress-pods-properly-formatted-output-from-desc-fields/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.rob-barrett.com/post/wordpress-pods-properly-formatted-output-from-desc-fields</feedburner:origLink></item>
		<item>
		<title>Doodle Pong</title>
		<link>http://feedproxy.google.com/~r/RobBarrettDesign/~3/IhOWbe9oQVc/doodle-pong</link>
		<comments>http://www.rob-barrett.com/post/doodle-pong#comments</comments>
		<pubDate>Wed, 22 Jul 2009 16:51:19 +0000</pubDate>
		<dc:creator>Rob Barrett</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.rob-barrett.com/?p=967</guid>
		<description><![CDATA[
After a mis-tweet by @thedoodlebar earlier today, here are the rules to my newly invented game of Doodle Pong.

Photo by Yogma


The umpire writes a selection of words or phrases on scraps of paper and places them in cups at one end of the ping pong table, like in Beer Pong.
Two teams of two players are [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://twitter.com/thedoodlebar/status/2779057685"><img src="http://www.rob-barrett.com/wp-content/uploads/2009/07/thedoodlebar-tweet-090722.jpg" alt="Tweet by @thedoodlebar" title="Tweet by @thedoodlebar" width="500" height="249" class="alignnone size-full wp-image-969 image-border" /></a></p>
<p>After a mis-tweet by <strong>@<a href="http://twitter.com/thedoodlebar/">thedoodlebar</a></strong> earlier today, here are the rules to my newly invented game of <strong>Doodle Pong</strong>.</p>
<div class="float-right" style="text-align: right;"><a href="http://www.flickr.com/photos/yogma/3584984540/"><img src="http://www.rob-barrett.com/wp-content/uploads/2009/07/beer-pong-cups.jpg" alt="Beer Pong cups" title="Photo by Yogma" width="240" height="168" class="size-full wp-image-971 image-border" /></a></p>
<p><a href="http://www.flickr.com/photos/yogma/3584984540/" title="Photo by Yogma" >Photo by Yogma</a></p>
</div>
<ol style="clear:none;">
<li>The umpire writes a selection of words or phrases on scraps of paper and places them in cups at one end of the ping pong table, like in Beer Pong.</li>
<li>Two teams of two players are selected to play. From the opposite end of the table to the cups, Player 1 from Team 1 bounces the ball on the table in an attempt to land it in a cup.</li>
<li>If the ball does not land in a cup, play passes to Player 1 in Team 2.</li>
<li>If it does land in a cup, Player 1 must read the phrase on the scrap of paper. He then has 1 minute to draw the word/phrase. If Player 2 (of the same team) guesses the phrase in that time, Team 1 scores a point. Play then passes to Team 2 after the umpire has replaced the phrase with a new one.</li>
<li>Each time a Team has an attempt at landing the ball in a cup, the throwing Player must alternate.</li>
<li>If a Team scores 5 points, and is clear of the opposing Team&#8217;s score by 2 or more points, then they win the match.</li>
<li>If a Team reaches 5 points but isn&#8217;t 2 points clear, then play continues until either Team&#8217;s score exceeds their opponent&#8217;s by 2.</li>
</ol>
        <hr /><p><a href="http://www.rob-barrett.com"><img src="http://www.rob-barrett.com/images/banner-468x60.gif" width="468" height="60" border="0" alt="Rob Barrett Design"></a><p>&copy; Rob Barrett Design.</p>      ]]></content:encoded>
			<wfw:commentRss>http://www.rob-barrett.com/post/doodle-pong/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.rob-barrett.com/post/doodle-pong</feedburner:origLink></item>
		<item>
		<title>Multiple Search Results Pages within One WordPress Site</title>
		<link>http://feedproxy.google.com/~r/RobBarrettDesign/~3/07FQkYcyP2s/multiple-search-results-pages-within-one-wordpress-site</link>
		<comments>http://www.rob-barrett.com/post/multiple-search-results-pages-within-one-wordpress-site#comments</comments>
		<pubDate>Wed, 13 May 2009 23:31:08 +0000</pubDate>
		<dc:creator>Rob Barrett</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[search results]]></category>
		<category><![CDATA[separate search]]></category>

		<guid isPermaLink="false">http://www.rob-barrett.com/?p=944</guid>
		<description><![CDATA[On a client site I&#8217;m currently developing in WordPress, I&#8217;m having to add the client&#8217;s existing articles to the new site, as well as his old blog. I wanted them to both exist as Posts, but to be separated within the site. Most of that was straightforward &#8211; by assigning articles and blog posts to [...]]]></description>
			<content:encoded><![CDATA[<p>On a client site I&#8217;m currently developing in WordPress, I&#8217;m having to add the client&#8217;s existing articles to the new site, as well as his old blog. I wanted them to both exist as Posts, <em>but to be separated within the site</em>. Most of that was straightforward &#8211; by assigning articles and blog posts to their own Post Categories, I was able to only include, say, Posts from &#8216;Category #1&#8242; on the Articles page, and Posts from &#8216;Category #2&#8242; on the blog page.</p>
<p>Where I came a little unstuck was the Search feature in WordPress. No matter which page I searched from, I would be given the relevant results from <em>all</em> Posts, not just the Category in question. So here&#8217;s how I went about fixing that&#8230;</p>
<p><strong>Firstly, I added the following Search form to my sidebar:</strong></p>
<p><code>&lt;form method=&quot;get&quot; id=&quot;searchform&quot; action=&quot;&lt;?php bloginfo(&#039;home&#039;); ?&gt;/&quot;&gt;<br />
&lt;input type=&quot;text&quot; name=&quot;s&quot; id=&quot;s&quot; value=&quot;Search&quot; size=&quot;18&quot; maxlength=&quot;96&quot; onblur=&quot;if(this.value==&#039;&#039;) this.value=&#039;Search&#039;;&quot; onfocus=&quot;if(this.value==&#039;Search&#039;) this.value=&#039;&#039;;&quot; /&gt;<br />
&lt;input type=&quot;hidden&quot; name=&quot;site_section&quot; value=&quot;blog&quot; /&gt;<br />
&lt;input type=&quot;submit&quot; value=&quot;Search&quot; class=&quot;hidden&quot; id=&quot;searchsubmit&quot; /&gt;<br />
&lt;/form&gt;</code></p>
<p><strong>Note the third line, with the hidden input</strong> <em>(that&#8217;s the third line if you paste that into a code editor, not what shows up here)</em>. On the sidebar for the blog, I gave that input field a value of <strong>&#8216;blog&#8217;</strong>; for the sidebar on the articles page, I gave it a value of &#8212; yeah, you guessed it &#8212; <strong>&#8216;articles&#8217;</strong>.</p>
<p><strong>Then, create a file named &#8217;search.php&#8217;, and paste the following into it:</strong></p>
<p><code>&lt;?php<br />
/* Template Name: Search Results */<br />
$search_refer = $_GET[&quot;site_section&quot;];<br />
if ($search_refer == &#039;blog&#039;) { load_template(TEMPLATEPATH . &#039;/blog-index.php&#039;); }<br />
elseif ($search_refer == &#039;articles&#039;) { load_template(TEMPLATEPATH . &#039;/articles-index.php&#039;); }; ?&gt;</code></p>
<p><strong>The important part here is, again, the third line.</strong> This looks up the value of the hidden input on the search form, and assigns it to the variable, <strong>&#8216;$search_refer&#8217;</strong>.</p>
<p>After that, the <em>if</em> statement decides, depending on the value of &#8216;$search_refer&#8217;, which template to load. The load_template function will ensure that the referenced page is shown, displaying the results from the search term.</p>
<p>One last thing you&#8217;ll need to do is edit the Post index. In this example, I&#8217;ll show you what was added to <strong>&#8216;blog-index.php&#8217;</strong>. This goes directly before The Loop.</p>
<p><code>&lt;?php if( is_search() ) :<br />
$paged = (get_query_var(&#039;paged&#039;)) ? get_query_var(&#039;paged&#039;) : 1;<br />
query_posts(&quot;s=$s&amp;paged=$paged&amp;cat=4&quot;);<br />
endif; ?&gt;</code></p>
<p>For now, I&#8217;m going to admit ignorance about the second line <em>(and if you can explain it, then please, go ahead!)</em>. I don&#8217;t fully understand what purpose it serves &#8212; I pieced this solution together from a few places &#8212; but the third line (what&#8217;s with that?!) has the important bit you need to pay attention to.</p>
<p>On this client&#8217;s site, the &#8216;Blog&#8217; Category has an ID number of &#8216;4&#8242;; that&#8217;s why the &#8216;query_posts&#8217; function has <strong>&#8216;cat=4&#8242;</strong> at the end &#8212; this only includes Posts from that Category in the output.</p>
<p>On the &#8216;articles-index.php&#8217; template page, &#8216;query_posts&#8217; has &#8216;cat=3&#8242;, to only show &#8216;Articles&#8217; Posts. Fairly straightforward, right?</p>
<p>In this particular example (and I thought it best to show it as closely to my working version as is clear), I&#8217;ve sent the different results to different template pages because those templates differ to a large degree. However, if your search results templates for the different sections are identical (or nearly), then you could skip out the &#8217;search.php&#8217; file, and this to your index file:</p>
<p><code>&lt;?php $search_refer = $_GET[&quot;site_section&quot;];<br />
if( is_search() ) :<br />
$paged = (get_query_var(&#039;paged&#039;)) ? get_query_var(&#039;paged&#039;) : 1;<br />
if ($search_refer == &#039;blog&#039;) { query_posts(&quot;s=$s&amp;paged=$paged&amp;cat=4&quot;); }<br />
elseif ($search_refer == &#039;articles&#039;) { query_posts(&quot;s=$s&amp;paged=$paged&amp;cat=3&quot;); };<br />
endif; ?&gt;</code></p>
<p>That should do the whole lot after the search form in one step! If you&#8217;ve come up with a more elegant solution to this, or know a more efficient way to implement this solution, then please leave a comment &#8212; we all benefit from sharing tips like these!</p>
        <hr /><p><a href="http://www.rob-barrett.com"><img src="http://www.rob-barrett.com/images/banner-468x60.gif" width="468" height="60" border="0" alt="Rob Barrett Design"></a><p>&copy; Rob Barrett Design.</p>      ]]></content:encoded>
			<wfw:commentRss>http://www.rob-barrett.com/post/multiple-search-results-pages-within-one-wordpress-site/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		<feedburner:origLink>http://www.rob-barrett.com/post/multiple-search-results-pages-within-one-wordpress-site</feedburner:origLink></item>
		<item>
		<title>Come on down to Cut&amp;Paste tomorrow night!</title>
		<link>http://feedproxy.google.com/~r/RobBarrettDesign/~3/j7GLU67NNz4/come-on-down-to-cutpaste-tomorrow-night</link>
		<comments>http://www.rob-barrett.com/post/come-on-down-to-cutpaste-tomorrow-night#comments</comments>
		<pubDate>Fri, 03 Apr 2009 13:04:24 +0000</pubDate>
		<dc:creator>Rob Barrett</dc:creator>
				<category><![CDATA[Competition]]></category>
		<category><![CDATA[Graphic Design]]></category>
		<category><![CDATA[Illustration]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Cut&Paste]]></category>
		<category><![CDATA[london]]></category>

		<guid isPermaLink="false">http://www.rob-barrett.com/?p=929</guid>
		<description><![CDATA[Man, what a week this has been! I moved to a new home in Clapham on Wednesday, I turned 24 yesterday and spent the evening illustrating in Soho for Collage Club, and today I&#8217;m busy unpacking, catching up on work, and trying to find time to start practicing for tomorrow night&#8217;s Cut&#038;Paste design competition&#8230; Hopefully [...]]]></description>
			<content:encoded><![CDATA[<p>Man, what a week this has been! I moved to a new home in Clapham on Wednesday, I turned 24 yesterday and spent the evening illustrating in Soho for <a href="http://collageclub.blogspot.com">Collage Club</a>, and today I&#8217;m busy unpacking, catching up on work, and trying to find time to start practicing for tomorrow night&#8217;s <a href="http://www.cutandpaste.com"><strong>Cut&#038;Paste design competition</strong></a>&#8230; Hopefully I&#8217;ll get some ideas cemented before then!</p>
<p>If you want to come along to check it out tomorrow (April 4th), it&#8217;s all happening at the <strong>Coronet Theatre in Elephant &#038; Castle from 7:30pm to midnight</strong>. Tickets are around a tenner from <a href="http://www.amiando.com/cutandpastelondon.html">Amiando</a> (for 10% off, use this code: <strong>DWDK707N</strong>), or about £15 on the door. I could do with a cheering section, so come on down!</p>
        <hr /><p><a href="http://www.rob-barrett.com"><img src="http://www.rob-barrett.com/images/banner-468x60.gif" width="468" height="60" border="0" alt="Rob Barrett Design"></a><p>&copy; Rob Barrett Design.</p>      ]]></content:encoded>
			<wfw:commentRss>http://www.rob-barrett.com/post/come-on-down-to-cutpaste-tomorrow-night/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.rob-barrett.com/post/come-on-down-to-cutpaste-tomorrow-night</feedburner:origLink></item>
		<item>
		<title>Illustration Bliss at the Cut&amp;Paste Tryout</title>
		<link>http://feedproxy.google.com/~r/RobBarrettDesign/~3/rEwGMXNOf8E/illustration-bliss-at-the-cutpaste-tryout</link>
		<comments>http://www.rob-barrett.com/post/illustration-bliss-at-the-cutpaste-tryout#comments</comments>
		<pubDate>Wed, 11 Mar 2009 17:00:46 +0000</pubDate>
		<dc:creator>Rob Barrett</dc:creator>
				<category><![CDATA[Competition]]></category>
		<category><![CDATA[Graphic Design]]></category>
		<category><![CDATA[Illustration]]></category>
		<category><![CDATA[Illustrator]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Cut&Paste]]></category>
		<category><![CDATA[Germination]]></category>
		<category><![CDATA[london]]></category>

		<guid isPermaLink="false">http://www.rob-barrett.com/?p=884</guid>
		<description><![CDATA[Back on February 28th, I took part in the tryouts for the London Cut&#038;Paste design competition in an attempt to get into the main event next month. It all went well, despite having to work on a Mac (something I&#8217;m just not used to); I met some cool people, and drank plenty of free Grolsch [...]]]></description>
			<content:encoded><![CDATA[<p>Back on February 28th, I took part in the tryouts for the London <a href="http://www.cutandpaste.com">Cut&#038;Paste</a> design competition in an attempt to get into the main event next month. It all went well, despite having to work on a Mac (something I&#8217;m just not used to); I met some cool people, and drank plenty of free Grolsch too, so I left feeling pretty good about it.</p>
<p>While browsing the beer aisle in the supermarché here in the French Alps on Monday, on my first skiing trip, I received a phone call from Lizzie at <a href="http://www.germination.co.uk">Germination</a>, the company behind the London version of the event.</p>
<p>&#8220;Good news &#8212; you&#8217;re in!&#8221; A great way to start my holiday off, knowing that I&#8217;d be one of the eight starting competitors in the showdown on April 4th. Plus the prizes are something to look forward to&#8230; My poor Wacom pen is gaffa-taped together now, so the replacement tablet and pen&#8217;s going to be very welcome.</p>
<p>If you&#8217;re around in London that weekend, come on down to Elephant &#038; Castle and support me and the other guys (but cheer louder for me!).</p>
<p>For those of you interested, here&#8217;s my process for getting ready for the tryout&#8230;</p>
<h4>Initial Sketch <em>(24/02/2009)</em></h4>
<p>I received an email last Tuesday night letting me know that I&#8217;d been accepted for a trial to enter Cut&#038;Paste, and that I was to come up with a 15-minute design on the theme <strong>&#8220;Bliss&#8221;</strong>, with an optional challenge that it should be a t-shirt design.</p>
<p>Out came the notepad straight away, and after a brief brainstorm, I came up with this, which is a kind of &#8216;blissful unawareness&#8217;. The guy&#8217;s strolling through some post-apocalyptic landscape while listening to music, which transports him away into his own mental paradise. </p>
<p><a href="/wp-content/uploads/2009/03/bliss_v00_sketch.jpg" class="thickbox"><img src="/wp-content/uploads/2009/03/bliss_v00_sketch_thumb.jpg" width=500 height=180 alt="Initial Sketch" class="image-border"></a></p>
<h4>Practice #1: 15 mins <em>(24/02/2009)</em></h4>
<p>This dreadful first attempt is a clear indicator that I had no idea just how much can be achieved in 15 minutes if you don&#8217;t panic and rush&#8230;</p>
<p><a href="/wp-content/uploads/2009/03/bliss_v01.jpg" class="thickbox"><img src="/wp-content/uploads/2009/03/bliss_v01_thumb.gif" width=500 height=180 alt="Practise #1" class="image-border"></a></p>
<h4>Practice #2: ~30 mins <em>(24/02/2009)</em></h4>
<p>Whereas this one&#8217;s an example of what can happen when you get carried away and decide to ignore the timer. Actually, it was a case of taking the image as far as I would have liked it, and seeing how long that took.</p>
<p><a href="/wp-content/uploads/2009/03/bliss_v02.jpg" class="thickbox"><img src="/wp-content/uploads/2009/03/bliss_v02_thumb.gif" width=500 height=180 alt="Practise #2" class="image-border"></a></p>
<h4>Practice #3: 21 mins <em>(25/02/2009)</em></h4>
<p>Refining the previous image, trying to find ways to cut some minutes off my time. It&#8217;s getting there&#8230;</p>
<p><a href="/wp-content/uploads/2009/03/bliss_v03.jpg" class="thickbox"><img src="/wp-content/uploads/2009/03/bliss_v03_thumb.gif" width=500 height=180 alt="Practise #3" class="image-border"></a></p>
<h4>Practice #4: 15 mins <em>(27/02/2009)</em></h4>
<p>The next couple were strict 15 minute tests with my decent design, trying to get as much done as possible while still furthering the illustration.</p>
<p><a href="/wp-content/uploads/2009/03/bliss_v04.jpg" class="thickbox"><img src="/wp-content/uploads/2009/03/bliss_v04_thumb.gif" width=500 height=180 alt="Practise #4" class="image-border"></a></p>
<h4>Practice #5: 15 mins <em>(27/02/2009)</em></h4>
<p><a href="/wp-content/uploads/2009/03/bliss_v05.jpg" class="thickbox"><img src="/wp-content/uploads/2009/03/bliss_v05_thumb.gif" width=500 height=180 alt="Practise #5" class="image-border"></a></p>
<h4>Practice #6: 15 mins <em>(28/02/2009)</em></h4>
<p>My final practice, finished about 10 minutes before I had to leave my flat for the real trial&#8230; I realised that I could save myself an easy minute or two by drawing the smoke with my Wacom instead of a series of ellipses &#8212; believe me, over 15 minutes, a one minute time-saving is a massive advantage!</p>
<p><a href="/wp-content/uploads/2009/03/bliss_v06.jpg" class="thickbox"><img src="/wp-content/uploads/2009/03/bliss_v06_thumb.gif" width=500 height=180 alt="Practise #6" class="image-border"></a></p>
<h4>Trial Entry: 15 mins <em>(28/02/2009)</em></h4>
<p>And finally, the final submitted image. I&#8217;m mostly happy with how it turned out, but there&#8217;s a few things I would have liked to have done a little differently. Unfortunately, the trial took place on a Mac &#8212; currently as a PC user, the keyboard layout and the terrible default Mac mouse got me pretty stressed out, which means I didn&#8217;t get to intersect the man&#8217;s shirt, nor did I have time to clip the background to a t-shirt shape. In fact, with 20 seconds remaining, I went to crop the image and couldn&#8217;t find the icon in the CS4 toolbar, so my final submitted image was actually about 10,000 pixels square. Oops.</p>
<p><a href="/wp-content/uploads/2009/03/bliss_v07_final.jpg" class="thickbox"><img src="/wp-content/uploads/2009/03/bliss_v07_final_thumb.gif" width=500 height=180 alt="Trial Entry" class="image-border"></a></p>
        <hr /><p><a href="http://www.rob-barrett.com"><img src="http://www.rob-barrett.com/images/banner-468x60.gif" width="468" height="60" border="0" alt="Rob Barrett Design"></a><p>&copy; Rob Barrett Design.</p>      ]]></content:encoded>
			<wfw:commentRss>http://www.rob-barrett.com/post/illustration-bliss-at-the-cutpaste-tryout/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://www.rob-barrett.com/post/illustration-bliss-at-the-cutpaste-tryout</feedburner:origLink></item>
		<item>
		<title>Quick WordPress Tip: How to execute AND display PHP in posts and pages</title>
		<link>http://feedproxy.google.com/~r/RobBarrettDesign/~3/ZHd9KsDfCwQ/quick-wordpress-tip-how-to-execute-and-display-php-in-posts-and-pages</link>
		<comments>http://www.rob-barrett.com/post/quick-wordpress-tip-how-to-execute-and-display-php-in-posts-and-pages#comments</comments>
		<pubDate>Sat, 07 Mar 2009 16:51:48 +0000</pubDate>
		<dc:creator>Rob Barrett</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[custom field]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.rob-barrett.com/?p=916</guid>
		<description><![CDATA[Say you&#8217;ve got some PHP code that you need to run from within one of your Pages. For example, in my Portfolio page, I use the FlickrRSS plugin to pull in photos from my Flickr feed. While the easiest way to implement that would be to place the required PHP snippet in a template file, [...]]]></description>
			<content:encoded><![CDATA[<p>Say you&#8217;ve got some PHP code that you need to run from within one of your Pages. For example, in my Portfolio page, I use the FlickrRSS plugin to pull in photos from my Flickr feed. While the easiest way to implement that would be to place the required PHP snippet in a template file, I wanted to be able to display Page content after the photos, so I needed a way to allow PHP code to run from within a Page.</p>
<p>That&#8217;s the first step, and it&#8217;s got an easy solution &#8212; just install the <a href="http://bluesome.net/post/2005/08/18/50/">Exec-PHP plugin</a>, and all PHP within Posts and Pages will run as you&#8217;d expect it to.</p>
<p>The second requirement I have for my blog is that, such as in <a href="/post/quick-wordpress-tip-style-posts-according-to-date">this WordPress Tip</a>, I want to display PHP code as part of a tutorial, within a &#60;code&#62; tag. Entering the PHP code as is will simply run it, which is no good. Perhaps you could replace the questions marks with &#8216;&#38;#63;&#8217; (the HTML code for the question mark character)? Elsewhere, that would be fine, but a &#60;code&#62; tag will display its contents exactly as you enter them, so you&#8217;d get that HTML code showing up.</p>
<p>The workaround I came up with is to install the <a href="http://gonahkar.com/wordpress-plugins/custom-fields-shortcode/">Custom Fields Shortcodes plugin</a>, which lets you display the contents of a Custom Field within a Page or a Post (<a href="/post/display-custom-field-values-within-post-body">I&#8217;ve gone into more detail in this post</a>). Then you create a new custom field called, say, &#8216;<strong>PHP Example</strong>&#8216;, and enter the code into it, replacing the question marks with the above HTML character.</p>
<p><code><&#38;#63;php echo "This is some PHP code" &#38;#63;></code></p>
<p>You can call this into your post with the &#91;cf&#93; plugin tag. So, in this example, you&#8217;d type:</p>
<p><code>&#60;code&#62;&#91;cf&#93;PHP Example&#91;/cf&#93;&#60;/code&#62;</code></p>
<p>That will draw in the contents of the specified custom field, and show the code exactly as someone would need to enter it into their own code editor.</p>
        <hr /><p><a href="http://www.rob-barrett.com"><img src="http://www.rob-barrett.com/images/banner-468x60.gif" width="468" height="60" border="0" alt="Rob Barrett Design"></a><p>&copy; Rob Barrett Design.</p>      ]]></content:encoded>
			<wfw:commentRss>http://www.rob-barrett.com/post/quick-wordpress-tip-how-to-execute-and-display-php-in-posts-and-pages/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.rob-barrett.com/post/quick-wordpress-tip-how-to-execute-and-display-php-in-posts-and-pages</feedburner:origLink></item>
		<item>
		<title>Quick WordPress Tip: Style Posts According to Date</title>
		<link>http://feedproxy.google.com/~r/RobBarrettDesign/~3/JvX6Sj0qcxg/quick-wordpress-tip-style-posts-according-to-date</link>
		<comments>http://www.rob-barrett.com/post/quick-wordpress-tip-style-posts-according-to-date#comments</comments>
		<pubDate>Fri, 06 Mar 2009 17:21:02 +0000</pubDate>
		<dc:creator>Rob Barrett</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.rob-barrett.com/?p=891</guid>
		<description><![CDATA[Ever wanted to give a post element a different look and feel (or even include/exclude content) based on a post&#8217;s publication date? I got asked about this earlier today, and I figured it would be a handy tip to share.
I don&#8217;t claim to be a PHP coder, so while it does work, it could be [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to give a post element a different look and feel (or even include/exclude content) based on a post&#8217;s publication date? I got asked about this earlier today, and I figured it would be a handy tip to share.</p>
<p>I don&#8217;t claim to be a PHP coder, so while it does work, it could be that this can be shortened somewhat. Feel free to use it as a base for making it more efficient, if you&#8217;d like (and if you can, I&#8217;d love to see what you come up with!).</p>
<p>OK&#8230; Somewhere within the Loop, before the area you want to customise, enter the following:</p>
<p><code><&#63;php $postdate = the_date('Y-m-d','','',false) &#63;></code></p>
<p>That tells WP to find out the publication date of a post and to assign it to the function, <strong>$postdate</strong>. You can then call that function later in the post. For example:</p>
<p><code>&lt;p<&#63;php if ($postdate < date("2008-12-29")) { echo ' class="old"'; } &#63;>&gt;</code></p>
<p>That snippet of code will check to see if the post was published after 29th December, 2008. If not, it will be assigned the <em>&#8220;old&#8221;</em> class, and you can style that however you like through your stylesheet.</p>
<p>Of course, it&#8217;s not limited to CSS styling &#8212; you can place whatever you like within the if statement, so you could, say, choose to show full posts after a certain date, and excerpts of posts written earlier.</p>
        <hr /><p><a href="http://www.rob-barrett.com"><img src="http://www.rob-barrett.com/images/banner-468x60.gif" width="468" height="60" border="0" alt="Rob Barrett Design"></a><p>&copy; Rob Barrett Design.</p>      ]]></content:encoded>
			<wfw:commentRss>http://www.rob-barrett.com/post/quick-wordpress-tip-style-posts-according-to-date/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://www.rob-barrett.com/post/quick-wordpress-tip-style-posts-according-to-date</feedburner:origLink></item>
		<item>
		<title>How about a Nice Hot Cuppa?</title>
		<link>http://feedproxy.google.com/~r/RobBarrettDesign/~3/zf4tuKxFtQg/how-about-a-nice-hot-cuppa</link>
		<comments>http://www.rob-barrett.com/post/how-about-a-nice-hot-cuppa#comments</comments>
		<pubDate>Sun, 01 Mar 2009 21:52:37 +0000</pubDate>
		<dc:creator>Rob Barrett</dc:creator>
				<category><![CDATA[Branding]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Graphic Design]]></category>
		<category><![CDATA[Illustration]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[company]]></category>
		<category><![CDATA[london]]></category>
		<category><![CDATA[Nice Hot Cuppa]]></category>
		<category><![CDATA[rebranding]]></category>
		<category><![CDATA[South London]]></category>
		<category><![CDATA[studio]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.rob-barrett.com/?p=866</guid>
		<description><![CDATA[Recently, I&#8217;ve been thinking that a change in branding would do my own freelance business some good &#8212; that having a &#8217;studio&#8217; name, rather than using my own, would help in gaining new custom. To that end, I&#8217;m happy to announce that Nice Hot Cuppa is now online.

OK, it&#8217;s just a holding page for the [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I&#8217;ve been thinking that a change in branding would do my own freelance business some good &#8212; that having a &#8217;studio&#8217; name, rather than using my own, would help in gaining new custom. To that end, I&#8217;m happy to announce that <a href="http://www.nicehotcuppa.com"><strong>Nice Hot Cuppa</strong></a> is now online.</p>
<p><a href="http://www.nicehotcuppa.com"><img src="http://www.rob-barrett.com/wp-content/uploads/2009/03/nice-hot-cuppa-screenshot-090301.jpg" alt="nice-hot-cuppa-screenshot-090301" title="nice-hot-cuppa-screenshot-090301" width="500" height="299" class="alignnone size-full wp-image-869 image-border" /></a></p>
<p>OK, it&#8217;s just a holding page for the time being, until I build the site (and that probably won&#8217;t happen for at least a month or so &#8212; March is already filled up with holidaying and moving house), but it&#8217;s good to finally have something more substantial than just an idea in my head.</p>
<p>To reflect that I&#8217;m trying to involve myself in less web development, and more work involving graphic design and illustration, <strong>NHC will be geared towards generating clients requiring need print design, and digital design that doesn&#8217;t involve much in the way of back-end coding</strong>. I&#8217;ll still be working on web development for a number of existing clients, but I&#8217;m not going to be actively pushing this service.</p>
<p><strong>This site, Rob Barrett Design, will remain in order to showcase my personal projects and to host my blog</strong> (I&#8217;m still undecided as to whether I should blog under RBD or NHC, so I&#8217;ll keep it here for the time being), and it will likely shift towards a role that supports my search for a full-time design job in London.</p>
<p>I&#8217;ve got a nice <strong>UPrinting giveaway</strong> planned to mark the unveiling of the finished NHC site, so keep your eyes peeled for that!</p>
        <hr /><p><a href="http://www.rob-barrett.com"><img src="http://www.rob-barrett.com/images/banner-468x60.gif" width="468" height="60" border="0" alt="Rob Barrett Design"></a><p>&copy; Rob Barrett Design.</p>      ]]></content:encoded>
			<wfw:commentRss>http://www.rob-barrett.com/post/how-about-a-nice-hot-cuppa/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.rob-barrett.com/post/how-about-a-nice-hot-cuppa</feedburner:origLink></item>
	</channel>
</rss>
