Breadcrumb conflict with SEO Yoast "internal links" breadcrumbs
I’m using SEO by yoast to handle my breadcrumbs. When my forum pages load this seems to inject the output of the forum breadcrumbs into my own breadcrumbs and breaks the logic.
If I remove my function then the forum logic’s breadcrumbs work great.
I have my logic in my header.php file and would like to keep it there due to the way my layout is built and would prefer to not have to include it on a per page basis.
Is there a condition i could put to not show my own breadcrumb logic on ANY forum related page? so it inherits the bbpress breadcrumbs?
if !is_page_template (‘forum.php’) and it didn’t work.
I have a page template for my forum in a file called forum.php
thanks in advance
You must be logged in to reply to this topic.