Skip to:

Breadcrumb conflict with SEO Yoast "internal links" breadcrumbs

  • dizmarkie


    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?

    I tried

    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

Viewing 3 replies - 1 through 3 (of 3 total)

  • thesnowjunkies


    Got the same problem. I’m guessing we would have to use a conditional statement in the functions.php file, but I’m a little lost how to actually do that.

    John James Jacoby



    if ( is_bbpress() ) { ... }



    I don’t know if I had the wrong Yoast code, but I tried it again on my template page and it works fine now. Thanks though @JJJ

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar