<?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>WordPress Hacks &#187; WordPress Breadcrumbs</title>
	<atom:link href="http://wphacks.com/tag/wordpress-breadcrumbs/feed/" rel="self" type="application/rss+xml" />
	<link>http://wphacks.com</link>
	<description>WordPress Themes, Plugins, Hacks, Tutorials, and more!</description>
	<lastBuildDate>Thu, 02 Feb 2012 15:20:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Make an Apple.com Style Breadcrumb for Your WordPress Blog</title>
		<link>http://wphacks.com/make-an-applecom-style-breadcrumb-for-your-wordpress-blog/</link>
		<comments>http://wphacks.com/make-an-applecom-style-breadcrumb-for-your-wordpress-blog/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 08:00:21 +0000</pubDate>
		<dc:creator>Alex Denning</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[WordPress Breadcrumbs]]></category>
		<category><![CDATA[WordPress Code]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress How-To]]></category>
		<category><![CDATA[WordPress Tips]]></category>
		<category><![CDATA[WordPress Tutorials]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=1500</guid>
		<description><![CDATA[Breadcrumbs, as has been said before on WPHacks, are very useful, both for your SEO and reader&#8217;s navigation. In other words, there is no reason why you shouldn&#8217;t have them on your site. There are a number of breadcrumb plugins you could use, but with a bit of WordPress code, you can avoid this. If [...]]]></description>
			<content:encoded><![CDATA[<p>Breadcrumbs, as has been<a href="http://wphacks.com/how-to-add-breadcrumbs-to-your-wordpress-blog/"> said before</a> on WPHacks, are very useful, both for your SEO and reader&#8217;s navigation. In other words, there is no reason why you shouldn&#8217;t have them on your site.</p>
<p>There are a number of breadcrumb plugins you could use, but with a bit of <a href="http://wphacks.com/huge-compilation-of-wordpress-code/">WordPress code</a>, you can avoid this. If you use sub-categories, then this will only display the name of the sub category.</p>
<p>A typical breadcrumb is something like this:</p>
<p>Home &gt;&gt; [Category] &gt;&gt; [Post Title]</p>
<p>WordPress can very easily do this &#8211; to get the name of the category the post is in, all you need is</p>
<p><code>&lt;?php the_category(); ?&gt;</code></p>
<p>Then, to display the post title, the code you need is</p>
<p><code>&lt;?php the_title(); ?&gt;</code></p>
<p>So our final code, with some arrows added in is:</p>
<p><code>&lt;a href="/"&gt;Home&lt;/a&gt; &amp;raquo;  &lt;?php the_category('   '); ?&gt;   &amp;raquo; &lt;?php the_title(); ?&gt;</code></p>
<p>So now that you&#8217;ve got your breadcrumb sorted, you can take this one step further and spice it up a bit. For the next part, we&#8217;re going to be using the code from a tutorial at <a href="http://www.jankoatwarpspeed.com/post/2008/08/14/Create-applecom-like-breadcrumb-using-simple-CSS.aspx">Janko at Warp Speed</a>, and with this code, we&#8217;re going to turn our breadcrumb into something that looks like the ones you see on Apple.com!</p>
<p>The Apple.com breadcrumb:</p>
<p><img src="http://nometet.com/catswhocodedemos/breadcrumb/applecom.png" alt="The Apple.com breadcrumb" width="100%" /><br />
And what we&#8217;re making:<img src="http://nometet.com/catswhocodedemos/breadcrumb/breadcrumb.png" alt="What we're making" width="100%" /></p>
<p>First, download the html version <a href="http://www.jankoatwarpspeed.com/file.axd?file=2008%2f8%2fbreadcrumb-example.zip">here</a>, and open it in a your web editor (ie Notepad, Dreamweaver etc). Scroll down until you find &lt;ul id=&#8221;breadcrumb&#8221;&gt;. This is where we&#8217;re going to start editing. All you need to do is copy and paste the following code:<br />
<code><br />
&lt;ul id="breadcrumb"&gt;<br />
&lt;li&gt;&lt;a href="/" title="Home"&gt;&lt;img src="/images/home.png" alt="Home" class="home" /&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;?php the_category(', ') ?&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;?php the_title(); ?&gt;&lt;/li&gt;<br />
&lt;/ul&gt;</code></p>
<p>This is basically the same code as we had above, just putting into a list. Make sure you upload the home.png file to /images/, and while you&#8217;re at it, upload the other images.</p>
<p>Next thing we need to do is the CSS. Go into your style.css and paste the following:<br />
<code><br />
#breadcrumb {<br />
font: 11px Arial, Helvetica, sans-serif;<br />
height:30px;<br />
line-height:30px;<br />
color:#9b9b9b;<br />
border:solid 1px #cacaca;<br />
width:100%;<br />
overflow:hidden;<br />
margin:0px;<br />
padding:0px;<br />
}<br />
#breadcrumb li {<br />
list-style-type:none;<br />
float:left;<br />
padding-left:10px;<br />
}<br />
#breadcrumb a {<br />
height:30px;<br />
display:block;<br />
background-image:url('/images/bc_separator.png');<br />
background-repeat:no-repeat;<br />
background-position:right;<br />
padding-right: 15px;<br />
text-decoration: none;<br />
color:#000;<br />
}<br />
.home {<br />
border:none;<br />
margin: 8px 0px;<br />
}<br />
#breadcrumb a:hover {<br />
color:#35acc5;<br />
}</code></p>
<p>Once you&#8217;ve done that, then you&#8217;re done! If you copy the code from the source file (which you should), then make sure you change the url of the images.</p>
<p>I recently redesigned one of my sites, and integrated this, so you can see a<strong> working example <a href="http://nometet.com">here</a>.</strong></p>
<p><em>This was a guest post by Alex Denning, who is a WordPress power user, web design freelancer and currently maintains two sites &#8211; <a href="http://nometet.com/">Nometet.com</a> and <a href="http://greengrassgames.com/">GreenGrassGames.com</a>. <a href="http://twitter.com/AlexDenning">You can follow him on Twitter here.</a> </em><em>If you have WordPress knowledge and are interested in <a href="../write">writing a post for WordPress Hacks</a>, please <a href="../contact">contact us</a>.</em></p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=1500&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/make-an-applecom-style-breadcrumb-for-your-wordpress-blog/">Make an Apple.com Style Breadcrumb for Your WordPress Blog</a>  © 2009 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/make-an-applecom-style-breadcrumb-for-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>10 Ways to Improve Navigation in WordPress</title>
		<link>http://wphacks.com/10-ways-to-improve-navigation-in-wordpress/</link>
		<comments>http://wphacks.com/10-ways-to-improve-navigation-in-wordpress/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 08:00:02 +0000</pubDate>
		<dc:creator>John Pratt</dc:creator>
				<category><![CDATA[WordPress Tips]]></category>
		<category><![CDATA[Popular Posts]]></category>
		<category><![CDATA[Related Posts]]></category>
		<category><![CDATA[WordPress Breadcrumbs]]></category>
		<category><![CDATA[WordPress Navigation]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=1234</guid>
		<description><![CDATA[This guest post was written by John Pratt who blogs about blogging, WordPress, and his life as a webmaster. If you have webmaster or WordPress knowledge and are interested in writing a post for Hack WordPress, please contact us. Improving the navigation in your blog means visitors will find MORE of your content, and return MORE [...]]]></description>
			<content:encoded><![CDATA[<p><em>This guest post was written by <a href="http://www.jtpratt.com/">John Pratt</a> who blogs about blogging, WordPress, and his life as a webmaster. If you have webmaster or WordPress knowledge and are interested in <a href="../write">writing a post for Hack WordPress</a>, please <a href="../contact">contact us</a>.</em></p>
<p><strong>Improving the navigation in your blog means visitors will find MORE of your content, and return MORE often. Even with the best content and lots of traffic &#8211; the most important thing is that people can QUICKLY find what they were looking for from the first moment they enter your blog</strong>!</p>
<p>I&#8217;m going to give you 10 different ways you can improve the navigation in your blog that anyone can (and should) implement for better usability when you have a WordPress powered blog. You will be surprised how much easier it will be to find content by using these techniques.</p>
<h3>10 Steps to Improved WordPress Navigation</h3>
<ol>
<li><strong>Add Breadcrumbs</strong>: This is a very easy fix, and one I don&#8217;t see on many blogs. Breadcrumbs are the simple link trail on the top of a web page like this: &#8220;Home -&gt; Page -&gt; SubPage&#8221;. It&#8217;s easy to add breadcrumbs, just use a 2.6+ compatible plugin like &#8220;<a href="http://mtekk.weblogs.us/code/breadcrumb-navxt/">Breadcrumb NavXT.</a></li>
<li><strong>Get rid of Ugly Next and Previous Links</strong>: Every WordPress homepage, and any page that has lists of blog posts (search, archive), has simple &#8220;next&#8221; and &#8220;previous&#8221; links to navigate older posts. I have witnessed (countless times) visitors thinking that all the posts you had to offer were listed on the homepage and that was it (mainly people not familiar with WordPress). You should have a linked list of pages (like google) that says &#8220;this is page 1 of&#8230;&#8221; and links to &#8220;2, 3, 4, 5, etc&#8221;. It&#8217;s easy to fix this with plugins like <a href="http://lesterchan.net/portfolio/programming.php">WP-PageNavi</a> or <a href="http://www.jenst.se/2008/03/29/wp-page-numbers">WP-Page Numbers.</a></li>
<li><strong>Bold Pagination on Single Pages</strong>: You can&#8217;t use the last trick on single pages, but every single (post) page has links at the bottom to view the next and previous page as well. I edit my &#8220;single.php&#8221; file to change that text to something like &#8220;Post before this one&#8221; and &#8220;Post after this one&#8221;, and align them left and right (bolded). You can style them any way you want &#8211; the point is to make them stand out. Visitors often come from SERP&#8217;s to a single post page, make it easy for them to view other ones as well.</li>
<li><strong>More Links and Excerpts</strong>: This is personal preference really, but I prefer to have post excerpts on pages instead of the entire post, because I feel it clutters up pages and makes everything run together (on most blogs). I like to encourage people to visit the single post page to read the entire thing. There are a couple ways to change a running post page (like search results, archives, index.php) to show excerpts. On your homepage, you can use the <a href="http://www.dailyblogtips.com/homepage-excerpts-wordpress-plugin/">Homepage excerpts</a> plugin to achieve this. On all other pages, just the &#8220;the loop&#8221; and change the_content to the_excerpt.</li>
<li><strong>Multi-Paged Navigation</strong>: If you ramble on like I do, some of your posts can be dreadfully long. Break them up into multi-pages posts using a plugin like <a href="http://wordpress.org/extend/plugins/multi-page-toolkit/">Multi-Page Toolkit</a>. It&#8217;s not only better usability, but it creates multiple post pages so you can get more indexed in the search engines.</li>
<li><strong>Related Posts</strong>: What better way to get people to stay on your blog than by recommending to them &#8220;related posts&#8221; that you&#8217;ve written?! All it takes is a plugin like <a href="http://www.microkid.net/wordpress/related-posts/">Related Posts.</a></li>
<li><strong>Most Viewed Posts</strong>: Like an MVP of the game &#8211; you should be showing your visitors your most valuable content! Lester Chan has a great plugin called <a href="http://rmarsh.com/plugins/random-posts/">WP Post Views</a> that has a sidebar widget than can display your most viewed posts! This is a great way to showcase your best posts and keep people on your blog.</li>
<li><strong>Most Popular Posts</strong>: Alex King has a plugin called <a href="http://alexking.org/projects/wordpress">Popularity Contest</a> that displays how popular posts are.</li>
<li><strong>Category Images</strong>: Having your categories a post is assigned to listed and linked is a great way to get visitors to view everything else you have posted in that category, but sometimes (like &#8220;ad blindness) readers are blinded to post meta info. Solve that by assigning images to your categories, so that they stand out prominently! All you need is the <a href="http://www.category-icons.com/screenshots/">Category Icons</a> plugin.</li>
<li><strong>Sidebar Navigation</strong>: There are a bazillion options for pimping out your sidebar, and most bloggers seem to just liste categories, archives, and a blogroll. Check out all of the <a href="http://codex.wordpress.org/Plugins/WordPress_Widgets">WordPress Widgets</a> available, the <a href="http://codex.wordpress.org/Customizing_Your_Sidebar">WordPress Codex page for &#8220;Customizing Your Sidebar&#8221;</a>, the <a href="http://www.mikesmullin.com/2006/06/21/list-authors-widget-10">List Authors widget</a>, <a href="http://www.damagedgoods.it/wp-plugins/parent-pages/">Parent Pages widget</a>, and especially the <a href="http://www.scratch99.com/wordpress-plugin-iframewidgets/">WordPress plugin iFrameWidgets</a>. The iframe widgets one is great if you use myBlogLog, BlogCatalog, Entrecard, or other third party widgets that may slow the load time of your blog.</li>
</ol>
<p>By following these 10 steps to better navigation, your visitors will STAY LONGER and READ MORE each and every time they visit your blog. This article was a synopsis of my in depth article <a href="http://www.jtpratt.com/wordpress-hack-5-10-ways-to-improve-navigation">WordPress Hack #5: 10 Ways to Improve Navigation</a>. Happy Hacking!</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=831&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/10-ways-to-improve-navigation-in-wordpress/">10 Ways to Improve Navigation in WordPress</a>  © 2008 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/10-ways-to-improve-navigation-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>How To: Add Breadcrumbs to Your WordPress Blog</title>
		<link>http://wphacks.com/how-to-add-breadcrumbs-to-your-wordpress-blog/</link>
		<comments>http://wphacks.com/how-to-add-breadcrumbs-to-your-wordpress-blog/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 08:00:50 +0000</pubDate>
		<dc:creator>Kyle Eslick</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Breadcrumbs]]></category>
		<category><![CDATA[WordPress Breadcrumbs]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=943</guid>
		<description><![CDATA[Over the past couple of years, breadcrumbs have really taken off around the internet and it seems like all sorts of major websites are now using them.   Unfortunately blogs in general, and WordPress in particular, haven&#8217;t really adopted the use of breadcrumbs, which is a huge shame in my opinion.   Breadcrumbs are great for improving [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past couple of years, breadcrumbs have really taken off around the internet and it seems like all sorts of major websites are now using them.   Unfortunately blogs in general, and WordPress in particular, haven&#8217;t really adopted the use of breadcrumbs, which is a huge shame in my opinion.   Breadcrumbs are great for improving both reader navigation of your website while at the same time assisting the search engines with determining the structure of your website.   In other words, breadcrumbs are super sexy and great SEO for your blog.</p>
<p>So, does your WordPress theme have breadcrumbs built into it?   Whenever I&#8217;m picking a new WordPress theme to start designing a new site with, breadcrumbs are one of the first things I always look for.  With the exception of <a href="http://wphacks.com/go/rev.php">Brian&#8217;s Revolution themes</a>, I&#8217;ve found that there really aren&#8217;t many (if any) other premium themes that come with breadcrumbs built into them (directly or via a WordPress plugin).  I also have yet to find any free WordPress themes that come with breadcrumbs built into them.</p>
<h3><strong>How to Add Breadcrumbs to Your WordPress Blog</strong></h3>
<p>Fortunately many WordPress plugin authors have come to our rescue.   For those of us that want breadcrumbs in our themes, there are now a number of WordPress plugins out there that you can use to easily accomplish this.   Probably the most popular is the <a href="http://wphacks.com/breadcrumb-navigation-wordpress-plugin/">Breadcrumb Navigation XT WordPress plugin</a>, but I just noticed today that a new WordPress plugin was released by Joost de Valk called the <a href="http://yoast.com/wordpress/breadcrumbs/">Yoast Breadcrumbs plugin</a>.    Joost has a great reputation as a plugin developer, so I have a feeling this plugin will work great as well.</p>
<p>If you decide to go with the Yoast Breadcrumbs plugin, you just need to upload and activate it, then place the following code where you want the breadcrumbs to display (usually above your post title or the content hook):</p>
<pre>&lt;?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('&lt;p id="breadcrumbs"&gt;','&lt;/p&gt;');
} ?&gt;</pre>
<p>Then you can use the plugin settings to get the breadcrumbs to behave how you wanted it to.</p>
<h3><strong>Call to Theme Designers</strong></h3>
<p>Where is the breadcrumbs love?   If you are working on a new free or premium WordPress theme, why not take a few seconds to build breadcrumbs into your theme?</p>
<p>If you&#8217;d like to see breadcrumbs built into more WordPress themes by default, leave a comment below so designers know there is a demand for it!</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=561&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/how-to-add-breadcrumbs-to-your-wordpress-blog/">How To: Add Breadcrumbs to Your WordPress Blog</a>  © 2008 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/how-to-add-breadcrumbs-to-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>

