Support » Plugin: Breadcrumb NavXT » Problem with header.php

  • Hello,

    I have been using the plugin for months and everything is working fine.

    The plugin has not worked at all for a few days. I no longer have a breadcrumb trail …

    I searched for long hours and noticed when I was putting this code in the header.php, the breadcrumb trail does not work :

    <div id = "ad-breadcrumbs" class = "breadcrumbs" typeof = "BreadcrumbList" vocab = "http://schema.org/">
     <? php
    
    if (function_exists ('bcn_display')) {
     bcn_display ();
     }
    
    ?>
     </div>

    Whereas when I put this same code in e.g. page.php everything works fine.

    Do you have any idea where this might be coming from?

    I tried to uninstall all the plugins but I did not find the solution.

    For information, I use DIVI

    Thank you for your help !

    • This topic was modified 2 months, 3 weeks ago by epokk.
    • This topic was modified 2 months, 3 weeks ago by epokk.
Viewing 1 replies (of 1 total)
  • Thread Starter epokk

    (@epokk)

    Ok I found the solution !

    For those who have the same problem as me, when you use the Divi “theme builder”, you must not put this code in the “header.php” file, but you must put the code in “theme-header.php”

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.