I'm doing something wrong or haven't done something else that I should.
It works, sort of, but the Breadcrumbs do a new paragraph, or something at the end of the last page menu tab (in this case "Sitemap"), and it gets worse if I try to move through the pages ... it actually picks up the enter tab (format, borders and all) and inserts them into the bread crumb trail. See the attached images.
The default code from the yoast breadcrumb site is:
Code:
<?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<p id="breadcrumbs">','</p>'); } ?>
I've tried two different styles of code in bfa_header_config (using the above forum link as a "template", and they both result in essentially the same result:
#1 - my code is in red:
Code:
$page_menu_bar .= bfa_hor_pages($bfa_ata['sorting_page_menu_bar'], $bfa_ata['levels_page_menu_bar'], $bfa_ata['titles_page_menu_bar'], $bfa_ata['exclude_page_menu_bar']); if ( function_exists('yoast_breadcrumb')) { ob_start(); yoast_breadcrumb(); $yoast_breadcrumb = ob_get_contents(); ob_end_clean(); } $page_menu_bar .= $yoast_breadcrumb; $page_menu_bar .= '</ul></div>' . "\n"; // END of Page Menu Bar
Code:
if ( function_exists('yoast_breadcrumb')) $page_menu_bar .= '<li class="breadcrumbs">You are here $raquo;'; { ob_start(); yoast_breadcrumb(); $yoast_breadcrumb = ob_get_contents(); ob_end_clean(); } $page_menu_bar .= $yoast_breadcrumb; $page_menu_bar .= '</li></ul></div>' . "\n";
Thanks in advance.