Reply To: php condition to detect that we are in the forum
content.php seems like a weird place to be swapping an image, is this a header image or something?
From the way you’ve worded it I think maybe you need an if else statement around the specific image?
if( is_bbpress() ) {
// bbpress image
} else {
// default image
}
Is that the issue? If not, could you describe a bit more what you’re expecting to happen and what is happening instead please? It could also be that you actually need a BuddyPress if call rather than bb.