WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone know how to exclude the breadcrumb from appearing on the 'home' page only using this plugin? I have currently got it set up in the header template and so it is appearing on every page.

share|improve this question
up vote 0 down vote accepted

Opne you header.php file and look for something like this:

<div class="breadcrumbs">
<?php
if(function_exists('bcn_display'))
{
    bcn_display();
}
?>
</div>

then before the call for bcn_display(); make sure you are not on the home page so basicaly replace bcn_display(); with:

if(!is_home() && !is_front_page()){bcn_display();}
share|improve this answer
    
Thanks for that!!! – tobeeornot Dec 15 '11 at 13:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.