Thread Starter
jmuniz
(@jmuniz)
Hi,
I added the code on header.php in the parent theme, but did not work because the PHP script was not closed. I copied the header.php for my child theme by closing any opening of PHP. I put the code in the end and it works for all types of page, article and porfolio.
It’s the best solution ?
Thank you very much.
Cordially
Jmuniz
Hey,
Sorry for the delayed response. Can you please share a link to the navxt documentation where you obtained that function? If I can read their directions, I should be able to figure out the best area to place this.
-Kevin
Thread Starter
jmuniz
(@jmuniz)
Hello Kevin,
Thank you very much !
Sorry for the delayed response, I have been on vacation.
As I told you, I put the header.php script in my child theme, and it works:
_________
<?php
/*
DO NOT ADD SCRIPTS HERE
USE a plugin like : https://ww.wp.xz.cn/plugins/header-and-footer-scripts/
– Force plugins to stop stating incorrect errors –
<?php wp_head(); ?>
*/
get_template_part(‘templates/head’); ?>
<body <?php body_class(); ?>>
<?php
do_action(‘virtue_after_body’);
?>
<div id=”wrapper” class=”container”>
<?php
get_template_part(‘templates/header’);
?>
<!– NavXT — nov/2017 –>
<div class=”breadcrumbs” typeof=”BreadcrumbList” vocab=”https://schema.org/”>
<?php if(function_exists(‘bcn_display’))
{
bcn_display();
}?>
</div>
_______
The code link on the paragraph BASIC USAGE:
https://mtekk.us/code/breadcrumb-navxt/#basic
Best regards,
-Jmuniz