• <span property="itemListElement" typeof="ListItem"><span property="name"></span><meta property="position" content="%position%"></span>
    

    Using the above HTML in the Home template field of settings, now shows the word “HOME” in breadcrumbs, whereas previously it was suppressed on the home page. Reverting to 7.2 does the previous, it suppresses the word “HOME”. Other than reverting, can you tell me if it is the plugin, or do I need to do something different with 7.3?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Havlik

    (@mtekk)

    Looks like it’s using the page template instead of the home template, so that should get fixed. I’m tracking it in the following Github issue: https://github.com/mtekk/Breadcrumb-NavXT/issues/298

    That said, to prevent displaying the breadcrumb trail on the home/frontpage, you should wrap your call to bcn_display() with a check for is_front_page(). Such as:

    <?php if(function_exists('bcn_display') && !is_front_page()):?>
    <div class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/">
    <?php bcn_display();?>
    </div>
    <?php endif; ?>

    Or, if you are using the Widget or editor Block, both have an option for hiding the breadcrumb trail on the frontpage.

    Plugin Author John Havlik

    (@mtekk)

    Looking into this more, I’m no longer able to reproduce the issue in my testbed (where a page template was used instead of the home template). One thing to check is to ensure the network settings and sub site settings have both been migrated. It is possible your network settings are overriding your sub site settings resulting in unexpected behavior. As to why that would change between 7.2 and 7.3, I’m not sure, as nothing changed in that area.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘7.2 to 7.3 broke home page breadcrumb template display’ is closed to new replies.