Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to insert a banner over all pages if is_bbpress ??


  • Luis Fatorbinario
    Participant

    @fatorbinario

    I use to have a good custom function on my theme that add custom banners before articles, what I do is to write a function with the rotation ads inside.

    The final lines are like this:

    return $custom_adsense . $content;
    }
    add_filter(‘the_content’, ‘custom_banner’);

    What is the_content equivalent in bbPress?
    How can I add a custom banner over all topics?

    My theme is Twenty Fourteen and I have a nice space above these forum pages that fits ads perfectly.

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