<?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; Functions</title>
	<atom:link href="http://www.wpfunc.com/tag/functions/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wpfunc.com</link>
	<description>Awesome, Quick, Simple WordPress Functions!</description>
	<lastBuildDate>Fri, 09 Jul 2010 09:05:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Catch the First Image</title>
		<link>http://www.wpfunc.com/wordpress/catch-the-first-image.html</link>
		<comments>http://www.wpfunc.com/wordpress/catch-the-first-image.html#comments</comments>
		<pubDate>Fri, 12 Mar 2010 20:50:10 +0000</pubDate>
		<dc:creator>KaiseRCrazY</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[first image]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[get image]]></category>
		<category><![CDATA[posts]]></category>
		<category><![CDATA[thumbnail]]></category>
		<category><![CDATA[usage]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=410</guid>
		<description><![CDATA[You can catch the your posts first image and use them for thumbnails. Also you can use default images for this. With this function you can use any image (first image on your posts also) for thumbnail. Lets Begin&#8230;
Here is the code;
function catch_that_image() {
global $post, $posts;
$first_img = '';
ob_start();
ob_end_clean();
$output = preg_match_all('/&#60;img.+src=[\'&#34;]([^\'&#34;]+)[\'&#34;].*&#62;/i', $post-&#62;post_content, $matches);
$first_img = $matches [1] [...]<hr /><div style="text-align:center;">
<a href="http://aweber.com/?339698" title="Email Marketing">
<img src="http://www.aweber.com/banners/email_marketing/468x60_an.gif" alt="Email Marketing $19/Month!" style="border:none;" /></a>
</div><hr />


Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/you-can-disable-image-captions.html' rel='bookmark' title='Permanent Link: You can disable image captions!'>You can disable image captions!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/create-a-random-post-button.html' rel='bookmark' title='Permanent Link: Create a Random Post Button!'>Create a Random Post Button!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/create-custom-date-butons.html' rel='bookmark' title='Permanent Link: Create Custom Date Butons!'>Create Custom Date Butons!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">You can catch the your posts first image and use them for thumbnails. Also you can use default images for this. With this function you can use any image (first image on your posts also) for thumbnail. Lets Begin&#8230;<span id="more-410"></span></p>
<h3>Here is the code;</h3>
<pre class="brush: php;">function catch_that_image() {
global $post, $posts;
$first_img = '';
ob_start();
ob_end_clean();
$output = preg_match_all('/&lt;img.+src=[\'&quot;]([^\'&quot;]+)[\'&quot;].*&gt;/i', $post-&gt;post_content, $matches);
$first_img = $matches [1] [0];
if(empty($first_img)){ //Varsayılan küçük resim
$first_img = &quot;wp-content/themes/tema adı/images/default.png&quot;;
}
return $first_img;
}</pre>
<h3>This is the output;</h3>
<pre class="brush: php;">catch_that_image()</pre>
<h3>This is the usage;</h3>
<p>Usage with the img tag;</p>
<pre class="brush: php;">&lt;img src=&quot;&lt;?php echo catch_that_image() ?&gt;&quot; alt=&quot;&quot;/&gt;</pre>
<p>Usage on site;</p>
<pre class="brush: php;">&lt;span class=&quot;custom_image&quot;&gt;
&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Read: &lt;?php the_title_attribute(); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php echo catch_that_image() ?&gt;&quot; alt=&quot;&quot;/&gt; &lt;/a&gt;
&lt;/span&gt;</pre>
<h3>And CSS;</h3>
<pre class="brush: css;">.custom_image img{float:left; padding:3px; margin:7px 10px 15px 0; border: 2px solid #e6e6e6; height:90px; width:90px}</pre>
<p>That&#8217;s All!</p>
<a rel='nofollow' target='_blank'  href='http://delicious.com/post?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fcatch-the-first-image.html&amp;title=Catch%20the%20First%20Image&amp;notes=You%20can%20catch%20the%20your%20posts%20first%20image%20and%20use%20them%20for%20thumbnails.%20Also%20you%20can%20use%20default%20images%20for%20this.%20With%20this%20function%20you%20can%20use%20any%20image%20%28first%20image%20on%20your%20posts%20also%29%20for%20thumbnail.%20Lets%20Begin...%0D%0A%0D%0AHere%20is%20the%20code%3B%0D%0A%5Bphp%5Dfunction'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/delicious.png' class='sociable-img sociable-hovers ' title='del.icio.us' alt='del.icio.us' /></a><a rel='nofollow' target='_blank'  href='http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fcatch-the-first-image.html&amp;title=Catch%20the%20First%20Image&amp;bodytext=You%20can%20catch%20the%20your%20posts%20first%20image%20and%20use%20them%20for%20thumbnails.%20Also%20you%20can%20use%20default%20images%20for%20this.%20With%20this%20function%20you%20can%20use%20any%20image%20%28first%20image%20on%20your%20posts%20also%29%20for%20thumbnail.%20Lets%20Begin...%0D%0A%0D%0AHere%20is%20the%20code%3B%0D%0A%5Bphp%5Dfunction'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/digg.png' class='sociable-img sociable-hovers ' title='Digg' alt='Digg' /></a><a rel='nofollow' target='_blank'  href='http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fcatch-the-first-image.html&amp;t=Catch%20the%20First%20Image'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/facebook.png' class='sociable-img sociable-hovers ' title='Facebook' alt='Facebook' /></a><a rel='nofollow' target='_blank'  href='http://www.friendfeed.com/share?title=Catch%20the%20First%20Image&amp;link=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fcatch-the-first-image.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png' class='sociable-img sociable-hovers ' title='FriendFeed' alt='FriendFeed' /></a><a rel='nofollow' target='_blank'  href='http://reddit.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fcatch-the-first-image.html&amp;title=Catch%20the%20First%20Image'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/reddit.png' class='sociable-img sociable-hovers ' title='Reddit' alt='Reddit' /></a><a rel='nofollow' target='_blank'  href='http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fcatch-the-first-image.html&amp;title=Catch%20the%20First%20Image'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png' class='sociable-img sociable-hovers ' title='StumbleUpon' alt='StumbleUpon' /></a><a rel='nofollow' target='_blank'  href='http://technorati.com/faves?add=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fcatch-the-first-image.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/technorati.png' class='sociable-img sociable-hovers ' title='Technorati' alt='Technorati' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fcatch-the-first-image.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/pdf.png' class='sociable-img sociable-hovers ' title='PDF' alt='PDF' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fcatch-the-first-image.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png' class='sociable-img sociable-hovers ' title='Print' alt='Print' /></a><br/><br/>

<p>Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/you-can-disable-image-captions.html' rel='bookmark' title='Permanent Link: You can disable image captions!'>You can disable image captions!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/create-a-random-post-button.html' rel='bookmark' title='Permanent Link: Create a Random Post Button!'>Create a Random Post Button!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/create-custom-date-butons.html' rel='bookmark' title='Permanent Link: Create Custom Date Butons!'>Create Custom Date Butons!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpfunc.com/wordpress/catch-the-first-image.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Most Recent Comments! Without Any Plugin</title>
		<link>http://www.wpfunc.com/wordpress/most-recent-comments-without-any-plugin.html</link>
		<comments>http://www.wpfunc.com/wordpress/most-recent-comments-without-any-plugin.html#comments</comments>
		<pubDate>Thu, 21 Jan 2010 18:59:10 +0000</pubDate>
		<dc:creator>KaiseRCrazY</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[area]]></category>
		<category><![CDATA[comment]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[recent commen]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[Widget]]></category>
		<category><![CDATA[without plugin]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=376</guid>
		<description><![CDATA[We use plugin/widget for show most recent comments. But we can do that with a simple code. This code gives you simple recent comments feature without plugin. also with gravatar support. Paste this code into your theme where you want. All done!
Here is the code;
&#60;?php
$query = &#34;SELECT * from $wpdb-&#62;comments WHERE comment_approved= '1'
ORDER BY comment_date [...]<hr /><div style="text-align:center;">
<a href="http://aweber.com/?339698" title="Email Marketing">
<img src="http://www.aweber.com/banners/email_marketing/468x60_an.gif" alt="Email Marketing $19/Month!" style="border:none;" /></a>
</div><hr />


Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/how-to-add-numbers-into-comments.html' rel='bookmark' title='Permanent Link: How to Add Numbers Into Comments'>How to Add Numbers Into Comments</a></li>
<li><a href='http://www.wpfunc.com/wordpress/popular-posts-without-any-plugin.html' rel='bookmark' title='Permanent Link: Popular Posts, Without any Plugin!'>Popular Posts, Without any Plugin!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/highlight-the-author-comments.html' rel='bookmark' title='Permanent Link: Highlight the Author Comments!'>Highlight the Author Comments!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">We use plugin/widget for show most recent comments. But we can do that with a simple code. This code gives you simple recent comments feature without plugin. also with gravatar support. Paste this code into your theme where you want. All done!<span id="more-376"></span></p>
<h3>Here is the code;</h3>
<pre class="brush: php;">&lt;?php
$query = &quot;SELECT * from $wpdb-&gt;comments WHERE comment_approved= '1'
ORDER BY comment_date DESC LIMIT 0 ,5&quot;;
$comments = $wpdb-&gt;get_results($query);

if ($comments) {
    echo '&lt;ul&gt;';
    foreach ($comments as $comment) {
        $url = '&lt;a href=&quot;'. get_permalink($comment-&gt;comment_post_ID).'#comment-'.$comment-&gt;comment_ID .'&quot; title=&quot;'.$comment-&gt;comment_author .' | '.get_the_title($comment-&gt;comment_post_ID).'&quot;&gt;';
        echo '&lt;li&gt;';
        echo '&lt;div class=&quot;img&quot;&gt;';
        echo $url;
        echo get_avatar( $comment-&gt;comment_author_email, $img_w);
        echo '&lt;/a&gt;&lt;/div&gt;';

        echo '&lt;div class=&quot;txt&quot;&gt;Par: ';
        echo $url;
        echo $comment-&gt;comment_author;
        echo '&lt;/a&gt;&lt;/div&gt;';
        echo '&lt;/li&gt;';
    }
    echo '&lt;/ul&gt;';
}
?&gt;
</pre>
<p>This code shows 5 recent comment. If you change &#8220;<span style="color: #ff0000;"><strong>5</strong></span>&#8221; in line two, you can display more comment or less&#8230;</p>
<a rel='nofollow' target='_blank'  href='http://delicious.com/post?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fmost-recent-comments-without-any-plugin.html&amp;title=Most%20Recent%20Comments%21%20Without%20Any%20Plugin&amp;notes=We%20use%20plugin%2Fwidget%20for%20show%20most%20recent%20comments.%20But%20we%20can%20do%20that%20with%20a%20simple%20code.%20This%20code%20gives%20you%20simple%20recent%20comments%20feature%20without%20plugin.%20also%20with%20gravatar%20support.%20Paste%20this%20code%20into%20your%20theme%20where%20you%20want.%20All%20done%21%0D%0A%0D%0AHer'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/delicious.png' class='sociable-img sociable-hovers ' title='del.icio.us' alt='del.icio.us' /></a><a rel='nofollow' target='_blank'  href='http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fmost-recent-comments-without-any-plugin.html&amp;title=Most%20Recent%20Comments%21%20Without%20Any%20Plugin&amp;bodytext=We%20use%20plugin%2Fwidget%20for%20show%20most%20recent%20comments.%20But%20we%20can%20do%20that%20with%20a%20simple%20code.%20This%20code%20gives%20you%20simple%20recent%20comments%20feature%20without%20plugin.%20also%20with%20gravatar%20support.%20Paste%20this%20code%20into%20your%20theme%20where%20you%20want.%20All%20done%21%0D%0A%0D%0AHer'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/digg.png' class='sociable-img sociable-hovers ' title='Digg' alt='Digg' /></a><a rel='nofollow' target='_blank'  href='http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fmost-recent-comments-without-any-plugin.html&amp;t=Most%20Recent%20Comments%21%20Without%20Any%20Plugin'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/facebook.png' class='sociable-img sociable-hovers ' title='Facebook' alt='Facebook' /></a><a rel='nofollow' target='_blank'  href='http://www.friendfeed.com/share?title=Most%20Recent%20Comments%21%20Without%20Any%20Plugin&amp;link=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fmost-recent-comments-without-any-plugin.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png' class='sociable-img sociable-hovers ' title='FriendFeed' alt='FriendFeed' /></a><a rel='nofollow' target='_blank'  href='http://reddit.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fmost-recent-comments-without-any-plugin.html&amp;title=Most%20Recent%20Comments%21%20Without%20Any%20Plugin'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/reddit.png' class='sociable-img sociable-hovers ' title='Reddit' alt='Reddit' /></a><a rel='nofollow' target='_blank'  href='http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fmost-recent-comments-without-any-plugin.html&amp;title=Most%20Recent%20Comments%21%20Without%20Any%20Plugin'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png' class='sociable-img sociable-hovers ' title='StumbleUpon' alt='StumbleUpon' /></a><a rel='nofollow' target='_blank'  href='http://technorati.com/faves?add=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fmost-recent-comments-without-any-plugin.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/technorati.png' class='sociable-img sociable-hovers ' title='Technorati' alt='Technorati' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fmost-recent-comments-without-any-plugin.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/pdf.png' class='sociable-img sociable-hovers ' title='PDF' alt='PDF' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fmost-recent-comments-without-any-plugin.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png' class='sociable-img sociable-hovers ' title='Print' alt='Print' /></a><br/><br/>

<p>Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/how-to-add-numbers-into-comments.html' rel='bookmark' title='Permanent Link: How to Add Numbers Into Comments'>How to Add Numbers Into Comments</a></li>
<li><a href='http://www.wpfunc.com/wordpress/popular-posts-without-any-plugin.html' rel='bookmark' title='Permanent Link: Popular Posts, Without any Plugin!'>Popular Posts, Without any Plugin!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/highlight-the-author-comments.html' rel='bookmark' title='Permanent Link: Highlight the Author Comments!'>Highlight the Author Comments!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpfunc.com/wordpress/most-recent-comments-without-any-plugin.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You can disable image captions!</title>
		<link>http://www.wpfunc.com/wordpress/you-can-disable-image-captions.html</link>
		<comments>http://www.wpfunc.com/wordpress/you-can-disable-image-captions.html#comments</comments>
		<pubDate>Fri, 08 Jan 2010 20:09:41 +0000</pubDate>
		<dc:creator>KaiseRCrazY</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[captions]]></category>
		<category><![CDATA[disable captions]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[image upload]]></category>
		<category><![CDATA[post editor]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=363</guid>
		<description><![CDATA[You know, WordPress image upload system have a caption support. So you can add captions to your images. But sometimes we don&#8217;t need any caption. We can disable this support. Simply code here. Lets Begin&#8230;
Here is the code;
Insert this code to your functions.php
function caption_off() {
    return true;
}

add_filter( 'disable_captions', 'caption_off' );

That&#8217;s All. Thanks [...]<hr /><div style="text-align:center;">
<a href="http://aweber.com/?339698" title="Email Marketing">
<img src="http://www.aweber.com/banners/email_marketing/468x60_an.gif" alt="Email Marketing $19/Month!" style="border:none;" /></a>
</div><hr />


Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/catch-the-first-image.html' rel='bookmark' title='Permanent Link: Catch the First Image'>Catch the First Image</a></li>
<li><a href='http://www.wpfunc.com/wordpress/disable-comments-on-30-day-older-posts.html' rel='bookmark' title='Permanent Link: Disable Comments on 30-day older posts'>Disable Comments on 30-day older posts</a></li>
<li><a href='http://www.wpfunc.com/wordpress/did-you-bored-with-widgetized-pages.html' rel='bookmark' title='Permanent Link: Did you Bored with Widgetized Pages?'>Did you Bored with Widgetized Pages?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">You know, WordPress image upload system have a caption support. So you can add captions to your images. But sometimes we don&#8217;t need any caption. We can disable this support. Simply code here. Lets Begin&#8230;<span id="more-363"></span></p>
<p style="text-align: justify;">Here is the code;</p>
<p style="text-align: justify;">Insert this code to your <span style="color: #ff0000;"><strong>functions.php</strong></span></p>
<pre class="brush: php;">function caption_off() {
    return true;
}

add_filter( 'disable_captions', 'caption_off' );
</pre>
<p>That&#8217;s All. Thanks to <em><a href="http://www.wprecipes.com/how-to-disable-image-caption-in-wordpress-post-editor" target="_blank">WPRecipes</a></em></p>
<a rel='nofollow' target='_blank'  href='http://delicious.com/post?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fyou-can-disable-image-captions.html&amp;title=You%20can%20disable%20image%20captions%21&amp;notes=You%20know%2C%20WordPress%20image%20upload%20system%20have%20a%20caption%20support.%20So%20you%20can%20add%20captions%20to%20your%20images.%20But%20sometimes%20we%20don%27t%20need%20any%20caption.%20We%20can%20disable%20this%20support.%20Simply%20code%20here.%20Lets%20Begin...%0D%0AHere%20is%20the%20code%3B%0D%0AInsert%20this%20code%20to%20your'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/delicious.png' class='sociable-img sociable-hovers ' title='del.icio.us' alt='del.icio.us' /></a><a rel='nofollow' target='_blank'  href='http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fyou-can-disable-image-captions.html&amp;title=You%20can%20disable%20image%20captions%21&amp;bodytext=You%20know%2C%20WordPress%20image%20upload%20system%20have%20a%20caption%20support.%20So%20you%20can%20add%20captions%20to%20your%20images.%20But%20sometimes%20we%20don%27t%20need%20any%20caption.%20We%20can%20disable%20this%20support.%20Simply%20code%20here.%20Lets%20Begin...%0D%0AHere%20is%20the%20code%3B%0D%0AInsert%20this%20code%20to%20your'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/digg.png' class='sociable-img sociable-hovers ' title='Digg' alt='Digg' /></a><a rel='nofollow' target='_blank'  href='http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fyou-can-disable-image-captions.html&amp;t=You%20can%20disable%20image%20captions%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/facebook.png' class='sociable-img sociable-hovers ' title='Facebook' alt='Facebook' /></a><a rel='nofollow' target='_blank'  href='http://www.friendfeed.com/share?title=You%20can%20disable%20image%20captions%21&amp;link=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fyou-can-disable-image-captions.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png' class='sociable-img sociable-hovers ' title='FriendFeed' alt='FriendFeed' /></a><a rel='nofollow' target='_blank'  href='http://reddit.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fyou-can-disable-image-captions.html&amp;title=You%20can%20disable%20image%20captions%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/reddit.png' class='sociable-img sociable-hovers ' title='Reddit' alt='Reddit' /></a><a rel='nofollow' target='_blank'  href='http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fyou-can-disable-image-captions.html&amp;title=You%20can%20disable%20image%20captions%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png' class='sociable-img sociable-hovers ' title='StumbleUpon' alt='StumbleUpon' /></a><a rel='nofollow' target='_blank'  href='http://technorati.com/faves?add=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fyou-can-disable-image-captions.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/technorati.png' class='sociable-img sociable-hovers ' title='Technorati' alt='Technorati' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fyou-can-disable-image-captions.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/pdf.png' class='sociable-img sociable-hovers ' title='PDF' alt='PDF' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fyou-can-disable-image-captions.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png' class='sociable-img sociable-hovers ' title='Print' alt='Print' /></a><br/><br/>

<p>Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/catch-the-first-image.html' rel='bookmark' title='Permanent Link: Catch the First Image'>Catch the First Image</a></li>
<li><a href='http://www.wpfunc.com/wordpress/disable-comments-on-30-day-older-posts.html' rel='bookmark' title='Permanent Link: Disable Comments on 30-day older posts'>Disable Comments on 30-day older posts</a></li>
<li><a href='http://www.wpfunc.com/wordpress/did-you-bored-with-widgetized-pages.html' rel='bookmark' title='Permanent Link: Did you Bored with Widgetized Pages?'>Did you Bored with Widgetized Pages?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpfunc.com/wordpress/you-can-disable-image-captions.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy New Year!</title>
		<link>http://www.wpfunc.com/general/happy-new-year.html</link>
		<comments>http://www.wpfunc.com/general/happy-new-year.html#comments</comments>
		<pubDate>Thu, 31 Dec 2009 19:52:27 +0000</pubDate>
		<dc:creator>KaiseRCrazY</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[2009]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[happy new year]]></category>
		<category><![CDATA[kaisercrazy]]></category>
		<category><![CDATA[new year]]></category>
		<category><![CDATA[Serkan Algur]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=345</guid>
		<description><![CDATA[Last hours of 2009! A new year coming now! 2010! Happy New Year to everybody. I create this site before six months and add some WordPress functions and tips&#38;tricks into site. Dear readers Thank You Very Much! Happy New Year!


Related posts:Holiday Time!
<hr /><div style="text-align:center;">
<a href="http://aweber.com/?339698" title="Email Marketing">
<img src="http://www.aweber.com/banners/email_marketing/468x60_an.gif" alt="Email Marketing $19/Month!" style="border:none;" /></a>
</div><hr />


Related posts:<ol><li><a href='http://www.wpfunc.com/general/holiday-time.html' rel='bookmark' title='Permanent Link: Holiday Time!'>Holiday Time!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Last hours of 2009! A new year coming now! 2010! Happy New Year to everybody. I create this site before six months and add some WordPress functions and tips&amp;tricks into site. Dear readers Thank You Very Much! Happy New Year!</p>
<a rel='nofollow' target='_blank'  href='http://delicious.com/post?url=http%3A%2F%2Fwww.wpfunc.com%2Fgeneral%2Fhappy-new-year.html&amp;title=Happy%20New%20Year%21&amp;notes=Last%20hours%20of%202009%21%20A%20new%20year%20coming%20now%21%202010%21%20Happy%20New%20Year%20to%20everybody.%20I%20create%20this%20site%20before%20six%20months%20and%20add%20some%20WordPress%20functions%20and%20tips%26amp%3Btricks%20into%20site.%20Dear%20readers%20Thank%20You%20Very%20Much%21%20Happy%20New%20Year%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/delicious.png' class='sociable-img sociable-hovers ' title='del.icio.us' alt='del.icio.us' /></a><a rel='nofollow' target='_blank'  href='http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.wpfunc.com%2Fgeneral%2Fhappy-new-year.html&amp;title=Happy%20New%20Year%21&amp;bodytext=Last%20hours%20of%202009%21%20A%20new%20year%20coming%20now%21%202010%21%20Happy%20New%20Year%20to%20everybody.%20I%20create%20this%20site%20before%20six%20months%20and%20add%20some%20WordPress%20functions%20and%20tips%26amp%3Btricks%20into%20site.%20Dear%20readers%20Thank%20You%20Very%20Much%21%20Happy%20New%20Year%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/digg.png' class='sociable-img sociable-hovers ' title='Digg' alt='Digg' /></a><a rel='nofollow' target='_blank'  href='http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.wpfunc.com%2Fgeneral%2Fhappy-new-year.html&amp;t=Happy%20New%20Year%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/facebook.png' class='sociable-img sociable-hovers ' title='Facebook' alt='Facebook' /></a><a rel='nofollow' target='_blank'  href='http://www.friendfeed.com/share?title=Happy%20New%20Year%21&amp;link=http%3A%2F%2Fwww.wpfunc.com%2Fgeneral%2Fhappy-new-year.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png' class='sociable-img sociable-hovers ' title='FriendFeed' alt='FriendFeed' /></a><a rel='nofollow' target='_blank'  href='http://reddit.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fgeneral%2Fhappy-new-year.html&amp;title=Happy%20New%20Year%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/reddit.png' class='sociable-img sociable-hovers ' title='Reddit' alt='Reddit' /></a><a rel='nofollow' target='_blank'  href='http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fgeneral%2Fhappy-new-year.html&amp;title=Happy%20New%20Year%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png' class='sociable-img sociable-hovers ' title='StumbleUpon' alt='StumbleUpon' /></a><a rel='nofollow' target='_blank'  href='http://technorati.com/faves?add=http%3A%2F%2Fwww.wpfunc.com%2Fgeneral%2Fhappy-new-year.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/technorati.png' class='sociable-img sociable-hovers ' title='Technorati' alt='Technorati' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fgeneral%2Fhappy-new-year.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/pdf.png' class='sociable-img sociable-hovers ' title='PDF' alt='PDF' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fgeneral%2Fhappy-new-year.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png' class='sociable-img sociable-hovers ' title='Print' alt='Print' /></a><br/><br/>

<p>Related posts:<ol><li><a href='http://www.wpfunc.com/general/holiday-time.html' rel='bookmark' title='Permanent Link: Holiday Time!'>Holiday Time!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpfunc.com/general/happy-new-year.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show Default Theme for IE6 Visitors!</title>
		<link>http://www.wpfunc.com/wordpress/show-default-theme-for-ie6-visitors.html</link>
		<comments>http://www.wpfunc.com/wordpress/show-default-theme-for-ie6-visitors.html#comments</comments>
		<pubDate>Thu, 24 Dec 2009 19:47:32 +0000</pubDate>
		<dc:creator>KaiseRCrazY</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[browser detect]]></category>
		<category><![CDATA[change theme]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=331</guid>
		<description><![CDATA[You can show &#8220;default&#8221; or &#8220;classic&#8221; theme for ie6 visitors. Because IE6 broke our themes and the other people themes. And alot of people use IE6. Let&#8217;s Begin&#8230;
Here is the code;
add_filter('template', 'serve_default_to_iesix');
add_filter('option_template', 'serve_default_to_iesix');
add_filter('option_stylesheet', 'serve_default_to_iesix');
function serve_default_to_iesix($theme) {
	if(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6') !== false)
		$theme = 'default';

	return $theme;
}
Insert this code to your Theme&#8217;s functions.php. With this code we will make [...]<hr /><div style="text-align:center;">
<a href="http://aweber.com/?339698" title="Email Marketing">
<img src="http://www.aweber.com/banners/email_marketing/468x60_an.gif" alt="Email Marketing $19/Month!" style="border:none;" /></a>
</div><hr />


Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/display-custom-content-to-search-engine-visitors.html' rel='bookmark' title='Permanent Link: Display Custom Content to Search Engine Visitors!'>Display Custom Content to Search Engine Visitors!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/detect-user-browser-and-apply-a-stylesheet.html' rel='bookmark' title='Permanent Link: Detect User Browser And Apply A StyleSheet'>Detect User Browser And Apply A StyleSheet</a></li>
<li><a href='http://www.wpfunc.com/wordpress/show-timestamps-like-social-networks.html' rel='bookmark' title='Permanent Link: Show timestamps like social networks!'>Show timestamps like social networks!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">You can show &#8220;<em><strong>default</strong></em>&#8221; or &#8220;<em><strong>classic</strong></em>&#8221; theme for ie6 visitors. Because IE6 broke our themes and the other people themes. And alot of people use IE6. Let&#8217;s Begin&#8230;<span id="more-331"></span></p>
<h3>Here is the code;</h3>
<pre class="brush: php;">add_filter('template', 'serve_default_to_iesix');
add_filter('option_template', 'serve_default_to_iesix');
add_filter('option_stylesheet', 'serve_default_to_iesix');
function serve_default_to_iesix($theme) {
	if(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6') !== false)
		$theme = 'default';

	return $theme;
}</pre>
<p style="text-align: justify;">Insert this code to your Theme&#8217;s <em><strong><span style="color: #ff0000;">functions.php</span></strong></em>. With this code we will make Browser detection and we tell wordpress &#8216;<span style="color: #ff0000;"><strong>Change theme to default if our visitors are use IE6!</strong></span>&#8216;.</p>
<p style="text-align: justify;">You can change &#8216;default&#8217; to classic or any theme name. You have to edit this lines for make changes.</p>
<pre class="brush: php;">$theme = 'default';</pre>
<a rel='nofollow' target='_blank'  href='http://delicious.com/post?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-default-theme-for-ie6-visitors.html&amp;title=Show%20Default%20Theme%20for%20IE6%20Visitors%21&amp;notes=You%20can%20show%20%22default%22%20or%20%22classic%22%20theme%20for%20ie6%20visitors.%20Because%20IE6%20broke%20our%20themes%20and%20the%20other%20people%20themes.%20And%20alot%20of%20people%20use%20IE6.%20Let%27s%20Begin...%0D%0A%0D%0AHere%20is%20the%20code%3B%0D%0A%5Bphp%5Dadd_filter%28%27template%27%2C%20%27serve_default_to_iesix%27%29%3B%0D%0Aadd_filter%28'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/delicious.png' class='sociable-img sociable-hovers ' title='del.icio.us' alt='del.icio.us' /></a><a rel='nofollow' target='_blank'  href='http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-default-theme-for-ie6-visitors.html&amp;title=Show%20Default%20Theme%20for%20IE6%20Visitors%21&amp;bodytext=You%20can%20show%20%22default%22%20or%20%22classic%22%20theme%20for%20ie6%20visitors.%20Because%20IE6%20broke%20our%20themes%20and%20the%20other%20people%20themes.%20And%20alot%20of%20people%20use%20IE6.%20Let%27s%20Begin...%0D%0A%0D%0AHere%20is%20the%20code%3B%0D%0A%5Bphp%5Dadd_filter%28%27template%27%2C%20%27serve_default_to_iesix%27%29%3B%0D%0Aadd_filter%28'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/digg.png' class='sociable-img sociable-hovers ' title='Digg' alt='Digg' /></a><a rel='nofollow' target='_blank'  href='http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-default-theme-for-ie6-visitors.html&amp;t=Show%20Default%20Theme%20for%20IE6%20Visitors%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/facebook.png' class='sociable-img sociable-hovers ' title='Facebook' alt='Facebook' /></a><a rel='nofollow' target='_blank'  href='http://www.friendfeed.com/share?title=Show%20Default%20Theme%20for%20IE6%20Visitors%21&amp;link=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-default-theme-for-ie6-visitors.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png' class='sociable-img sociable-hovers ' title='FriendFeed' alt='FriendFeed' /></a><a rel='nofollow' target='_blank'  href='http://reddit.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-default-theme-for-ie6-visitors.html&amp;title=Show%20Default%20Theme%20for%20IE6%20Visitors%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/reddit.png' class='sociable-img sociable-hovers ' title='Reddit' alt='Reddit' /></a><a rel='nofollow' target='_blank'  href='http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-default-theme-for-ie6-visitors.html&amp;title=Show%20Default%20Theme%20for%20IE6%20Visitors%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png' class='sociable-img sociable-hovers ' title='StumbleUpon' alt='StumbleUpon' /></a><a rel='nofollow' target='_blank'  href='http://technorati.com/faves?add=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-default-theme-for-ie6-visitors.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/technorati.png' class='sociable-img sociable-hovers ' title='Technorati' alt='Technorati' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-default-theme-for-ie6-visitors.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/pdf.png' class='sociable-img sociable-hovers ' title='PDF' alt='PDF' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-default-theme-for-ie6-visitors.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png' class='sociable-img sociable-hovers ' title='Print' alt='Print' /></a><br/><br/>

<p>Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/display-custom-content-to-search-engine-visitors.html' rel='bookmark' title='Permanent Link: Display Custom Content to Search Engine Visitors!'>Display Custom Content to Search Engine Visitors!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/detect-user-browser-and-apply-a-stylesheet.html' rel='bookmark' title='Permanent Link: Detect User Browser And Apply A StyleSheet'>Detect User Browser And Apply A StyleSheet</a></li>
<li><a href='http://www.wpfunc.com/wordpress/show-timestamps-like-social-networks.html' rel='bookmark' title='Permanent Link: Show timestamps like social networks!'>Show timestamps like social networks!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpfunc.com/wordpress/show-default-theme-for-ie6-visitors.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fetch and display RSS feeds</title>
		<link>http://www.wpfunc.com/wordpress/fetch-and-display-rss-feeds.html</link>
		<comments>http://www.wpfunc.com/wordpress/fetch-and-display-rss-feeds.html#comments</comments>
		<pubDate>Sat, 05 Dec 2009 12:03:16 +0000</pubDate>
		<dc:creator>KaiseRCrazY</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[fetch feed]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[rss feed]]></category>
		<category><![CDATA[show rss]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=311</guid>
		<description><![CDATA[JBJ (WpRecipes) was released a WordPress tip about RSS. With this tip you can display RSS feed where you want. Only paste this code where you want to show your RSS Feed. Let&#8217;s Begin.
Here is the code;
Don&#8217;t forget change rss url on line 4.
&#60;?php if(function_exists('fetch_feed')) {

	include_once(ABSPATH.WPINC.'/feed.php');
	$feed = fetch_feed('http://feeds.feedburner.com/catswhoblog');

	$limit = $feed-&#62;get_item_quantity(7); // specify number of items
	$items [...]<hr /><div style="text-align:center;">
<a href="http://aweber.com/?339698" title="Email Marketing">
<img src="http://www.aweber.com/banners/email_marketing/468x60_an.gif" alt="Email Marketing $19/Month!" style="border:none;" /></a>
</div><hr />


Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/list-your-rss-feeds-via-wp-list-category.html' rel='bookmark' title='Permanent Link: List Your RSS Feeds via wp_list_category'>List Your RSS Feeds via wp_list_category</a></li>
<li><a href='http://www.wpfunc.com/wordpress/display-custom-content-to-search-engine-visitors.html' rel='bookmark' title='Permanent Link: Display Custom Content to Search Engine Visitors!'>Display Custom Content to Search Engine Visitors!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/most-recent-comments-without-any-plugin.html' rel='bookmark' title='Permanent Link: Most Recent Comments! Without Any Plugin'>Most Recent Comments! Without Any Plugin</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">JBJ (<a href="http://www.wprecipes.com" target="_blank">WpRecipes</a>) was released a WordPress tip about RSS. With this tip you can display RSS feed where you want. Only paste this code where you want to show your RSS Feed. Let&#8217;s Begin.<span id="more-311"></span></p>
<h3>Here is the code;</h3>
<p>Don&#8217;t forget change rss url on line 4.</p>
<pre class="brush: php;">&lt;?php if(function_exists('fetch_feed')) {

	include_once(ABSPATH.WPINC.'/feed.php');
	$feed = fetch_feed('http://feeds.feedburner.com/catswhoblog');

	$limit = $feed-&gt;get_item_quantity(7); // specify number of items
	$items = $feed-&gt;get_items(0, $limit); // create an array of items

}
if ($limit == 0) echo '&lt;div&gt;The feed is either empty or unavailable.&lt;/div&gt;';
else foreach ($items as $item) : ?&gt;

&lt;div&gt;
	&lt;a href=&quot;&lt;?php echo $item-&gt;get_permalink(); ?&gt;&quot;
	  title=&quot;&lt;?php echo $item-&gt;get_date('j F Y @ g:i a'); ?&gt;&quot;&gt;
		&lt;?php echo $item-&gt;get_title(); ?&gt;
	&lt;/a&gt;
&lt;/div&gt;
&lt;div&gt;
	&lt;?php echo substr($item-&gt;get_description(), 0, 200); ?&gt;
	&lt;span&gt;[...]&lt;/span&gt;
&lt;/div&gt;

&lt;?php endforeach; ?&gt;</pre>
<p>This code shows RSS Feed with 200 chars description.</p>
<p><em><strong><a href="http://www.wprecipes.com/wordpress-tip-fetch-and-display-rss-feeds" target="_blank">Here is the original post! </a></strong></em></p>
<a rel='nofollow' target='_blank'  href='http://delicious.com/post?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Ffetch-and-display-rss-feeds.html&amp;title=Fetch%20and%20display%20WpFunc%20feeds&amp;notes=JBJ%20%28WpRecipes%29%20was%20released%20a%20WordPress%20tip%20about%20RSS.%20With%20this%20tip%20you%20can%20display%20RSS%20feed%20where%20you%20want.%20Only%20paste%20this%20code%20where%20you%20want%20to%20show%20your%20RSS%20Feed.%20Let%27s%20Begin.%0D%0A%0D%0AHere%20is%20the%20code%3B%0D%0ADon%27t%20forget%20change%20rss%20url%20on%20line%204.%0D%0A%0D%0A%5Bph'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/delicious.png' class='sociable-img sociable-hovers ' title='del.icio.us' alt='del.icio.us' /></a><a rel='nofollow' target='_blank'  href='http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Ffetch-and-display-rss-feeds.html&amp;title=Fetch%20and%20display%20WpFunc%20feeds&amp;bodytext=JBJ%20%28WpRecipes%29%20was%20released%20a%20WordPress%20tip%20about%20RSS.%20With%20this%20tip%20you%20can%20display%20RSS%20feed%20where%20you%20want.%20Only%20paste%20this%20code%20where%20you%20want%20to%20show%20your%20RSS%20Feed.%20Let%27s%20Begin.%0D%0A%0D%0AHere%20is%20the%20code%3B%0D%0ADon%27t%20forget%20change%20rss%20url%20on%20line%204.%0D%0A%0D%0A%5Bph'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/digg.png' class='sociable-img sociable-hovers ' title='Digg' alt='Digg' /></a><a rel='nofollow' target='_blank'  href='http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Ffetch-and-display-rss-feeds.html&amp;t=Fetch%20and%20display%20WpFunc%20feeds'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/facebook.png' class='sociable-img sociable-hovers ' title='Facebook' alt='Facebook' /></a><a rel='nofollow' target='_blank'  href='http://www.friendfeed.com/share?title=Fetch%20and%20display%20WpFunc%20feeds&amp;link=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Ffetch-and-display-rss-feeds.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png' class='sociable-img sociable-hovers ' title='FriendFeed' alt='FriendFeed' /></a><a rel='nofollow' target='_blank'  href='http://reddit.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Ffetch-and-display-rss-feeds.html&amp;title=Fetch%20and%20display%20WpFunc%20feeds'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/reddit.png' class='sociable-img sociable-hovers ' title='Reddit' alt='Reddit' /></a><a rel='nofollow' target='_blank'  href='http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Ffetch-and-display-rss-feeds.html&amp;title=Fetch%20and%20display%20WpFunc%20feeds'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png' class='sociable-img sociable-hovers ' title='StumbleUpon' alt='StumbleUpon' /></a><a rel='nofollow' target='_blank'  href='http://technorati.com/faves?add=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Ffetch-and-display-rss-feeds.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/technorati.png' class='sociable-img sociable-hovers ' title='Technorati' alt='Technorati' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Ffetch-and-display-rss-feeds.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/pdf.png' class='sociable-img sociable-hovers ' title='PDF' alt='PDF' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Ffetch-and-display-rss-feeds.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png' class='sociable-img sociable-hovers ' title='Print' alt='Print' /></a><br/><br/>

<p>Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/list-your-rss-feeds-via-wp-list-category.html' rel='bookmark' title='Permanent Link: List Your RSS Feeds via wp_list_category'>List Your RSS Feeds via wp_list_category</a></li>
<li><a href='http://www.wpfunc.com/wordpress/display-custom-content-to-search-engine-visitors.html' rel='bookmark' title='Permanent Link: Display Custom Content to Search Engine Visitors!'>Display Custom Content to Search Engine Visitors!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/most-recent-comments-without-any-plugin.html' rel='bookmark' title='Permanent Link: Most Recent Comments! Without Any Plugin'>Most Recent Comments! Without Any Plugin</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpfunc.com/wordpress/fetch-and-display-rss-feeds.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to include comments in posts lists?</title>
		<link>http://www.wpfunc.com/wordpress/how-to-include-comments-in-posts-lists.html</link>
		<comments>http://www.wpfunc.com/wordpress/how-to-include-comments-in-posts-lists.html#comments</comments>
		<pubDate>Sun, 11 Oct 2009 14:24:32 +0000</pubDate>
		<dc:creator>KaiseRCrazY</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[index.php]]></category>
		<category><![CDATA[inline comments]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=250</guid>
		<description><![CDATA[You can show comments on index.php. Some new themes support this. Also you can add this option to your themes.
Here is the code;
First one you download your theme&#8217;s index.php. After that open the file with your favourite text editor and paste this code wher you want to show your comments.
&#60;?php
  global $withcomments;
  $withcomments [...]<hr /><div style="text-align:center;">
<a href="http://aweber.com/?339698" title="Email Marketing">
<img src="http://www.aweber.com/banners/email_marketing/468x60_an.gif" alt="Email Marketing $19/Month!" style="border:none;" /></a>
</div><hr />


Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/disable-comments-on-30-day-older-posts.html' rel='bookmark' title='Permanent Link: Disable Comments on 30-day older posts'>Disable Comments on 30-day older posts</a></li>
<li><a href='http://www.wpfunc.com/wordpress/most-recent-comments-without-any-plugin.html' rel='bookmark' title='Permanent Link: Most Recent Comments! Without Any Plugin'>Most Recent Comments! Without Any Plugin</a></li>
<li><a href='http://www.wpfunc.com/wordpress/simple-sticky-posts.html' rel='bookmark' title='Permanent Link: Simple Sticky Posts!'>Simple Sticky Posts!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">You can show comments on <strong>index.php</strong>. Some new themes support this. Also you can add this option to your themes.<span id="more-250"></span></p>
<h3 style="text-align: justify;">Here is the code;</h3>
<p style="text-align: justify;">First one you download your theme&#8217;s <span style="color: #ff0000;"><strong>index.php</strong></span>. After that open the file with your favourite text editor and paste this code wher you want to show your comments.</p>
<pre class="brush: plain;">&lt;?php
  global $withcomments;
  $withcomments = true;
  comments_template(&quot;/inline-comments.php&quot;);
?&gt;
</pre>
<p style="text-align: justify;"><span class="notice">What I did? That&#8217;s simple: On line 2, I declare that I&#8217;ll use the global variable $withcomments. I then set its value to true on line 3. Finally, I use the comments_template() function to call my comments file. The /inline-comments.php parameter tells the function to use a specific file for displaying comments, instead of the regular comments.php.</span></p>
<p>That&#8217;s All. Have a nice day!</p>
<p>The <a href="http://www.wprecipes.com/wordpress-tip-include-comments-in-post-lists">Original</a> Post!</p>
<a rel='nofollow' target='_blank'  href='http://delicious.com/post?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fhow-to-include-comments-in-posts-lists.html&amp;title=How%20to%20include%20comments%20in%20posts%20lists%3F&amp;notes=You%20can%20show%20comments%20on%20index.php.%20Some%20new%20themes%20support%20this.%20Also%20you%20can%20add%20this%20option%20to%20your%20themes.%0D%0A%0D%0AHere%20is%20the%20code%3B%0D%0AFirst%20one%20you%20download%20your%20theme%27s%20index.php.%20After%20that%20open%20the%20file%20with%20your%20favourite%20text%20editor%20and%20paste%20thi'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/delicious.png' class='sociable-img sociable-hovers ' title='del.icio.us' alt='del.icio.us' /></a><a rel='nofollow' target='_blank'  href='http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fhow-to-include-comments-in-posts-lists.html&amp;title=How%20to%20include%20comments%20in%20posts%20lists%3F&amp;bodytext=You%20can%20show%20comments%20on%20index.php.%20Some%20new%20themes%20support%20this.%20Also%20you%20can%20add%20this%20option%20to%20your%20themes.%0D%0A%0D%0AHere%20is%20the%20code%3B%0D%0AFirst%20one%20you%20download%20your%20theme%27s%20index.php.%20After%20that%20open%20the%20file%20with%20your%20favourite%20text%20editor%20and%20paste%20thi'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/digg.png' class='sociable-img sociable-hovers ' title='Digg' alt='Digg' /></a><a rel='nofollow' target='_blank'  href='http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fhow-to-include-comments-in-posts-lists.html&amp;t=How%20to%20include%20comments%20in%20posts%20lists%3F'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/facebook.png' class='sociable-img sociable-hovers ' title='Facebook' alt='Facebook' /></a><a rel='nofollow' target='_blank'  href='http://www.friendfeed.com/share?title=How%20to%20include%20comments%20in%20posts%20lists%3F&amp;link=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fhow-to-include-comments-in-posts-lists.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png' class='sociable-img sociable-hovers ' title='FriendFeed' alt='FriendFeed' /></a><a rel='nofollow' target='_blank'  href='http://reddit.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fhow-to-include-comments-in-posts-lists.html&amp;title=How%20to%20include%20comments%20in%20posts%20lists%3F'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/reddit.png' class='sociable-img sociable-hovers ' title='Reddit' alt='Reddit' /></a><a rel='nofollow' target='_blank'  href='http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fhow-to-include-comments-in-posts-lists.html&amp;title=How%20to%20include%20comments%20in%20posts%20lists%3F'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png' class='sociable-img sociable-hovers ' title='StumbleUpon' alt='StumbleUpon' /></a><a rel='nofollow' target='_blank'  href='http://technorati.com/faves?add=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fhow-to-include-comments-in-posts-lists.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/technorati.png' class='sociable-img sociable-hovers ' title='Technorati' alt='Technorati' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fhow-to-include-comments-in-posts-lists.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/pdf.png' class='sociable-img sociable-hovers ' title='PDF' alt='PDF' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fhow-to-include-comments-in-posts-lists.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png' class='sociable-img sociable-hovers ' title='Print' alt='Print' /></a><br/><br/>

<p>Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/disable-comments-on-30-day-older-posts.html' rel='bookmark' title='Permanent Link: Disable Comments on 30-day older posts'>Disable Comments on 30-day older posts</a></li>
<li><a href='http://www.wpfunc.com/wordpress/most-recent-comments-without-any-plugin.html' rel='bookmark' title='Permanent Link: Most Recent Comments! Without Any Plugin'>Most Recent Comments! Without Any Plugin</a></li>
<li><a href='http://www.wpfunc.com/wordpress/simple-sticky-posts.html' rel='bookmark' title='Permanent Link: Simple Sticky Posts!'>Simple Sticky Posts!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpfunc.com/wordpress/how-to-include-comments-in-posts-lists.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show your usable tags in your comment form!</title>
		<link>http://www.wpfunc.com/wordpress/show-your-usable-tags-in-your-comment-form.html</link>
		<comments>http://www.wpfunc.com/wordpress/show-your-usable-tags-in-your-comment-form.html#comments</comments>
		<pubDate>Sun, 27 Sep 2009 19:17:40 +0000</pubDate>
		<dc:creator>KaiseRCrazY</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[comment form]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[comments.php]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[XHTML tags]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=224</guid>
		<description><![CDATA[If you look my comment form you can see usable XHTML tags. If you want to show your usable tags to commentators or users, you can add this one-line code in to your comment form. Just need to change your theme&#8217;s comments.php. After that the users can use this tags.
Here is the code;
We will change [...]<hr /><div style="text-align:center;">
<a href="http://aweber.com/?339698" title="Email Marketing">
<img src="http://www.aweber.com/banners/email_marketing/468x60_an.gif" alt="Email Marketing $19/Month!" style="border:none;" /></a>
</div><hr />


Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/a-simple-login-form-for-your-sidebar.html' rel='bookmark' title='Permanent Link: A Simple Login Form For Your Sidebar!'>A Simple Login Form For Your Sidebar!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/contact-form-7-changes-plugin-admin-path.html' rel='bookmark' title='Permanent Link: Contact Form 7 Changes Plugin Admin Path!'>Contact Form 7 Changes Plugin Admin Path!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/most-recent-comments-without-any-plugin.html' rel='bookmark' title='Permanent Link: Most Recent Comments! Without Any Plugin'>Most Recent Comments! Without Any Plugin</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">If you look my comment form you can see usable <strong>XHTML</strong> tags. If you want to show your usable tags to commentators or users, you can add this one-line code in to your comment form. Just need to change your theme&#8217;s <strong>comments.php</strong>. After that the users can use this tags.<span id="more-224"></span></p>
<h3>Here is the code;</h3>
<p style="text-align: justify;">We will change our theme&#8217;s <span style="color: #ff0000;"><strong>comments.php</strong></span>. First make a <strong><span style="text-decoration: underline;">backup</span></strong> please. After bakcup you can add this code into your php file where you want to show this usable tags.</p>
<pre class="brush: plain;">Usable XHTML Tags: &lt;?php echo allowed_tags(); ?&gt;</pre>
<p>That&#8217;s All. Have a nice day!</p>
<a rel='nofollow' target='_blank'  href='http://delicious.com/post?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-your-usable-tags-in-your-comment-form.html&amp;title=Show%20your%20usable%20tags%20in%20your%20comment%20form%21&amp;notes=If%20you%20look%20my%20comment%20form%20you%20can%20see%20usable%20XHTML%20tags.%20If%20you%20want%20to%20show%20your%20usable%20tags%20to%20commentators%20or%20users%2C%20you%20can%20add%20this%20one-line%20code%20in%20to%20your%20comment%20form.%20Just%20need%20to%20change%20your%20theme%27s%20comments.php.%20After%20that%20the%20users%20can%20'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/delicious.png' class='sociable-img sociable-hovers ' title='del.icio.us' alt='del.icio.us' /></a><a rel='nofollow' target='_blank'  href='http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-your-usable-tags-in-your-comment-form.html&amp;title=Show%20your%20usable%20tags%20in%20your%20comment%20form%21&amp;bodytext=If%20you%20look%20my%20comment%20form%20you%20can%20see%20usable%20XHTML%20tags.%20If%20you%20want%20to%20show%20your%20usable%20tags%20to%20commentators%20or%20users%2C%20you%20can%20add%20this%20one-line%20code%20in%20to%20your%20comment%20form.%20Just%20need%20to%20change%20your%20theme%27s%20comments.php.%20After%20that%20the%20users%20can%20'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/digg.png' class='sociable-img sociable-hovers ' title='Digg' alt='Digg' /></a><a rel='nofollow' target='_blank'  href='http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-your-usable-tags-in-your-comment-form.html&amp;t=Show%20your%20usable%20tags%20in%20your%20comment%20form%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/facebook.png' class='sociable-img sociable-hovers ' title='Facebook' alt='Facebook' /></a><a rel='nofollow' target='_blank'  href='http://www.friendfeed.com/share?title=Show%20your%20usable%20tags%20in%20your%20comment%20form%21&amp;link=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-your-usable-tags-in-your-comment-form.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png' class='sociable-img sociable-hovers ' title='FriendFeed' alt='FriendFeed' /></a><a rel='nofollow' target='_blank'  href='http://reddit.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-your-usable-tags-in-your-comment-form.html&amp;title=Show%20your%20usable%20tags%20in%20your%20comment%20form%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/reddit.png' class='sociable-img sociable-hovers ' title='Reddit' alt='Reddit' /></a><a rel='nofollow' target='_blank'  href='http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-your-usable-tags-in-your-comment-form.html&amp;title=Show%20your%20usable%20tags%20in%20your%20comment%20form%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png' class='sociable-img sociable-hovers ' title='StumbleUpon' alt='StumbleUpon' /></a><a rel='nofollow' target='_blank'  href='http://technorati.com/faves?add=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-your-usable-tags-in-your-comment-form.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/technorati.png' class='sociable-img sociable-hovers ' title='Technorati' alt='Technorati' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-your-usable-tags-in-your-comment-form.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/pdf.png' class='sociable-img sociable-hovers ' title='PDF' alt='PDF' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-your-usable-tags-in-your-comment-form.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png' class='sociable-img sociable-hovers ' title='Print' alt='Print' /></a><br/><br/>

<p>Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/a-simple-login-form-for-your-sidebar.html' rel='bookmark' title='Permanent Link: A Simple Login Form For Your Sidebar!'>A Simple Login Form For Your Sidebar!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/contact-form-7-changes-plugin-admin-path.html' rel='bookmark' title='Permanent Link: Contact Form 7 Changes Plugin Admin Path!'>Contact Form 7 Changes Plugin Admin Path!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/most-recent-comments-without-any-plugin.html' rel='bookmark' title='Permanent Link: Most Recent Comments! Without Any Plugin'>Most Recent Comments! Without Any Plugin</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpfunc.com/wordpress/show-your-usable-tags-in-your-comment-form.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show your Mood to Readers.</title>
		<link>http://www.wpfunc.com/wordpress/show-your-mood-to-readers.html</link>
		<comments>http://www.wpfunc.com/wordpress/show-your-mood-to-readers.html#comments</comments>
		<pubDate>Wed, 23 Sep 2009 22:51:01 +0000</pubDate>
		<dc:creator>KaiseRCrazY</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 you [...]<hr /><div style="text-align:center;">
<a href="http://aweber.com/?339698" title="Email Marketing">
<img src="http://www.aweber.com/banners/email_marketing/468x60_an.gif" alt="Email Marketing $19/Month!" style="border:none;" /></a>
</div><hr />


Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/how-to-change-your-post-page-title-with-a-custom-field.html' rel='bookmark' title='Permanent Link: How to change your Post/Page title with a custom field?'>How to change your Post/Page title with a custom field?</a></li>
<li><a href='http://www.wpfunc.com/wordpress/say-hello-to-returning-visitors.html' rel='bookmark' title='Permanent Link: Say Hello to returning visitors!'>Say Hello to returning visitors!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/udegbunam-asked-how-i-hide-my-content-from-ie6-users.html' rel='bookmark' title='Permanent Link: Udegbunam Asked &#8220;How i hide my content from IE6 Users?&#8221;'>Udegbunam Asked &#8220;How i hide my content from IE6 Users?&#8221;</a></li>
</ol>]]></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;">$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>
<a rel='nofollow' target='_blank'  href='http://delicious.com/post?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-your-mood-to-readers.html&amp;title=Show%20your%20Mood%20to%20Readers.&amp;notes=Do%20you%20want%20to%20show%20your%20mood%C2%A0to%20your%20readers%C2%A0on%20each%20post%3F%20If%20you%20want%20to%20do%20this%20just%20follow%20this%20article%20and%20learn%20how%20to%20show%20your%20mood%20with%20a%20custom%20field.%0D%0AFirstly%20i%20want%20to%20ask%20you%3B%20Where%20want%20to%20show%20your%20mood%2C%20in%20single%20post%20or%20site%20index%20'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/delicious.png' class='sociable-img sociable-hovers ' title='del.icio.us' alt='del.icio.us' /></a><a rel='nofollow' target='_blank'  href='http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-your-mood-to-readers.html&amp;title=Show%20your%20Mood%20to%20Readers.&amp;bodytext=Do%20you%20want%20to%20show%20your%20mood%C2%A0to%20your%20readers%C2%A0on%20each%20post%3F%20If%20you%20want%20to%20do%20this%20just%20follow%20this%20article%20and%20learn%20how%20to%20show%20your%20mood%20with%20a%20custom%20field.%0D%0AFirstly%20i%20want%20to%20ask%20you%3B%20Where%20want%20to%20show%20your%20mood%2C%20in%20single%20post%20or%20site%20index%20'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/digg.png' class='sociable-img sociable-hovers ' title='Digg' alt='Digg' /></a><a rel='nofollow' target='_blank'  href='http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-your-mood-to-readers.html&amp;t=Show%20your%20Mood%20to%20Readers.'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/facebook.png' class='sociable-img sociable-hovers ' title='Facebook' alt='Facebook' /></a><a rel='nofollow' target='_blank'  href='http://www.friendfeed.com/share?title=Show%20your%20Mood%20to%20Readers.&amp;link=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-your-mood-to-readers.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png' class='sociable-img sociable-hovers ' title='FriendFeed' alt='FriendFeed' /></a><a rel='nofollow' target='_blank'  href='http://reddit.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-your-mood-to-readers.html&amp;title=Show%20your%20Mood%20to%20Readers.'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/reddit.png' class='sociable-img sociable-hovers ' title='Reddit' alt='Reddit' /></a><a rel='nofollow' target='_blank'  href='http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-your-mood-to-readers.html&amp;title=Show%20your%20Mood%20to%20Readers.'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png' class='sociable-img sociable-hovers ' title='StumbleUpon' alt='StumbleUpon' /></a><a rel='nofollow' target='_blank'  href='http://technorati.com/faves?add=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-your-mood-to-readers.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/technorati.png' class='sociable-img sociable-hovers ' title='Technorati' alt='Technorati' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-your-mood-to-readers.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/pdf.png' class='sociable-img sociable-hovers ' title='PDF' alt='PDF' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fshow-your-mood-to-readers.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png' class='sociable-img sociable-hovers ' title='Print' alt='Print' /></a><br/><br/>

<p>Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/how-to-change-your-post-page-title-with-a-custom-field.html' rel='bookmark' title='Permanent Link: How to change your Post/Page title with a custom field?'>How to change your Post/Page title with a custom field?</a></li>
<li><a href='http://www.wpfunc.com/wordpress/say-hello-to-returning-visitors.html' rel='bookmark' title='Permanent Link: Say Hello to returning visitors!'>Say Hello to returning visitors!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/udegbunam-asked-how-i-hide-my-content-from-ie6-users.html' rel='bookmark' title='Permanent Link: Udegbunam Asked &#8220;How i hide my content from IE6 Users?&#8221;'>Udegbunam Asked &#8220;How i hide my content from IE6 Users?&#8221;</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpfunc.com/wordpress/show-your-mood-to-readers.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Add Breadcumbs without a plugin!</title>
		<link>http://www.wpfunc.com/wordpress/add-breadcumbs-without-a-plugin.html</link>
		<comments>http://www.wpfunc.com/wordpress/add-breadcumbs-without-a-plugin.html#comments</comments>
		<pubDate>Tue, 22 Sep 2009 20:31:55 +0000</pubDate>
		<dc:creator>KaiseRCrazY</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[breadcumbs]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[theme develop]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=205</guid>
		<description><![CDATA[You can show  users and guest to where they are in your blog. You can do this with breadcumbs easily. There are some plugins for that but if you want to add breadcumbs your theme or if you a theme developer you can use this function. This code is very simple, pretty and good.
Firstly you have to create [...]<hr /><div style="text-align:center;">
<a href="http://aweber.com/?339698" title="Email Marketing">
<img src="http://www.aweber.com/banners/email_marketing/468x60_an.gif" alt="Email Marketing $19/Month!" style="border:none;" /></a>
</div><hr />


Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/most-recent-comments-without-any-plugin.html' rel='bookmark' title='Permanent Link: Most Recent Comments! Without Any Plugin'>Most Recent Comments! Without Any Plugin</a></li>
<li><a href='http://www.wpfunc.com/wordpress/show-your-last-twitter-update-without-a-plugin.html' rel='bookmark' title='Permanent Link: Show Your Last Twitter Update Without a Plugin'>Show Your Last Twitter Update Without a Plugin</a></li>
<li><a href='http://www.wpfunc.com/wp-plugins/nice-search-plugin.html' rel='bookmark' title='Permanent Link: Nice Search Plugin!'>Nice Search Plugin!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">You can show  users and guest to where they are in your blog. You can do this with breadcumbs easily. There are some plugins for that but if you want to add breadcumbs your theme or if you a theme developer you can use this function. This code is very simple, pretty and good.<span id="more-205"></span></p>
<p style="text-align: justify;">Firstly you have to create a php file with named &#8220;<strong><span style="color: #ff0000;">breadcumbs.php</span></strong>&#8220;. After that paste this code below into the file:</p>
<pre class="brush: plain;">&lt;div class=&quot;breadcrumbs&quot;&gt;
&lt;?php
function breadcrumbs() {
    $theFullUrl = $_SERVER[&quot;REQUEST_URI&quot;];
    $urlArray=explode(&quot;/&quot;,$theFullUrl);
    echo 'You Are Here: &lt;a href=&quot;/&quot;&gt;Home&lt;/a&gt;';
    while (list($j,$text) = each($urlArray)) {
        $dir=&quot;;
        if ($j &gt; 1) {
            $i=1;
            while ($i &lt; $j) {
                $dir .= '/' . $urlArray[$i];
                $text = $urlArray[$i];
                $i  ;
            }
            if($j &lt; count($urlArray)-1) echo ' &amp;raquo; &lt;a href=&quot;'.$dir.'&quot;&gt;' . str_replace(&quot;-&quot;, &quot; &quot;, $text) . '&lt;/a&gt;';
        }
    }
    echo wp_title();
}
breadcrumbs();
?&gt;
&lt;/div&gt;&lt;!-/breadcrumbs-&gt;</pre>
<p style="text-align: justify;">Send this <strong><span style="color: #ff0000;">breadcumbs.php</span></strong> into your <strong>themes root path</strong>. After that you can use this code where you want in your theme:</p>
<pre class="brush: plain;">&lt;?php include ( TEMPLATEPATH . '/breadcrumbs.php'); ?&gt;</pre>
<p style="text-align: justify;">
You can use a class style named <strong>breadcumbs</strong> with this file and code. You can edit with your base styleshet.<br />
That&#8217;s All! Have a nice day.</p>
<a rel='nofollow' target='_blank'  href='http://delicious.com/post?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fadd-breadcumbs-without-a-plugin.html&amp;title=Add%20Breadcumbs%20without%20a%20plugin%21&amp;notes=You%20can%20show%C2%A0%20users%20and%20guest%20to%20where%20they%20are%20in%20your%20blog.%20You%20can%20do%20this%20with%20breadcumbs%20easily.%20There%20are%20some%20plugins%20for%20that%20but%20if%20you%20want%20to%20add%20breadcumbs%C2%A0your%20theme%C2%A0or%20if%20you%20a%20theme%20developer%20you%20can%20use%20this%20function.%20This%20code%20is%20'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/delicious.png' class='sociable-img sociable-hovers ' title='del.icio.us' alt='del.icio.us' /></a><a rel='nofollow' target='_blank'  href='http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fadd-breadcumbs-without-a-plugin.html&amp;title=Add%20Breadcumbs%20without%20a%20plugin%21&amp;bodytext=You%20can%20show%C2%A0%20users%20and%20guest%20to%20where%20they%20are%20in%20your%20blog.%20You%20can%20do%20this%20with%20breadcumbs%20easily.%20There%20are%20some%20plugins%20for%20that%20but%20if%20you%20want%20to%20add%20breadcumbs%C2%A0your%20theme%C2%A0or%20if%20you%20a%20theme%20developer%20you%20can%20use%20this%20function.%20This%20code%20is%20'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/digg.png' class='sociable-img sociable-hovers ' title='Digg' alt='Digg' /></a><a rel='nofollow' target='_blank'  href='http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fadd-breadcumbs-without-a-plugin.html&amp;t=Add%20Breadcumbs%20without%20a%20plugin%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/facebook.png' class='sociable-img sociable-hovers ' title='Facebook' alt='Facebook' /></a><a rel='nofollow' target='_blank'  href='http://www.friendfeed.com/share?title=Add%20Breadcumbs%20without%20a%20plugin%21&amp;link=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fadd-breadcumbs-without-a-plugin.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png' class='sociable-img sociable-hovers ' title='FriendFeed' alt='FriendFeed' /></a><a rel='nofollow' target='_blank'  href='http://reddit.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fadd-breadcumbs-without-a-plugin.html&amp;title=Add%20Breadcumbs%20without%20a%20plugin%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/reddit.png' class='sociable-img sociable-hovers ' title='Reddit' alt='Reddit' /></a><a rel='nofollow' target='_blank'  href='http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fadd-breadcumbs-without-a-plugin.html&amp;title=Add%20Breadcumbs%20without%20a%20plugin%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png' class='sociable-img sociable-hovers ' title='StumbleUpon' alt='StumbleUpon' /></a><a rel='nofollow' target='_blank'  href='http://technorati.com/faves?add=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fadd-breadcumbs-without-a-plugin.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/technorati.png' class='sociable-img sociable-hovers ' title='Technorati' alt='Technorati' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fadd-breadcumbs-without-a-plugin.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/pdf.png' class='sociable-img sociable-hovers ' title='PDF' alt='PDF' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fadd-breadcumbs-without-a-plugin.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png' class='sociable-img sociable-hovers ' title='Print' alt='Print' /></a><br/><br/>

<p>Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/most-recent-comments-without-any-plugin.html' rel='bookmark' title='Permanent Link: Most Recent Comments! Without Any Plugin'>Most Recent Comments! Without Any Plugin</a></li>
<li><a href='http://www.wpfunc.com/wordpress/show-your-last-twitter-update-without-a-plugin.html' rel='bookmark' title='Permanent Link: Show Your Last Twitter Update Without a Plugin'>Show Your Last Twitter Update Without a Plugin</a></li>
<li><a href='http://www.wpfunc.com/wp-plugins/nice-search-plugin.html' rel='bookmark' title='Permanent Link: Nice Search Plugin!'>Nice Search Plugin!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpfunc.com/wordpress/add-breadcumbs-without-a-plugin.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
