can you either give a link or a screenshot so we can see exactly where it is ?
Yep, here it is:
I’ve looked at it with Firebug, it’s the same header ad that I have showing up on all my other pages (except there it is ABOVE the page, not within it). I also tried putting php code around the ad to stop it on specific page numbers, but that didn’t seem to work either.
I suspect it is the loop-single-forum template
create a directory on your theme called ‘bbpress’
ie wp-content/%your-theme-name%/bbpress
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/%your-theme-name%/bbpress/loop-single-forum.php
bbPress will now use this template instead of the original
then
remove lines 20 and 24
line 20
<?php do_action( 'bbp_theme_before_forum_subscription_action' ); ?>
line 24
<?php do_action( 'bbp_theme_after_forum_subscription_action' ); ?>
come back if that doesn’t work
you could also try to select the specific adsense css element within whatever bbpress element and then do something like
li.bbp-header .adsense {
display: none;
}
sam
The template did change to the new php file, but removing the code did not remove the ad unfortunately. I tried removing other code but nothing seems to affect it.
edit: I’d love to just hide the ad with CSS, but the problem is that is against google policy.
I ended up switching to a different adsense plugin. Thanks for the help