Support » Plugin: Breadcrumb NavXT » Suppress Breadcrumbs on Category Pages

Viewing 4 replies - 1 through 4 (of 4 total)
  • Breadcrums with cateries is also in my mind problematic. If you want them off
    body.category #the_name_of_the_container_div_for_breadcrumbs {display:none}

    I am sorry @tapiohuuhaa, I do not know a lot about code, but if there are clear instructions, I can definitely follow what to do. I am not understanding your suggestion. Where do I put this?

    The problem is that the container element for the breadcrumbs is different as yours. I don’t know where you use breadcrumbs, so I can’t give exact advice.

    I have set it with PHP code.

    I assume that you have used text widget. You should look from the source code what is the id of the widget.
    Look at element <aside id=”…, for example “text-3″

    if the breadcrumb is inside id=”text-3” then just
    body.category #text-3 {display:none}

    Plugin Author John Havlik


    The easiest way to prevent the breadcrumb trail from showing up on a page is to surround the call to bcn_display() with an if statements that checks against the appropriate conditional tag. In this case, you probably want to use something like the following for your calling code:

    <?php if(function_exists('bcn_display') && !is_category() && !is_tag() && !is_tax()):?>
    <div class="breadcrumbs" typeof="BreadcrumbList" vocab="">
        <?php bcn_display();?>
    <?php endif; ?>
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Suppress Breadcrumbs on Category Pages’ is closed to new replies.