<?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>thesaucymare &#187; WordPress 3.0</title>
	<atom:link href="http://thesaucymare.co.za/tag/wordpress-3-0/feed/" rel="self" type="application/rss+xml" />
	<link>http://thesaucymare.co.za</link>
	<description></description>
	<lastBuildDate>Tue, 02 Aug 2011 09:22:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Custom Post Type Panels</title>
		<link>http://thesaucymare.co.za/custom-post-type-panels/</link>
		<comments>http://thesaucymare.co.za/custom-post-type-panels/#comments</comments>
		<pubDate>Thu, 27 May 2010 15:30:32 +0000</pubDate>
		<dc:creator>Booth Warwick</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[panels]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[post types]]></category>
		<category><![CDATA[WordPress 3.0]]></category>

		<guid isPermaLink="false">http://www.thesaucymare.co.za/?p=161</guid>
		<description><![CDATA[Using the custom post type]]></description>
			<content:encoded><![CDATA[<p>Using the custom post type you will notice the page where you edit or add a new post only has the bare minimum of panels.  But what happens if I want to add a specific excerpt???</p>
<p>Easy <img src='http://thesaucymare.co.za/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  use the following code and add it to your functions file.</p>
<pre>add_post_type_support( '[your custom post type name', 'excerpt' );
</pre>
<p>Im not quite sure what the other panels are called. When I find out I will reply to this post with a list.</p>
]]></content:encoded>
			<wfw:commentRss>http://thesaucymare.co.za/custom-post-type-panels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0 Custom Post Type Custom Fields</title>
		<link>http://thesaucymare.co.za/wordpress-3-0-custom-post-type-custom-fields/</link>
		<comments>http://thesaucymare.co.za/wordpress-3-0-custom-post-type-custom-fields/#comments</comments>
		<pubDate>Fri, 21 May 2010 15:56:59 +0000</pubDate>
		<dc:creator>Booth Warwick</dc:creator>
				<category><![CDATA[Developer]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[Custom Fields]]></category>
		<category><![CDATA[WordPress 3.0]]></category>

		<guid isPermaLink="false">http://www.thesaucymare.co.za/?p=158</guid>
		<description><![CDATA[I have been trying out]]></description>
			<content:encoded><![CDATA[<p>I have been trying out the custom post types for WordPress 3.0 Beta 2, I ran into a problem where i could not call the custom fields for posts i have assigned custom post type values.</p>
<p>I came up with this workaround for now until it is sorted.</p>
<pre>function get_post_meta_custom($key, $single = false) {
 global $wpdb,$post;
 $answer = $wpdb-&gt;get_var($wpdb-&gt;prepare("SELECT meta_value FROM $wpdb-&gt;postmeta WHERE post_id = ".$post-&gt;ID." AND meta_key = '".$key."'"));
 return $answer;
}</pre>
<p>Call it using the following. I use this inside on the single post inside the loop.</p>
<pre> if ( get_post_meta_custom('client_name', true) ) {echo get_post_meta_portfolio('client_name', true);    }</pre>
]]></content:encoded>
			<wfw:commentRss>http://thesaucymare.co.za/wordpress-3-0-custom-post-type-custom-fields/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

