Forums

Join
bbPress Support ForumsThemesConditional tag?

Info

Conditional tag?

  1. Hi

    I'm integrated.

    I use a breadcrumb script in my WordPress header.

    Any idea if it's possible to display the bbPress breadcrumb script INSTEAD of the WordPress one when on the forum?

    Something like if (is_forum()) or something?

  2. Do you have a link to what you're talking about?

    Of course you can do a conditional in PHP, it's just a matter of how you integrated things and if the functions are available between WordPress and bbPress.

    What breadcrumb script are you using?

  3. Breadcrumb script: http://wordpress.org/extend/plugins/breadcrumb-navxt/

    I've integrated it so that bbPress calls WordPress functions, meaning I use get_header and get_footer. All the forum CSS is in my WordPress CSS.

    In the WordPress header.php I use that breadcrumb plugin, but obviously on the forum pages I don't want it to appear.

  4. How about in your WordPress header.php try to wrap the breadcrumb call with something that happens only on bbPress pages. So, if your forum is in a directory called "forum" or something, maybe you could check the REQUEST_URI for the presence of forum. Then you wouldn't show the breadcrumbs if you were on a forum page. Something like that?

  5. You must log in to post.