<?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>plugins Archives - Nick Shaw</title>
	<atom:link href="https://www.nick-shaw.co.uk/tag/plugins/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description></description>
	<lastBuildDate>Sat, 19 Feb 2011 12:49:04 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">150481139</site>	<item>
		<title>Add breadcrumbs to WordPress without a plugin</title>
		<link>https://www.nick-shaw.co.uk/add-breadcrumbs-to-wordpress-without-a-plugin/</link>
					<comments>https://www.nick-shaw.co.uk/add-breadcrumbs-to-wordpress-without-a-plugin/#respond</comments>
		
		<dc:creator><![CDATA[Nick]]></dc:creator>
		<pubDate>Sat, 19 Feb 2011 12:49:04 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[breadcrumbs]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">http://www.nick-shaw.co.uk/code/?p=46</guid>

					<description><![CDATA[<p>Add this to your functions.php file add this to your index.php, page.php or single.php</p>
<p>The post <a href="https://www.nick-shaw.co.uk/add-breadcrumbs-to-wordpress-without-a-plugin/">Add breadcrumbs to WordPress without a plugin</a> appeared first on <a href="https://www.nick-shaw.co.uk">Nick Shaw</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Add this to your functions.php file</p>
<pre class="brush: php; title: ; notranslate"> 
function the_breadcrumb() {
                echo '&lt;ul id=&quot;crumbs&quot;&gt;';
        if (!is_home()) {
                echo '&lt;li&gt;&lt;a href=&quot;';
                echo get_option('home');
                echo '&quot;&gt;';
                echo 'Home';
                echo &quot;&lt;/a&gt;&lt;/li&gt;&quot;;
                if (is_category() || is_single()) {
                        echo '&lt;li&gt;';
                        the_category(' &lt;/li&gt;&lt;li&gt; ');
                        if (is_single()) {
                                echo &quot;&lt;/li&gt;&lt;li&gt;&quot;;
                                the_title();
                                echo '&lt;/li&gt;';
                        }
                } elseif (is_page()) {
                        echo '&lt;li&gt;';
                        echo the_title();
                        echo '&lt;/li&gt;';
                }
        }
        elseif (is_tag()) {single_tag_title();}
        elseif (is_day()) {echo&quot;&lt;li&gt;Archive for &quot;; the_time('F jS, Y'); echo'&lt;/li&gt;';}
        elseif (is_month()) {echo&quot;&lt;li&gt;Archive for &quot;; the_time('F, Y'); echo'&lt;/li&gt;';}
        elseif (is_year()) {echo&quot;&lt;li&gt;Archive for &quot;; the_time('Y'); echo'&lt;/li&gt;';}
        elseif (is_author()) {echo&quot;&lt;li&gt;Author Archive&quot;; echo'&lt;/li&gt;';}
        elseif (isset($_GET&#x5B;'paged']) &amp;amp;&amp;amp; !empty($_GET&#x5B;'paged'])) {echo &quot;&lt;li&gt;Blog Archives&quot;; echo'&lt;/li&gt;';}
        elseif (is_search()) {echo&quot;&lt;li&gt;Search Results&quot;; echo'&lt;/li&gt;';}
        echo '&lt;/ul&gt;';
}
</pre>
<p>add this to your index.php, page.php or single.php</p>
<pre class="brush: php; title: ; notranslate"> 
the_breadcrumb();
</pre>
<p>The post <a href="https://www.nick-shaw.co.uk/add-breadcrumbs-to-wordpress-without-a-plugin/">Add breadcrumbs to WordPress without a plugin</a> appeared first on <a href="https://www.nick-shaw.co.uk">Nick Shaw</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.nick-shaw.co.uk/add-breadcrumbs-to-wordpress-without-a-plugin/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">46</post-id>	</item>
	</channel>
</rss>
