bbPress

Simple, Fast, Elegant

bbPress support forums » Themes

Conditional tag?

(4 posts)
  • Started 3 months ago by pad
  • Latest reply from chrishajer
  • This topic is not resolved
  1. pad
    Member

    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?

    Posted 3 months ago #
  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?

    Posted 3 months ago #
  3. pad
    Member

    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.

    Posted 3 months ago #
  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?

    Posted 3 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.