<?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/"
	>

<channel>
	<title>Gabriel</title>
	<atom:link href="http://www.gabrielserafini.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gabrielserafini.com</link>
	<description>Web Design, Development and Business ... infopoet</description>
	<pubDate>Fri, 19 Jun 2009 22:53:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Working at Northwest Coffee</title>
		<link>http://www.gabrielserafini.com/archives/2009/06/18/working-at-northwest-coffee/</link>
		<comments>http://www.gabrielserafini.com/archives/2009/06/18/working-at-northwest-coffee/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 22:51:26 +0000</pubDate>
		<dc:creator>Gabriel</dc:creator>
		
		<category><![CDATA[News]]></category>

		<category><![CDATA[bruce]]></category>

		<category><![CDATA[coffee]]></category>

		<category><![CDATA[coffeeshop]]></category>

		<category><![CDATA[coworking]]></category>

		<category><![CDATA[david]]></category>

		<category><![CDATA[gabriel]]></category>

		<category><![CDATA[guys]]></category>

		<category><![CDATA[john]]></category>

		<category><![CDATA[laptops]]></category>

		<category><![CDATA[macbook]]></category>

		<category><![CDATA[northwest]]></category>

		<category><![CDATA[steve]]></category>

		<category><![CDATA[working]]></category>

		<guid isPermaLink="false">http://www.gabrielserafini.com/archives/2009/06/19/working-at-northwest-coffee/</guid>
		<description><![CDATA[



Fun times working at the coffee shop 


	One of the last times we will all be physically in the same place.  Good times. 
]]></description>
			<content:encoded><![CDATA[<div class="flickr-photo">
<a href="http://www.flickr.com/photos/gserafini/3642306214/" title="Click here to view Working at Northwest Coffee on Flickr."><img src="http://farm3.static.flickr.com/2460/3642306214_84f64fe232.jpg" class="flickr-photo" alt="" /></a>
</div>
<div class="flickr-photo-description">
Fun times working at the coffee shop <img src='http://www.gabrielserafini.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
</div>
<p class="flickr-yourcomment">
	One of the last times we will all be physically in the same place.  Good times. <img src='http://www.gabrielserafini.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gabrielserafini.com/archives/2009/06/18/working-at-northwest-coffee/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wired Magazine collection for sale - 100 issues from September 1999 through June 2009</title>
		<link>http://www.gabrielserafini.com/archives/2009/06/07/wired-magazine-collection-for-sale-100-issues-from-september-1999-through-june-2009/</link>
		<comments>http://www.gabrielserafini.com/archives/2009/06/07/wired-magazine-collection-for-sale-100-issues-from-september-1999-through-june-2009/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 01:02:56 +0000</pubDate>
		<dc:creator>Gabriel</dc:creator>
		
		<category><![CDATA[News]]></category>

		<category><![CDATA[forsale]]></category>

		<category><![CDATA[magazine]]></category>

		<category><![CDATA[wired]]></category>

		<guid isPermaLink="false">http://www.gabrielserafini.com/?p=1075</guid>
		<description><![CDATA[
Selling my entire collection of Wired Magazine, including most issue from September 1999 through June 2009.  Page through 10 years of cool technology, neat ideas and interesting ads.  Wired is jam-packed full of good graphic design ideas.  Individual back copies sell on eBay between $4.99 and $17.99.
To make an offer, call (314) [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/gserafini/sets/72157619324421127/" title="Wired Magazine collection for sale by gserafini, on Flickr"><img src="http://farm4.static.flickr.com/3657/3604980257_6f974080c0_o.jpg" width="492" height="1512" alt="Wired Magazine collection for sale" /></a></p>
<p>Selling my entire collection of Wired Magazine, including most issue from September 1999 through June 2009.  Page through 10 years of cool technology, neat ideas and interesting ads.  Wired is jam-packed full of good graphic design ideas.  Individual back copies sell on eBay between $4.99 and $17.99.</p>
<p>To make an offer, call (314) 477-4529.  Starting offer is $160 or best offer.  Need to sell by end of June, 2009 due to move.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gabrielserafini.com/archives/2009/06/07/wired-magazine-collection-for-sale-100-issues-from-september-1999-through-june-2009/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Collectible 75th Anniversary Edition Esquire Magazine with E-Ink cover for sale</title>
		<link>http://www.gabrielserafini.com/archives/2009/06/07/collectible-75th-anniversary-edition-esquire-magazine-with-e-ink-cover-for-sale/</link>
		<comments>http://www.gabrielserafini.com/archives/2009/06/07/collectible-75th-anniversary-edition-esquire-magazine-with-e-ink-cover-for-sale/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 23:14:06 +0000</pubDate>
		<dc:creator>Gabriel</dc:creator>
		
		<category><![CDATA[News]]></category>

		<category><![CDATA[ebay]]></category>

		<category><![CDATA[forsale]]></category>

		<guid isPermaLink="false">http://www.gabrielserafini.com/?p=1073</guid>
		<description><![CDATA[
For sale:  Mint condition copy of the October 2008 SPECIAL COLLECTOR&#8217;S EDITION of Esquire Magazine that features an animated e-ink cover graphic.
Bid on it on Ebay here: http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&#038;item=180366379500

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/gserafini/3604668547/" title="Collectible 75th Anniversary Edition Esquire Magazine with E-Ink cover for sale by gserafini, on Flickr"><img src="http://farm4.static.flickr.com/3397/3604668547_e6f86c2831.jpg" width="375" height="500" alt="Collectible 75th Anniversary Edition Esquire Magazine with E-Ink cover for sale" /></a></p>
<p>For sale:  Mint condition copy of the October 2008 SPECIAL COLLECTOR&#8217;S EDITION of Esquire Magazine that features an animated e-ink cover graphic.</p>
<p>Bid on it on Ebay here: <a href="http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&#038;item=180366379500">http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&#038;item=180366379500</a></p>
<p><a href="http://www.flickr.com/photos/gserafini/3604669053/" title="Collectible 75th Anniversary Edition Esquire Magazine with E-Ink cover for sale by gserafini, on Flickr"><img src="http://farm4.static.flickr.com/3012/3604669053_ac0983feed.jpg" width="500" height="375" alt="Collectible 75th Anniversary Edition Esquire Magazine with E-Ink cover for sale" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gabrielserafini.com/archives/2009/06/07/collectible-75th-anniversary-edition-esquire-magazine-with-e-ink-cover-for-sale/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Last minute Mother&#8217;s Day present - donate to Mother&#8217;s Grove in the Children&#8217;s Eternal Rainforest</title>
		<link>http://www.gabrielserafini.com/archives/2009/05/08/last-minute-mothers-day-present-donate-to-mothers-grove-in-the-childrens-eternal-rainforest/</link>
		<comments>http://www.gabrielserafini.com/archives/2009/05/08/last-minute-mothers-day-present-donate-to-mothers-grove-in-the-childrens-eternal-rainforest/#comments</comments>
		<pubDate>Fri, 08 May 2009 06:39:15 +0000</pubDate>
		<dc:creator>Gabriel</dc:creator>
		
		<category><![CDATA[Ideas]]></category>

		<category><![CDATA[News]]></category>

		<category><![CDATA[Projects]]></category>

		<category><![CDATA[donate]]></category>

		<category><![CDATA[gift]]></category>

		<category><![CDATA[mclus]]></category>

		<category><![CDATA[mother's day]]></category>

		<category><![CDATA[rainforest]]></category>

		<guid isPermaLink="false">http://www.gabrielserafini.com/archives/2009/05/08/last-minute-mothers-day-present-donate-to-mothers-grove-in-the-childrens-eternal-rainforest/</guid>
		<description><![CDATA[If you haven&#8217;t gotten your mom something yet, consider donating to the new Mother&#8217;s Grove in the Children&#8217;s Eternal Rainforest&#8230;

Click here to donate now
]]></description>
			<content:encoded><![CDATA[<p>If you haven&#8217;t gotten your mom something yet, consider donating to the new Mother&#8217;s Grove in the Children&#8217;s Eternal Rainforest&#8230;</p>
<p><a href="http://bit.ly/3bg9v" title="Click here to donate now"><img src="http://mclus.org/wp-content/uploads/2009/05/mothersday_card.jpg" border="0" alt="Mother's Grove in the Children's Eternal Rainforest" /></a></p>
<p><a href="http://bit.ly/3bg9v" title="Click here to donate now">Click here to donate now</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gabrielserafini.com/archives/2009/05/08/last-minute-mothers-day-present-donate-to-mothers-grove-in-the-childrens-eternal-rainforest/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Vogon Poetry is now available in the App Store!</title>
		<link>http://www.gabrielserafini.com/archives/2009/04/11/vogon-poetry-is-now-available-in-the-app-store/</link>
		<comments>http://www.gabrielserafini.com/archives/2009/04/11/vogon-poetry-is-now-available-in-the-app-store/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 05:34:47 +0000</pubDate>
		<dc:creator>Gabriel</dc:creator>
		
		<category><![CDATA[Business]]></category>

		<category><![CDATA[Design]]></category>

		<category><![CDATA[Mac OS X]]></category>

		<category><![CDATA[News]]></category>

		<category><![CDATA[Phone]]></category>

		<category><![CDATA[Projects]]></category>

		<category><![CDATA[Tools]]></category>

		<category><![CDATA[iPhone]]></category>

		<category><![CDATA[iPod]]></category>

		<category><![CDATA[app]]></category>

		<category><![CDATA[apple]]></category>

		<category><![CDATA[application]]></category>

		<category><![CDATA[ipod touch]]></category>

		<guid isPermaLink="false">http://www.gabrielserafini.com/?p=1060</guid>
		<description><![CDATA[
I&#8217;m proud to announce the immediate availability of our Vogon Poetry application for iPhone and iPod Touch.  You can get it in the App Store for $2.99.
Click here to check it out!
]]></description>
			<content:encoded><![CDATA[<p><a href="http://bit.ly/VogonPoetryApp" title="Click here  to get the all-new Vogon Poetry application for your iPhone or iPod Touch today for only $2.99"><img src="http://vogonpoems.com/images/ClickHereToGetVogonPoetry.jpg" width="500" height="300" alt="Click here to get Vogon Poetry" border="0" /></a></p>
<p>I&#8217;m proud to announce the immediate availability of our Vogon Poetry application for iPhone and iPod Touch.  You can get it in the App Store for $2.99.</p>
<p><a href="http://bit.ly/VogonPoetryApp">Click here to check it out!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gabrielserafini.com/archives/2009/04/11/vogon-poetry-is-now-available-in-the-app-store/feed/</wfw:commentRss>
		</item>
		<item>
		<title>kai</title>
		<link>http://www.gabrielserafini.com/archives/2009/03/23/kai/</link>
		<comments>http://www.gabrielserafini.com/archives/2009/03/23/kai/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 17:00:12 +0000</pubDate>
		<dc:creator>Gabriel</dc:creator>
		
		<category><![CDATA[Ideas]]></category>

		<category><![CDATA[kai]]></category>

		<category><![CDATA[name]]></category>

		<guid isPermaLink="false">http://www.gabrielserafini.com/?p=1046</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Kai_(name)"><img src="http://www.gabrielserafini.com/wp-content/uploads/kai_001.png" alt="kai_001" title="kai_001" width="200" height="200" class="alignnone size-full wp-image-1051" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gabrielserafini.com/archives/2009/03/23/kai/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Going to SXSW in Austin, TX this year</title>
		<link>http://www.gabrielserafini.com/archives/2009/03/12/going-to-sxsw-in-austin-tx-this-year/</link>
		<comments>http://www.gabrielserafini.com/archives/2009/03/12/going-to-sxsw-in-austin-tx-this-year/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 17:59:31 +0000</pubDate>
		<dc:creator>Gabriel</dc:creator>
		
		<category><![CDATA[Business]]></category>

		<category><![CDATA[Cool Hunting]]></category>

		<category><![CDATA[Design]]></category>

		<category><![CDATA[Development]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[News]]></category>

		<category><![CDATA[Travel]]></category>

		<category><![CDATA[austin]]></category>

		<category><![CDATA[conference]]></category>

		<category><![CDATA[interactive]]></category>

		<category><![CDATA[sxsw]]></category>

		<guid isPermaLink="false">http://www.gabrielserafini.com/?p=1041</guid>
		<description><![CDATA[
Finally I&#8217;m going to SXSW in Austin, TX this year.  Now I get to be one of the cool kids. Or something like that.
Pictures from the trip:

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/gserafini/3352582028/" title="Got the badge! #sxsw by gserafini, on Flickr"><img src="http://farm4.static.flickr.com/3584/3352582028_47a6b2a2e9.jpg" width="500" height="375" alt="Got the badge! #sxsw" /></a></p>
<p>Finally I&#8217;m going to <a href="http://www.sxsw.com/">SXSW</a> in Austin, TX this year.  Now I get to be one of the cool kids. Or something like that.</p>
<h3>Pictures from the trip:</h3>
<p><object width="500" height="375"><param name="flashvars" value="&#038;offsite=true&amp;lang=en-us&#038;page_show_url=%2Fphotos%2Fgserafini%2Fsets%2F72157615287454079%2Fshow%2F&#038;page_show_back_url=%2Fphotos%2Fgserafini%2Fsets%2F72157615287454079%2F&#038;set_id=72157615287454079&#038;jump_to="></param><param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=67348"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/slideshow/show.swf?v=67348" allowFullScreen="true" flashvars="&#038;offsite=true&amp;lang=en-us&#038;page_show_url=%2Fphotos%2Fgserafini%2Fsets%2F72157615287454079%2Fshow%2F&#038;page_show_back_url=%2Fphotos%2Fgserafini%2Fsets%2F72157615287454079%2F&#038;set_id=72157615287454079&#038;jump_to=" width="500" height="375"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gabrielserafini.com/archives/2009/03/12/going-to-sxsw-in-austin-tx-this-year/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Röyksopp&#8217;s Happy Up Here video [Spaceinvaders in real life]</title>
		<link>http://www.gabrielserafini.com/archives/2009/02/27/royksopps-happy-up-here-video-spaceinvaders-in-real-life/</link>
		<comments>http://www.gabrielserafini.com/archives/2009/02/27/royksopps-happy-up-here-video-spaceinvaders-in-real-life/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 08:08:51 +0000</pubDate>
		<dc:creator>Gabriel</dc:creator>
		
		<category><![CDATA[Cool Hunting]]></category>

		<category><![CDATA[Music]]></category>

		<category><![CDATA[Video]]></category>

		<category><![CDATA[music video]]></category>

		<category><![CDATA[spaceinvaders]]></category>

		<guid isPermaLink="false">http://www.gabrielserafini.com/?p=1036</guid>
		<description><![CDATA[
Quite excellent music video featuring space invaders and happy blip blops.  Thanks to Kevin for pointing it out.
]]></description>
			<content:encoded><![CDATA[<p><object width="550" height="301"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=3281558&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=3281558&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="550" height="301"></embed></object></p>
<p>Quite excellent music video featuring space invaders and happy blip blops.  Thanks to Kevin for pointing it out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gabrielserafini.com/archives/2009/02/27/royksopps-happy-up-here-video-spaceinvaders-in-real-life/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to: Get rid of widows in your WordPress posts with Widon&#8217;t plugin</title>
		<link>http://www.gabrielserafini.com/archives/2009/02/20/how-to-get-rid-of-widows-in-your-wordpress-posts-with-widont-plugin/</link>
		<comments>http://www.gabrielserafini.com/archives/2009/02/20/how-to-get-rid-of-widows-in-your-wordpress-posts-with-widont-plugin/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 08:42:35 +0000</pubDate>
		<dc:creator>Gabriel</dc:creator>
		
		<category><![CDATA[Design]]></category>

		<category><![CDATA[Development]]></category>

		<category><![CDATA[How To]]></category>

		<category><![CDATA[Projects]]></category>

		<category><![CDATA[Tools]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[Code]]></category>

		<category><![CDATA[plugin]]></category>

		<category><![CDATA[typography]]></category>

		<category><![CDATA[widont]]></category>

		<category><![CDATA[widow]]></category>

		<guid isPermaLink="false">http://www.gabrielserafini.com/?p=1027</guid>
		<description><![CDATA[I was just working on making some updates to the backend WordPress code for the Principia Pilot website (http://principiapilot.org/) and noticed widows in some of the stories.
Widows are the typographic term for a single word on a line at the end of a paragraph.  I thought about the solution to this problem (basically add [...]]]></description>
			<content:encoded><![CDATA[<p>I was just working on making some updates to the backend WordPress code for the Principia Pilot website (<a href="http://principiapilot.org/">http://principiapilot.org/</a>) and noticed widows in some of the stories.</p>
<p>Widows are the typographic term for a single word on a line at the end of a paragraph.  I thought about the solution to this problem (basically add a non-breaking space before the last word of a paragraph) and then realized probably someone had written a plugin to do exactly this.</p>
<p>I tried two different plugins and like this one the best because it doesn&#8217;t overwrite the rest of the excellent WordPress typographic niceties like converting straight quotes to curly quotes:</p>
<p><strong>Widon&#8217;t</strong> <a href="http://www.shauninman.com/archive/2008/08/25/widont_2_1_1">Download latest version here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gabrielserafini.com/archives/2009/02/20/how-to-get-rid-of-widows-in-your-wordpress-posts-with-widont-plugin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to: Automatically add a default set of Custom Fields to each post in WordPress</title>
		<link>http://www.gabrielserafini.com/archives/2009/02/12/how-to-automatically-add-a-default-set-of-custom-fields-to-each-post-in-wordpress/</link>
		<comments>http://www.gabrielserafini.com/archives/2009/02/12/how-to-automatically-add-a-default-set-of-custom-fields-to-each-post-in-wordpress/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 05:51:46 +0000</pubDate>
		<dc:creator>Gabriel</dc:creator>
		
		<category><![CDATA[Design]]></category>

		<category><![CDATA[Development]]></category>

		<category><![CDATA[How To]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[Reviews]]></category>

		<category><![CDATA[Tools]]></category>

		<category><![CDATA[Web 2.0]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[Code]]></category>

		<category><![CDATA[custom field template]]></category>

		<category><![CDATA[examples]]></category>

		<category><![CDATA[howto]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[plugin]]></category>

		<category><![CDATA[recommendation]]></category>

		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://www.gabrielserafini.com/?p=1006</guid>
		<description><![CDATA[
One of the neat things about WordPress is how easy it is to add custom metadata to a given page or post that you can then use in a template to display structured information.  I&#8217;ve been using this technique for a while now to extend the basic WordPress elements of title, body, excerpt, etc [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/gserafini/3273843546/" title="PrincipiaPilot.org screenshot showing Custom Fields being used in a template by gserafini, on Flickr"><img src="http://farm4.static.flickr.com/3381/3273843546_254621abd7.jpg" width="478" height="500" alt="PrincipiaPilot.org screenshot showing Custom Fields being used in a template" /></a></p>
<p>One of the neat things about <a href="http://wordpress.org/">WordPress</a> is how easy it is to add custom metadata to a given page or post that you can then use in a template to display structured information.  I&#8217;ve been using this technique for a while now to extend the basic WordPress elements of title, body, excerpt, etc and allow the creation of easily editable information-rich content.</p>
<p>Before now I&#8217;ve used the built-in WordPress Custom Field functionality in the <strong>Add New</strong> screen where you select previously created custom fields from a drop-down list that is limited to only showing 30 items.  This is quite cumbersome as you have select each field you want to add to the entry and enter the value, click the <strong>Add Custom Field</strong> button, then repeat for however many custom fields you want to use.  Needless to say, this can be frustrating to have to remember to do every time, especially for non-technical clients.</p>
<h3>The Old Way:</h3>
<p><a href="http://www.flickr.com/photos/gserafini/3273783642/" title="Selecting a Custom Field (the old way) by gserafini, on Flickr"><img src="http://farm4.static.flickr.com/3111/3273783642_4a7b16b7e1.jpg" width="500" height="287" alt="Selecting a Custom Field (the old way)" /></a></p>
<p>During a recent site conversion to WordPress that involves 4-6 custom fields for each post, we finally decided that there must be a better way, and ended up finding a WordPress plugin that is so good that it should probably be added to WordPress core, it is so highly useful.  The plugin is called <a href="http://wordpress.org/extend/plugins/custom-field-template/">Custom Field Template</a> and is developed by <a href="http://wordpressgogo.com/development/custom-field-template.html">Hiroaki Miyashita</a>.</p>
<h3>The New Way:</h3>
<p><a href="http://www.flickr.com/photos/gserafini/3272963785/" title="Custom Field Template WordPress plugin screenshot by gserafini, on Flickr"><img src="http://farm4.static.flickr.com/3429/3272963785_1ed10e51f7.jpg" width="500" height="357" alt="Custom Field Template WordPress plugin screenshot" /></a></p>
<p>Using a simple set of options to define the template you want to use is easy.  After downloading and activating the plugin, go to <strong>Settings > Custom Field Template</strong> to define your template.  One is provided for you to show you the possible template values.  You can set up two separate custom field template designs.</p>
<p>This is the code used to generate the Custom Field Template form shown in the screenshot above:</p>
<h3>Template Instruction</h3>
<p><code>&lt;strong&gt;Story Template Metadata Instructions &lt;em&gt;(All fields are optional)&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;<br />
1. Use this form to enter metadata about this story.&lt;br /&gt;<br />
2. Each item will get assigned to the correct Custom Field for use in the display template.&lt;br /&gt;<br />
3. Click the &lt;strong&gt;Save&lt;/strong&gt; button to save the values.&lt;br /&gt;<br />
&lt;br /&gt;</code></p>
<h3>Template Content</h3>
<p><code>[summary_deck]<br />
type = textarea<br />
rows = 3<br />
cols = 50<br />
label = Summary Deck:</code></p>
<p><code>[byline_writer_name]<br />
type = text<br />
size = 35<br />
label = Byline Writer Name: </code></p>
<p><code>[byline_writer_title]<br />
type = text<br />
size = 35<br />
label = Byline Writer Title: </code></p>
<p><code>[byline_writer_picture_url]<br />
type = text<br />
size = 54<br />
label = Byline Writer Picture URL: </code></p>
<p><code>[lead_photo_caption]<br />
type = textarea<br />
rows = 3<br />
cols = 50<br />
label = Lead Photo Caption:</code> </p>
<p><code>[lead_photo_credit]<br />
type = text<br />
size = 35<br />
label = Lead Photo Credit: </code></p>
<p><code>[lead_photo_url]<br />
type = text<br />
size = 54<br />
label = Lead Photo URL: </code></p>
<p>Then set this setting to true by checking the box to make the form look prettier:<br />
<a href="http://www.flickr.com/photos/gserafini/3272980295/" title="Custom Field Template WordPress plugin setting by gserafini, on Flickr"><img src="http://farm4.static.flickr.com/3372/3272980295_dedd546cd3_o.png" width="445" height="54" alt="Custom Field Template WordPress plugin setting" /></a></p>
<p>Next, I tweaked the Admin CSS settings to right-justify the labels:<br />
<code><br />
#cft dl { clear:both; margin:0; padding:0; width:100%; }<br />
#cft dt { float:left; font-weight:bold; margin:0; padding: 0 8px 0 0; text-align:right; width: 20%; }<br />
#cft dt .hideKey { visibility:hidden; }<br />
#cft dd { float:left; margin:0; text-align:left; width:70%; }<br />
#cft dd p.label { font-weight:bold; margin:0; }<br />
#cft_instruction { margin:10px; }<br />
</code></p>
<p>Click <strong>Update Options</strong> to save the settings and then go to <strong>Posts > Add New</strong> to see the form in action.  You may need to go back and forth a couple of times to get your text field sizes just right and to put them in the right order you want them in.</p>
<h3>Using the Custom Fields in a template</h3>
<p>So how do these values get displayed on your page?</p>
<p>Simply edit your template PHP file to look for custom field values and then display them where you want them if they&#8217;re present.</p>
<p>This is how I do it for the <a href="http://principiapilot.org/">Principia Pilot</a> site.  This code goes at the top of the template for <strong>single.php</strong><br />
<code><br />
&lt;?php<br />
// Retrieve custom meta values from post if they're present<br />
$byline_writer_name = htmlspecialchars(get_post_meta($post-&gt;ID, "byline_writer_name", true));<br />
$byline_writer_title = htmlspecialchars(get_post_meta($post-&gt;ID, "byline_writer_title", true));<br />
$byline_writer_picture_url = htmlspecialchars(get_post_meta($post-&gt;ID, "byline_writer_picture_url", true));<br />
$lead_photo_url = htmlspecialchars(get_post_meta($post-&gt;ID, "lead_photo_url", true));<br />
$lead_photo_credit = htmlspecialchars(get_post_meta($post-&gt;ID, "lead_photo_credit", true));<br />
$lead_photo_caption = htmlspecialchars(get_post_meta($post-&gt;ID, "lead_photo_caption", true));<br />
$summary_deck = wptexturize(get_post_meta($post-&gt;ID, "summary_deck", true));<br />
?&gt;<br />
</code></p>
<p>Now each of the possible Custom Fields are available as PHP variables that can be checked for content.</p>
<p>This code example shows the &#8220;summary deck&#8221; being displayed on the page if it has been entered on the create content screen:<br />
<code><br />
&lt;?php<br />
// Show summary deck if we have one<br />
if ($summary_deck != "") {<br />
&nbsp;&nbsp;&nbsp;&nbsp;echo '&lt;h3 class="summary-deck"&gt;' . $summary_deck . '&lt;/h3&gt;';<br />
}<br />
?&gt;<br />
</code></p>
<p>Using this excellent plugin, you can set up select lists, radio buttons, check boxes and more to help you populate your Custom Fields more easily if you prefer that to using simple text fields.  You can also specify default values to use for the custom fields so you don&#8217;t have to type them in every time.</p>
<h3>Plugin Default Template Options</h3>
<p>These are the default options included by the plugin:<br />
<code>[Plan]<br />
type = text<br />
size = 35<br />
label = Where are you going to go?</code></p>
<p><code>[Plan]<br />
type = textfield<br />
size = 35<br />
hideKey = true</code></p>
<p><code>[Favorite Fruits]<br />
type = checkbox<br />
value = apple # orange # banana # grape<br />
default = orange # grape</code></p>
<p><code>[Miles Walked]<br />
type = radio<br />
value = 0-9 # 10-19 # 20+<br />
default = 10-19<br />
clearButton = true</code></p>
<p><code>[Temper Level]<br />
type = select<br />
value = High # Medium # Low<br />
default = Low</code></p>
<p><code>[Hidden Thought]<br />
type = textarea<br />
rows = 4<br />
cols = 40<br />
tinyMCE = true<br />
mediaButton = true</code></p>
<p>Which displays a form that looks like this:<br />
<a href="http://www.flickr.com/photos/gserafini/3273016259/" title="Custom Field Template WordPress plugin screenshot - Default form options by gserafini, on Flickr"><img src="http://farm4.static.flickr.com/3380/3273016259_4d6095b2f4.jpg" width="500" height="363" alt="Custom Field Template WordPress plugin screenshot - Default form options" /></a></p>
<h3>Summary</h3>
<p>This plugin addresses a key need when using Custom Meta Fields in a WordPress custom template design &#8212; making it as easy as possible to enter values time after time on multiple pages or posts.  There are a bunch of other neat options this plugin offers to make the authoring experience even easier.  This is now on my &#8220;must install&#8221; list of essential WordPress plugins.</p>
<h3>Please support Open Source by donating to the plugin author</h3>
<p>If you use this and like it, I highly recommend sending a nice donation to the plugin author to help support ongoing development and to say thanks. This plugin will save you and your clients a lot of time and frustration.  <em>Thanks Hiroaki!</em></p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="100156" />
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG_global.gif" border="0" name="submit" alt="" style="border:0;" /><img alt="" border="0" src="https://www.paypal.com/ja_JP/i/scr/pixel.gif" width="1" height="1" /></form>
<h3>Requirements</h3>
<p>Requires WordPress 2.1 or higher.</p>
<h3><a href="http://wordpress.org/extend/plugins/custom-field-template/">Click here to download Custom Field Template plugin from WordPress.org</a></h3>
]]></content:encoded>
			<wfw:commentRss>http://www.gabrielserafini.com/archives/2009/02/12/how-to-automatically-add-a-default-set-of-custom-fields-to-each-post-in-wordpress/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
