<?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</title>
	<atom:link href="http://thesaucymare.co.za/tag/wordpress/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.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<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>
		<item>
		<title>FeedMyMedia WPMU Recent Posts</title>
		<link>http://thesaucymare.co.za/feedmymedia-wpmu-recent-posts/</link>
		<comments>http://thesaucymare.co.za/feedmymedia-wpmu-recent-posts/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 09:37:18 +0000</pubDate>
		<dc:creator>Booth Warwick</dc:creator>
				<category><![CDATA[Developer]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[FMM]]></category>
		<category><![CDATA[widget]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WPMU Recent Posts]]></category>

		<guid isPermaLink="false">http://www.thesaucymare.co.za/?p=144</guid>
		<description><![CDATA[Recent posts are great, but]]></description>
			<content:encoded><![CDATA[<p>Recent posts are great, but on a WPMU install you sometimes want to pull through blog posts from a specific sub-blog. Attached to this post is just that. A widget that will allow you to set what blog you want to pull from based on its id, how many posts you want to pull, and lastly set a title.</p>
<p>This is just a skeleton, you can always add in calls to custom fields and other amazing goodies.</p>
<p>NB Not for commercial USE</p>
<p>Download: <a href="../files/2010/04/fmm-wpmu-recent-posts.txt">fmm-wpmu-recent-posts</a> (rename to .php)</p>
<p>Download: <a href="http://thesaucymare.feedmydemo.co.za/files/2010/04/fmm-wpmu-recent-postsv1.1.txt">fmm-wpmu-recent-posts v1.1</a> (rename to .php)</p>
]]></content:encoded>
			<wfw:commentRss>http://thesaucymare.co.za/feedmymedia-wpmu-recent-posts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Activation Key</title>
		<link>http://thesaucymare.co.za/wordpress-activation-key/</link>
		<comments>http://thesaucymare.co.za/wordpress-activation-key/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 07:34:00 +0000</pubDate>
		<dc:creator>Booth Warwick</dc:creator>
				<category><![CDATA[Developer]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[activation]]></category>
		<category><![CDATA[key]]></category>

		<guid isPermaLink="false">http://www.thesaucymare.co.za/?p=132</guid>
		<description><![CDATA[This is how WordPress uses]]></description>
			<content:encoded><![CDATA[<p>This is how WordPress uses the new user ID and an MD5 hash to generate the activation key</p>
<pre>$newuser_key = substr( md5( $user_id ), 0, 5 );</pre>
]]></content:encoded>
			<wfw:commentRss>http://thesaucymare.co.za/wordpress-activation-key/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress/BuddyPress &#8211; Meta title tag not working</title>
		<link>http://thesaucymare.co.za/wordpressbuddypress-meta-title-tag-not-working/</link>
		<comments>http://thesaucymare.co.za/wordpressbuddypress-meta-title-tag-not-working/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 13:16:57 +0000</pubDate>
		<dc:creator>Booth Warwick</dc:creator>
				<category><![CDATA[BuddPress]]></category>
		<category><![CDATA[Developer]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[buddypress]]></category>

		<guid isPermaLink="false">http://www.thesaucymare.co.za/?p=127</guid>
		<description><![CDATA[If your buddypress child theme]]></description>
			<content:encoded><![CDATA[<p>If your buddypress child theme or customized parent theme does not work properly, in otherwords does you title tag output &#8220;[Blogname] &#8211; Blog&#8221; then use the code below to remedy the error.</p>
<p>Whats happening is if you use bp_title_tag() is will output the default string as seen above. If you lean towards using the WordPress conditional tags to test the pages, WordPress will see the BuddyPress pages as normal static pages.</p>
<p>Using bp_get_title_tag we can test to see if its a WordPress page or a BuddyPress page and use the appropriate title tag.</p>
<pre>&lt;title&gt;&lt;?php
if ( is_home() ) { bloginfo('name'); echo '&amp;nbsp;|&amp;nbsp;'; bloginfo('description'); }
elseif ( is_search() ) { bloginfo('name'); echo '&amp;nbsp;|&amp;nbsp;'; _e('Search Results'); }
elseif ( is_author() ) { bloginfo('name'); echo '&amp;nbsp;|&amp;nbsp;'; _e('Author Archives'); }
elseif ( is_single() ) { bloginfo('name'); echo '&amp;nbsp;|&amp;nbsp;'; wp_title(''); }

// Entering the buddypress tags
elseif ( is_page() ) {

 $page_title = rtrim(ltrim(bp_get_page_title()));

 if ( $page_title == "[INSETRT YOUR WP_TITLE HERE] &#8212; Blog" ) { bloginfo('name'); echo '&amp;nbsp;|&amp;nbsp;'; wp_title('');}
 else{ bp_page_title(); }
}
elseif ( is_category() ) { bloginfo('name'); echo '&amp;nbsp;|&amp;nbsp;'; _e('Archive'); echo '&amp;nbsp;|&amp;nbsp;'; single_cat_title(); }
elseif ( is_month() ) {  bloginfo('name'); echo '&amp;nbsp;|&amp;nbsp;'; _e('Archive'); echo '&amp;nbsp;|&amp;nbsp;'; the_time('F'); }
elseif (function_exists('is_tag')) { if ( is_tag() ) { bloginfo('name'); echo '&amp;nbsp;|&amp;nbsp;'; _e('Tag Archive'); echo '&amp;nbsp;|&amp;nbsp;';  single_tag_title("", true); } }
else {  } ?&gt;&lt;/title&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://thesaucymare.co.za/wordpressbuddypress-meta-title-tag-not-working/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Running quick tags outside of the loop</title>
		<link>http://thesaucymare.co.za/running-quick-tags-outside-of-the-loop/</link>
		<comments>http://thesaucymare.co.za/running-quick-tags-outside-of-the-loop/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 10:25:30 +0000</pubDate>
		<dc:creator>Booth Warwick</dc:creator>
				<category><![CDATA[Developer]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[quick tag]]></category>

		<guid isPermaLink="false">http://www.thesaucymare.co.za/?p=80</guid>
		<description><![CDATA[For anyone who has had]]></description>
			<content:encoded><![CDATA[<p>For anyone who has had the same frustration I have where you need tocall a function from a plugin, but they only have a quick tag you insert into the post/page.</p>
<p><strong>Solution</strong></p>
<p>&lt;?php echo apply_filters(&#8220;the_content&#8221;,&#8221;[Insert Your Quick Tag Here]&#8220;); ?&gt;</p>
<p>This will apply the filter that is usually applied when a post is queried, and display the quick tag as it would normall if you inserted via the backend.</p>
]]></content:encoded>
			<wfw:commentRss>http://thesaucymare.co.za/running-quick-tags-outside-of-the-loop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

