Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to add ads in activity streem

  • @lovecoinz

    Participant

    hey buddies.

    I want to display ads in activity streem, something like after 3 activity but have no crue on how to do it. I searched the forum and stumbled on this tread I cherished the tread and method prescribe by @henrywright, but my problem is, Where exactly will I add the code. Please guys help me out, am not good at coding, but I can follow an indept instruction on how to add code, where to add it. If coding is to write, i will tell you that I dont know how to write my name.

Viewing 3 replies - 1 through 3 (of 3 total)
  • @henrywright

    Moderator

    Hi @lovecoinz

    Do you have a link to the thread you mentioned?

    @lovecoinz

    Participant

    @henrywright

    Yes i have it, https://buddypress.org/support/topic/add-ad-code-into-activity-stream/ you gave an instruction there, but please help me on where exactly i should put the code you mentioned and how best i can use it. Am not good in coding, but i can copy and paste code in the right place with right instruction.

    thanks for the reply.

    @henrywright

    Moderator

    The activity directory template is /buddypress/activity/index-directory.php so you will need to make sure you have that created in your theme. The Template Hierarchy article will explain everything in more detail so be sure to check that out. Then you could use the code I provided in the thread you mentioned to insert adverts in the stream.

    Hope that helps?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to add ads in activity streem’ is closed to new replies.
Skip to toolbar