• Resolved joannereakes

    (@joannereakes)


    I have added breadcrumbs to my website using the BreadcrumNavXT plugin. but on some pages it appears twice.

    It appears where I placed it to the left hand side, but it’s also appeared in the middle at the top and I cannot delete, edit, or move it. Doesn’t appear on all pages either so I can’t work it out… check out this page for an example of what I want https://curlymisscompany.com/home/brands/boucleme/

    I’m have basic WP knowledge so would appreciate some assistance please.

    Thanks

    Jo

    • This topic was modified 4 years, 10 months ago by joannereakes.

    The page I need help with: [log in to see the link]

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

    (@mtekk)

    The first (the centered one) breadcrumb trail on that page appears to be from a call to bcn_display(). This is likely within one of the theme files.

    The second (the left floated/justified) breadcrumb trail appears to be due to a widget breadcrumb trail. As to why the widget doesn’t show up on all pages, that’s likely due to where the widget area is available (appears to not show up on some pages for some reason).

    My guess at what is happening is you have a couple of different templates for your pages/categories and some have a call to bcn_display(), some have the widget area, and some have both. I suggest looking through your theme’s files and see where the calls to bcn_display() are an evaluate if the should be there or not.

    Thread Starter joannereakes

    (@joannereakes)

    Thanks so much John.

    I found a call to bcn_display() in my single page php file.

    <?php if ( function_exists( 'bcn_display' ) ) : ?>
    	        <div class="breadcrumbs">
    	            <?php bcn_display(); ?>
    	        </div>
    	    <?php endif; ?>

    I removed the code which has allowed the widget breadcrumb to take precedence and is the only thing that shows.

    I wouldn’t have found that without you pointing me in the right direction

    Cheers
    Jo

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Duplicate Breadcrumb that cannot be edited’ is closed to new replies.