- InactiveLevel: EnlightenedPosts: 28
Is there a way I can display ads after 5 activity post
Do you plan to use ads like google ads, then there is no solution(due to their policy). But if you plan to put banners, then there are solutions.
You may want to take a look at this
https://buddydev.com/inject-content-into-buddypress-activity-stream-after-a-certain-number-of-activities/Regards
Brajesh- InactiveLevel: EnlightenedPosts: 28
I plan to put banner and text ads so I’m not using AdSense
- InactiveLevel: EnlightenedPosts: 28
I have gone through the code snippet it’s wonderful, but if I don’t want the banner to repeat how can I achieve that
You will most probably want to keep all the banners as array entry and use a random value in the range to avoid a specif c pattern/repetition.
Regards
Brajesh
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.
This topic is: not resolved