We Added Breadcrumbs (Cause Fuck Making A Home Page Link)

test

I needed a way to get back to my Homepage. The solution is obviously just add a menu link or making a site logo. Turns out Georgia and breadcrumbs were on my mind though. I noticed that even though I had breadcrumbs enabled, when I switched my themes, they went away!

Oh No!

not a big deal, my site is very simple, it just has posts. I went to the post template I liked to call single.php and added the following where I wanted the breadcrumbs to display

<?php
if ( function_exists('yoast_breadcrumb') ) {
  yoast_breadcrumb( '<p id="breadcrumbs">','</p>' );
}
?>

Bam! Now you have Breadcrumbs, your welcome!

Random Final Thoughts

If you do more work on breadcrumbs, like adding a new breadcrumb item, makes sure to use the full path. I’ve seen a bunch of snippets where they add a new item like an archive page but they use the relative url…AND GOOGLE HATES THAT SHIT.

not me, I’m impartial at best. And remember, like all my posts – dictated, but not read