WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Breadcrumb NavXT] breadcrumbs on all pages except main? (2 posts)

  1. Nilubol Duangjumpa
    Member
    Posted 5 years ago #

    Hi,
    I'm using the latest version of Breadcrumb NavXT and I was wondering if there's a way to include the breadcrumbs on all of the pages except for the main page. All of the pages are using the same header; at the moment I am using visibility:hidden on the main page so that it doesn't show up. Is there another way to do this with the PHP code, though?

    This is the code that calls the breadcrumbs:

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

    Thanks in advance!

  2. dquelhas
    Member
    Posted 4 years ago #

    Hi there,

    if you are using the default theme, put that code in the single.php, archive.php and page.php. It won't work in the header.

    Cheers

Topic Closed

This topic has been closed to new replies.

About this Topic