If you have installed Multi-site BuddyPress or WordPress you can easily add adsense advertisements and there is no need to use any plugin or anything to add Adsense ads to Widgets.
This site itself is running BuddyPress and my quick research on plugin to use to add Adsense ads just led me to various suggestions plenty of different approaches like:
- using buddypress-ads plugin (currently obsolete)
- using specially crafted theme for BuddyPress that supports Adsense like bp-replenished or wp-banners-lite
- WordPress plugin for simple google adsense insertion
None of this however doesn’t seemed to work for me until finally I found this post pointing out that it is possible to use embedded WordPress Widgets to add the required code to WordPress.
I’ve tested and it seems, the Widget using Method to inject advertisements into your BuddyPress social network works perflectly fine.
Here is how to add Adsense to BuddyPress
Login with adminsitrator to wp-admin or whatever URL you put for admin
Sites -> All Sites -> Dashboard
On the next page to display go to
Appearance -> Widgets
On this page Drag and Drop
(Hold on Text Widget with mouse button and drag to ordered list of Widgets to show on page)
Add a title to the newly added Text field to Widgets (lets say just type Ads)
And then paste the generated from Google Adsense interface Google Adsense code:
Then press the Save button to save the Widget and if you need drag and drop between the available Widgets to change the exact place where Adsense Ads will appear.
That’s all give thanks to The Lord Jesus Christ for finding this post 🙂