Title: Problem with header.php
Last modified: February 16, 2021

---

# Problem with header.php

 *  [epokk](https://wordpress.org/support/users/epokk/)
 * (@epokk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/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 5 years, 3 months ago by [epokk](https://wordpress.org/support/users/epokk/).
    -  This topic was modified 5 years, 3 months ago by [epokk](https://wordpress.org/support/users/epokk/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [epokk](https://wordpress.org/support/users/epokk/)
 * (@epokk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/problem-with-header-php/#post-14059031)
 * 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)

The topic ‘Problem with header.php’ is closed to new replies.

 * ![](https://ps.w.org/breadcrumb-navxt/assets/icon.svg?rev=1927103)
 * [Breadcrumb NavXT](https://wordpress.org/plugins/breadcrumb-navxt/)
 * [Support Threads](https://wordpress.org/support/plugin/breadcrumb-navxt/)
 * [Active Topics](https://wordpress.org/support/plugin/breadcrumb-navxt/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/breadcrumb-navxt/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/breadcrumb-navxt/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [epokk](https://wordpress.org/support/users/epokk/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/problem-with-header-php/#post-14059031)
 * Status: not resolved