<?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>WpFunc &#187; mood</title>
	<atom:link href="http://wpfunc.com/tag/mood/feed" rel="self" type="application/rss+xml" />
	<link>http://wpfunc.com</link>
	<description>Awesome, Quick, Simple WordPress Functions!</description>
	<lastBuildDate>Sun, 06 May 2012 02:21:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Show your Mood to Readers.</title>
		<link>http://wpfunc.com/wordpress/show-your-mood-to-readers.html</link>
		<comments>http://wpfunc.com/wordpress/show-your-mood-to-readers.html#comments</comments>
		<pubDate>Wed, 23 Sep 2009 22:51:01 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[custom field]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[index.php]]></category>
		<category><![CDATA[mood]]></category>
		<category><![CDATA[show mood]]></category>
		<category><![CDATA[single.php]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=208</guid>
		<description><![CDATA[Do you want to show your mood to your readers on each post? If you want to do this just follow this article and learn how to show your mood with a custom field. Firstly i want to ask you; Where want to show your mood, in single post or site index or both of them? If [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Do you want to show your mood to your readers on each post? If you want to do this just follow this article and learn how to show your mood with a custom field.<span id="more-208"></span></p>
<p style="text-align: justify;">Firstly i want to ask you; Where want to show your mood, in single post or site index or both of them? If you want to show this in single post just modify your theme&#8217;s single.php, if you want to show this only in index, modify the your theme&#8217;s <strong>index.php</strong> or you want to show in both of this areas, modify <strong>index.php</strong> and<strong> single.php</strong> together.</p>
<p style="text-align: justify;">Just Copy this code below and paste it in <strong>index.php</strong> or <strong>single.php</strong>&#8216;s loop areas (After your article ord before article, where you want).</p>
<h3>Here is the code;</h3>
<pre class="brush: plain; title: ; notranslate">$customField = get_post_custom_values(&quot;mood&quot;);
if (isset($customField[0])) {
echo &quot;My Mood: &quot;.$customField[0];
</pre>
<p style="text-align: justify;">Now Just create a customfield with named &#8216;<strong>mood</strong>&#8216; and add this custom field when you write an article.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/show-your-mood-to-readers.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

