Support » Plugin: Breadcrumb NavXT » Adding Breadcrumb NavXT to DIVI footer

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

    (@mtekk)

    Breadcrumb NavXT does not currently ship with a shortcode. Instead, you should just use the recommended calling code:

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

    (@quintinm)

    Hi John, thanks for the reply.
    That is what i thought and tried to do that, but when i add the above into the “CODE” or TEXT module for DIVI all it displays is the following:

    {
    bcn_display();
    }?>
    Plugin Author John Havlik

    (@mtekk)

    Since this is PHP code, it is not something can just be added to a textbox for the theme. You will need to create an child theme and place the calling code in the appropriate PHP file (likely a copy of the footer.php for the Divi theme). Another choice would be to look into the Divi theme’s code and see if there is an action or filter near the area you want the breadcrumb to show up in and can write the appropriate hooking function to call bcn_display() within. Also, you could try writing your own shortcode wrapper function that calls bcn_display().

    If these are not options for you, then you will have to live with what the theme provides widget location wise.

    Hi John, maybe you can help me

    I have a big problem when I create a page with divi builder , and use the blog module.

    the problem starts when I try to make a breadcrumb with breadcrumb navxt plugin, on the route that creates the blog page is skipped (where arrive the entreis, post)

    I hope you can help me

    google translator

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding Breadcrumb NavXT to DIVI footer’ is closed to new replies.