<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Custom Field Template Plugin: Very Handy!</title>
	<atom:link href="http://matt-simo.com/cft-plugin-very-handy/feed/" rel="self" type="application/rss+xml" />
	<link>http://matt-simo.com/cft-plugin-very-handy/</link>
	<description>Front-End Designer/Developer</description>
	<lastBuildDate>Tue, 21 Jun 2011 18:23:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Karl</title>
		<link>http://matt-simo.com/cft-plugin-very-handy/comment-page-1/#comment-86</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Tue, 10 Nov 2009 14:58:09 +0000</pubDate>
		<guid isPermaLink="false">http://matt-simo.com/?p=130#comment-86</guid>
		<description>Thanks, helped me to retrieve some code from the CFT plugin, which I just didn&#039;t manage to do with the sparse details on the plugin page.</description>
		<content:encoded><![CDATA[<p>Thanks, helped me to retrieve some code from the CFT plugin, which I just didn&#8217;t manage to do with the sparse details on the plugin page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://matt-simo.com/cft-plugin-very-handy/comment-page-1/#comment-10</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Mon, 01 Jun 2009 22:39:16 +0000</pubDate>
		<guid isPermaLink="false">http://matt-simo.com/?p=130#comment-10</guid>
		<description>There are a couple of notes that should be made after further testing and some time to reflect.

1. The get_post_meta function ( In the article we used: &lt;?php $skills = get_post_meta($post-&gt;ID, &#039;skills_used&#039;); ?&gt; ) has a parameter that is by default turned off. &quot;$single&quot; to be precise, I should have noted this as this necessary knowledge to understanding how you actually pull in the array. So, if you were playing around with similar code but only getting it to display one value in the array, that is why. Most of the code I saw around other posts I was investigating looked like &lt;?php $someVariable = get_post_meta($post-&gt;ID, &#039;someCustomFieldKey&#039;, true); ?&gt; ...

2. There are possible issues with placing the $skill as the css class for the list items. Firstly, if you name the custom field key, oh let&#039;s say, &quot;Photoshop CS4&quot; or &quot;Illustrator CS4&quot; or any other variation of a pair of words, it looks pretty when the php echo&#039;s it, but it will apply two css classes. Since you can add multiple css classes by merely separating the class names by a &#039;space&#039;. In my example you&#039;d end up having:

&lt;.li class=&quot;Photoshop CS4&quot;&gt; // Take out the &#039;.&#039;. Apparently my plugin for pre and code doesn&#039;t work in comments... - I NEED to finish my theme! =) -.

Which applies classes of &quot;Photoshop&quot; and &quot;CS4&quot; to that list item.

After some further thought, I&#039;ve come to the conclusion that this is a good and bad thing. Good, because you can apply a uniform left margin to all of  list items with the class of &quot;CS4&quot; (The adobe suite has those lovely uniformed icons for all of their wonderful tools.) and a particular background image/icon for &quot;Photoshop&quot; or &quot;Illustrator&quot;. This is a pleasant happenstance, but ultimately I think slightly unnecessary as it will save you a handful of lines of CSS code. 

Bad, because there are &quot;certain&quot; browsers out there that still have a good chunk of user basis that do not recognize/accept the web standard of multiple classes. Also, I&#039;m pretty sure this &quot;certain&quot; browser will still flag an html element with the initial class declared (so, &quot;Photoshop CS4&quot; would apply &quot;Photoshop&quot; but ignore CS4). I&#039;m not 100% on this though, so if anyone knows, please feel free to clarify. If, &quot;Photshop&quot; would be applied it would ultimately render the previously stated benefits moot. So, ya...

Anyways, if anyone else sees any holes in my post please go ahead and poke em. I&#039;m by no means an expert and I&#039;m also a rookie blogger so my tutorial skills still need work for sure! I&#039;d hate for misinformation to go unchecked. Thanks.</description>
		<content:encoded><![CDATA[<p>There are a couple of notes that should be made after further testing and some time to reflect.</p>
<p>1. The get_post_meta function ( In the article we used: < ?php $skills = get_post_meta($post->ID, &#8216;skills_used&#8217;); ?> ) has a parameter that is by default turned off. &#8220;$single&#8221; to be precise, I should have noted this as this necessary knowledge to understanding how you actually pull in the array. So, if you were playing around with similar code but only getting it to display one value in the array, that is why. Most of the code I saw around other posts I was investigating looked like < ?php $someVariable = get_post_meta($post->ID, &#8216;someCustomFieldKey&#8217;, true); ?> &#8230;</p>
<p>2. There are possible issues with placing the $skill as the css class for the list items. Firstly, if you name the custom field key, oh let&#8217;s say, &#8220;Photoshop CS4&#8243; or &#8220;Illustrator CS4&#8243; or any other variation of a pair of words, it looks pretty when the php echo&#8217;s it, but it will apply two css classes. Since you can add multiple css classes by merely separating the class names by a &#8216;space&#8217;. In my example you&#8217;d end up having:</p>
<p>< .li class="Photoshop CS4"> // Take out the &#8216;.&#8217;. Apparently my plugin for pre and code doesn&#8217;t work in comments&#8230; &#8211; I NEED to finish my theme! =) -.</p>
<p>Which applies classes of &#8220;Photoshop&#8221; and &#8220;CS4&#8243; to that list item.</p>
<p>After some further thought, I&#8217;ve come to the conclusion that this is a good and bad thing. Good, because you can apply a uniform left margin to all of  list items with the class of &#8220;CS4&#8243; (The adobe suite has those lovely uniformed icons for all of their wonderful tools.) and a particular background image/icon for &#8220;Photoshop&#8221; or &#8220;Illustrator&#8221;. This is a pleasant happenstance, but ultimately I think slightly unnecessary as it will save you a handful of lines of CSS code. </p>
<p>Bad, because there are &#8220;certain&#8221; browsers out there that still have a good chunk of user basis that do not recognize/accept the web standard of multiple classes. Also, I&#8217;m pretty sure this &#8220;certain&#8221; browser will still flag an html element with the initial class declared (so, &#8220;Photoshop CS4&#8243; would apply &#8220;Photoshop&#8221; but ignore CS4). I&#8217;m not 100% on this though, so if anyone knows, please feel free to clarify. If, &#8220;Photshop&#8221; would be applied it would ultimately render the previously stated benefits moot. So, ya&#8230;</p>
<p>Anyways, if anyone else sees any holes in my post please go ahead and poke em. I&#8217;m by no means an expert and I&#8217;m also a rookie blogger so my tutorial skills still need work for sure! I&#8217;d hate for misinformation to go unchecked. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Twitted by M_A_Simo</title>
		<link>http://matt-simo.com/cft-plugin-very-handy/comment-page-1/#comment-8</link>
		<dc:creator>Twitted by M_A_Simo</dc:creator>
		<pubDate>Sun, 31 May 2009 14:59:52 +0000</pubDate>
		<guid isPermaLink="false">http://matt-simo.com/?p=130#comment-8</guid>
		<description>[...] This post was Twitted by M_A_Simo - Real-url.org [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was Twitted by M_A_Simo &#8211; Real-url.org [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

