Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Arieskingdom wrote:
    In yoast-breadcrumbs.php on line 193:

    if ( ($on_front == "page" && is_front_page()) || ($on_front == "posts" && is_home()) ) {
    $output = bold_or_not($opt['home']);

    Change that output to

    $output = ”;

    Thats what I did, worked a treat.

    This will still leave you with the text “You are here:”

    It is far simpler to adjust the code that you add into your header.php so it reads:

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

    This can be achieved without the DIV or CSS styling, just simply not show the breadcrumb on the home page by echoing nothing:

    <?php if (is_home()) {
    	echo '';
    } else {
    	if ( function_exists('yoast_breadcrumb') ) {
    		yoast_breadcrumb('<p id="breadcrumbs">','');
    	}
    } ?>
Viewing 2 replies - 1 through 2 (of 2 total)