Where to add the code for breadcrumb?
-
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.
- The topic ‘Where to add the code for breadcrumb?’ is closed to new replies.