Breadcrumb NavXT
[resolved] How do you remove the breadcrumbs from the home page? (5 posts)

  1. deliwasista
    Posted 3 years ago #

    Hi there,

    Im keen to remove the breadcrumb from the home page and only have it show up when it navigates away. I figureing that people should be lost on the home page ;)


  2. John Havlik
    Plugin Author

    Posted 3 years ago #

  3. Geleosan
    Posted 3 years ago #

    And could you say how can i remove breadcrumb from pages of bbpress?

  4. spkane
    Posted 3 years ago #

    Thanks for posting the FAQ link that explains how to exclude breadcrumbs from showing on the home page, John. Worked great. Wanted to also post our side discussion about how to hide selective other pages - for example a Thank You page that doesn't fit into the normal nav and for which you may want to exclude breadcrumbs. This is based on the modeling you did, and it worked for me:

    <br />
    <div class="breadcrumbs"><br />
        <?php if(function_exists('bcn_display') && !is_front_page() && !is_page('thank-you-for-your-rate-tracker-subscription') && !is_page('thank-you'))<br />
        {<br />
            bcn_display();<br />
        }?><br />
    </div><br />

    The above example excludes breadcrumbs from showing on the Home page and 2 thank you pages. Obviously, the "thank-you-for-your-rate-tracker-subscription" and the "thank-you" would be replaced with the name or slug of your own site pages.

    Thanks for all your efforts in developing and supporting an awesome plugin.

  5. deliwasista
    Posted 3 years ago #

    Excellent! thanks spkane that looks quite useful too!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Breadcrumb NavXT
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic