• Hi

    First of all, I would like to use the breadcrumb menu for my WordPress/Woocommerce website, but I am unsure where I need to add the PHP code.

    <?php if ( function_exists('yoast_breadcrumb') ) {
    yoast_breadcrumb('<p id="breadcrumbs">','</p>');
    } ?>

    I can’t add it to the header or footer of each page (that would be daft!). But I cannot work out which page I would need to add it to. Would it be the title.php? I just need it to appear below the navigation area but above the main content.

    Please could anyone help?

    Also i am getting a weird page layout everytime I enable the breadcrumb setup: In FireFox on my main PC the product pages revert back to the old set up and ridiculously enlarges the product image. I have to keep clearing my history. But it doesn’t show on my other PC or in the 5 different web browsers I’ve tried this on.

    Is this normal or has anyone else encountered such a problem? Please advise.

    https://wordpress.org/plugins/wordpress-seo/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter dvharrison

    (@dvharrison)

    Please could anyone help? Its too close to the navigation for the header page. I need it to shop up on both the shop and blog pages.

    Thread Starter dvharrison

    (@dvharrison)

    Actually page.php is ok for the pages of the site. But as for blog and shop page, I need to keep trying

    Thread Starter dvharrison

    (@dvharrison)

    It works. added it after the <header> tags in between <div id=”site-content” class=”container” role=”main”><div class=”row-fluid page”>..</div></div> to keep it flowing.

    Hope this helps some other soul. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Where to add the code for breadcrumb?’ is closed to new replies.