b2evolution b2evolution

  • Sign in
  • Sign up
  • About
  • Downloads
  • Hosting
  • Docs
  • Support
  • Sign in
  • Sign up
  • Releases
  • Skins
  • Plugins
  • Locales
 
  • « Proof of Work Captcha Plugin
  • EU Cookie Consent Plugin »

AdSense for b2evolution

Categories: Renderer Plugins, 0.9.1, 2.x & above, 3.x (incomplete list), 4.x (incomplete list), 5.x, Skin feature, Backoffice tool, 3rd Party Integration, Downloadable Plugin, 6.x

The AdSense plugin for b2evolution lets you embed AdSense blocks into your collection posts.

Download Now!
adsense_plugin_7.1.2.zip (4.1 KB)
Author@fplanque
Last tested in version

Usage

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.

Plugin Settings

AdSense for b2evolution

Section 1. Plugin info

Plugin specific information:

  • Name
  • Description
  • 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 positioning.
  • 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.
  • Auto blocks: check to automatically add an ad block in the middle of any post that has no [adsense:] tag yet.

Per Collection Settings

AdSense for b2evolution

The per collection settings of the plugin contains almost the same options found in the default plugin settings above. You can customize the plugin's behavior on a per collection basis using these settings.

Inserting an AdSense block

AdSense for b2evolution

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 [adsense:].

Remember to check the "AdSense" option at your post's "Text Renderers" block.

Mini FAQs

My post shows [adsense:] instead of 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 a Free HTML Widget.

More information about adding widgets to your Collection here.

No need to download! The downloadable package is for sites running old versions of b2evolution when this feature was yet 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.

Attachments:

  • adsense_plugin_7.1.2.zip (4.1 KB)
Tags: 6.10.7download file available

No feedback yet


Form is loading...

Plugin Repository

Plugins are little PHP scripts that allow you to add features that are not (yet) built into the b2evolution core.

How to...

  • Introduction to Plugins
  • How to install a plugin (after downloading it)
  • How to make a new plugin
 Upload a plugin!
Submit your own plugin

User log in

Lost your password?
Register »

Search by keyword

Filtering options

Retain only results that match:

XML Feeds

  • RSS 2.0: Posts, Comments
  • Atom: Posts, Comments
What is RSS?

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Online demo
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque