Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

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.