[Support request] Hook GoogleAdsense code in bbPress

Home Forums Support [Support request] Hook GoogleAdsense code in bbPress

Home Forums Support Hook GoogleAdsense code in bbPress

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2317962
    Art

    Hi I’m using an Element to hook Google Adsense code in bbPress on the forum section of my website. I’m using the Forum, Forum Archive, Topic, Topic Archive and Reply locations. I have a hook at generate_before_main_content. It works great and only appears in the forum. I also have a hook generate_before_footer that’s site wide and that works great. I’m trying to find the hook somewhere within the replies or maybe before the comment/reply box. Is that doable?

    Thanks for any help.

    Art

    #2317970
    Ying
    Staff
    Customer Support

    Hi Art,

    As bbPress is using its own template for the content area, so the default GP hook inside this area can not be used.

    I would recommend reaching out to bbPress for their list of hooks if they do have it.

    Then you can select custom hook and enter the hook name ๐Ÿ™‚

    #2317977
    Art

    Thanks Ying, much appreciated!

    #2318638
    Ying
    Staff
    Customer Support

    You are welcome ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.