Yoast Breadcrumbs
is it possible to remove the breadcrumb from the home page? (3 posts)

  1. deliwasista
    Posted 2 years ago #

    Im using WordPress as a static brochure style site. I would like to remove the breadcrumb from the home page only - as I figure you shouldnt be lost on page one and it just looks overkill.

    Has anyone else acheived this? :)


  2. flynsarmy
    Posted 2 years ago #

    if ( !is_home() ) yoast_breadcrumb('<p id="breadcrumbs">','</p>');

  3. wallydavid
    Posted 2 years ago #

    Try this:
    Find your home page and make a copy of it and rename it to homepage-no-breadcrumbs.php.

    Then add this to the very top of that page.

    Template Name: Homepage No Breadcrumbs

    Where your adding your code:

    <?php if ( function_exists('yoast_breadcrumb') ) {
    	$breadcrumbs = yoast_breadcrumb("","",true);
    } ?>

    Change "true" to false".

    Go to your home page from the pages menu and on the right hand side choose templates and choose the new page theme for your home page.

    You can create whole groups of pages that either have or do-not that the breadcrumbs this way.

    Hope that helps.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast Breadcrumbs
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic