Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to add ads? is there a footer.php for buddypress?


  • hiboy
    Participant

    @hiboy

    I wanted to add ads into header and footer of single member and group page.
    I know there is a member-header.php and group-header.php, adding my adsense code, it work fine ,every member and group page top ads appear.

    How about footer?

Viewing 4 replies - 1 through 4 (of 4 total)

  • bp-help
    Participant

    @bphelp

    @hiboy
    Hi there, If your using bp-default theme then the footer is widgetized in four areas so you should be able to ad adsense code there. If your using a different theme then you will have to check if the footer area is widgetized. If it is not then it is still possible with some coding.


    hiboy
    Participant

    @hiboy

    hi hi bb-help,
    thanks for your reply

    I am using a different theme, and i am implementing with coding, but i do not know which files to edit to affect the footer of buddypress, like for the header there is member-header.php and group-header.php file


    bp-help
    Participant

    @bphelp

    @hiboy
    Doesn’t your theme contain a footer.php? If it does and it is not widgetized then you will have to manually widgetize it. Do a google search, there is lots of instructional info about widgetizing areas in themes.


    hiboy
    Participant

    @hiboy

    hi again, yes , but footer.php if i put the ads code ,it will appear in all pages, which the layout is different from my buddypress theme. I only left with showing ads at the footer of single member and group page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to add ads? is there a footer.php for buddypress?’ is closed to new replies.
Skip to toolbar