I am using the Yoast SEO Wordpress plugin and am implementing breadcrumbs on my site for some reason I have 2 issues I cannot seem to resolve.
After adding the following code a number '1' shows up and I cannot get rid of it... See http://alanbrandt.com/portfolio/
All pages have the same post name part from the posts root site? Why does it always show the same post title on all pages? (Home > Portfolio > Daydreaming…)
Here is the code:
<div class="breadcrumbs">
<?php
if ( function_exists('yoast_breadcrumb') ) {
$breadcrumbs = yoast_breadcrumb('<p class="breadcrumbs_p">','</p>');
echo $breadcrumbs;
}
?>
</div>
<div class="clearfix"></div>
Hope some one can help!
Thanks! :)