<?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://wpfunc.com/tag/functions/feed" rel="self" type="application/rss+xml" />
	<link>http://wpfunc.com</link>
	<description>Awesome, Quick, Simple WordPress Functions!</description>
	<lastBuildDate>Thu, 01 Dec 2011 01:17:01 +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>Catch the First Image</title>
		<link>http://wpfunc.com/wordpress/catch-the-first-image.html</link>
		<comments>http://wpfunc.com/wordpress/catch-the-first-image.html#comments</comments>
		<pubDate>Fri, 12 Mar 2010 20:50:10 +0000</pubDate>
		<dc:creator></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;
This is the output;
This is the usage;
Usage with the img tag;
Usage on site;
And CSS;
That&#8217;s [...]]]></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; title: ; notranslate">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; title: ; notranslate">catch_that_image()</pre>
<h3>This is the usage;</h3>
<p>Usage with the img tag;</p>
<pre class="brush: php; title: ; notranslate">&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; title: ; notranslate">&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; title: ; notranslate">.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>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/catch-the-first-image.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Most Recent Comments! Without Any Plugin</title>
		<link>http://wpfunc.com/wordpress/most-recent-comments-without-any-plugin.html</link>
		<comments>http://wpfunc.com/wordpress/most-recent-comments-without-any-plugin.html#comments</comments>
		<pubDate>Thu, 21 Jan 2010 18:59:10 +0000</pubDate>
		<dc:creator></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;
This code shows 5 recent comment. If you change &#8220;5&#8221; in [...]]]></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; title: ; notranslate">&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>
]]></content:encoded>
			<wfw:commentRss>http://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://wpfunc.com/wordpress/you-can-disable-image-captions.html</link>
		<comments>http://wpfunc.com/wordpress/you-can-disable-image-captions.html#comments</comments>
		<pubDate>Fri, 08 Jan 2010 20:09:41 +0000</pubDate>
		<dc:creator></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
That&#8217;s All. Thanks to WPRecipes
]]></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; title: ; notranslate">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>
]]></content:encoded>
			<wfw:commentRss>http://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://wpfunc.com/general/happy-new-year.html</link>
		<comments>http://wpfunc.com/general/happy-new-year.html#comments</comments>
		<pubDate>Thu, 31 Dec 2009 19:52:27 +0000</pubDate>
		<dc:creator></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!
]]></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>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/general/happy-new-year.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Show Default Theme for IE6 Visitors!</title>
		<link>http://wpfunc.com/wordpress/show-default-theme-for-ie6-visitors.html</link>
		<comments>http://wpfunc.com/wordpress/show-default-theme-for-ie6-visitors.html#comments</comments>
		<pubDate>Thu, 24 Dec 2009 19:47:32 +0000</pubDate>
		<dc:creator></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;
Insert this code to your Theme&#8217;s functions.php. With this code we will make Browser detection and we tell wordpress &#8216;Change theme to default if our [...]]]></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; title: ; notranslate">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; title: ; notranslate">$theme = 'default';</pre>
]]></content:encoded>
			<wfw:commentRss>http://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://wpfunc.com/wordpress/fetch-and-display-rss-feeds.html</link>
		<comments>http://wpfunc.com/wordpress/fetch-and-display-rss-feeds.html#comments</comments>
		<pubDate>Sat, 05 Dec 2009 12:03:16 +0000</pubDate>
		<dc:creator></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.
This code shows RSS Feed with 200 chars description.
Here is the original [...]]]></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; title: ; notranslate">&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>
]]></content:encoded>
			<wfw:commentRss>http://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://wpfunc.com/wordpress/how-to-include-comments-in-posts-lists.html</link>
		<comments>http://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></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.

That&#8217;s All. Have a nice day!
The [...]]]></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; title: ; notranslate">&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>
]]></content:encoded>
			<wfw:commentRss>http://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://wpfunc.com/wordpress/show-your-usable-tags-in-your-comment-form.html</link>
		<comments>http://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></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 [...]]]></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; title: ; notranslate">Usable XHTML Tags: &lt;?php echo allowed_tags(); ?&gt;</pre>
<p>That&#8217;s All. Have a nice day!</p>
]]></content:encoded>
			<wfw:commentRss>http://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://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 you [...]]]></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>
		<item>
		<title>Add Breadcumbs without a plugin!</title>
		<link>http://wpfunc.com/wordpress/add-breadcumbs-without-a-plugin.html</link>
		<comments>http://wpfunc.com/wordpress/add-breadcumbs-without-a-plugin.html#comments</comments>
		<pubDate>Tue, 22 Sep 2009 20:31:55 +0000</pubDate>
		<dc:creator></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 [...]]]></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; title: ; notranslate">&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; title: ; notranslate">&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>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/add-breadcumbs-without-a-plugin.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

