No longer necessary because the functionality has been integrated into b2evolution's core.
The AdSense plugin for b2evolution lets you embed AdSense blocks into your blog posts.
All you need to do is put the cursor where you want the AdSense block and click on the AdSense toolbar button. The plugin does the rest.
Additionally, the plugin will also make sure that you do not display too many AdSense blocks on your page. For example you can set it to expand a maximum of 2 ad blocks in the blog posts and have a 3rd one reserved for your sidebar.
Section 1. Plugin info
Plugin specific information:
- Help link
Section 2. Plugin settings
- Default AdSense block: Copy/Paste your AdSense code from Google into here. You can surround it with some CSS for decoration and/or positionning.
- Default Max # of blocks: Maximum number of AdSense blocks the plugin should expand in post contents. Google terms typically set the limit to 3. You may wish to set it to less if you add blocks into the sidebar.
Inserting an AdSense block
When editing a post in Expert Mode, you will see the "AdSense" button in the toolbar, just put the cursor where you want the ad to be inserted and hit this button.
If you do not have access to the button "AdSense" at the toolbar, just type
Remember to check the "AdSense" option at your post's "Text Renderers" block:
My post shows
[adense:] instead the adsense block I've installed. How do I fix this?
First, try to add adsense to a new blog post. That should be very easy.
For older posts, you will have to switch to the Expert post editing mode and manually enable the Adsense plugin renderer in the Text Renders section at the bottom right of the screen.
How do I integrate AdSense into my sidebar / header / footer?
You just copy/paste the AdSense code from Google into your blog template.
The short answer is that the template is located in
More info about skins & templates here.
No need to download!
Note: the downloadable package is for sites running old versions, when this feature was not already built-in. If your site is below version 2, the first thing that you should do is upgrade it, but if you only want to have this feature, then add this package as any other plugin.
If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog: