Plugin page

Welcome to the MyAdsense plugin page !

Description

System recommandations
  • WordPress 2.7 or higher.
  • PHP version 5.2 or higher.
  • MySQL version 5.0 or higher.
Description
With this plugin you will be able to manage your ads formats from Google Adsense and to include them in your theme or in your posts ...
  • Look and Feel totally compliant with Wordpress 2.7 ,
  • Detail/List view, Filters and Search on lists, Mass delete by checkbox, delete list item 'ajaxified',
  • Supported languages : English, French (.pot provided).

Installation

First steps.
  1. Make sure you have already installed WordPress 2.7 or above.
  2. Unzip the MyAdsense package in an empty directory.
  3. Upload the unzipped folder in wp-content/plugins.
  4. Log in to your WordPress admin and point your browser to "Plugins" page.
  5. Activate MYAdsense plugin.
  6. Point your browser to "Settings > MyAdsense", fill and save the settings.
Ads on your blog

To add your ads on your blog, three ways :

  • Into a post (under HTML tab):
    • to display default ad :
      <!--MyAdsense-->
    • to display 'name_of_the_ad' ad :
      <!--MyAdsense#name_of_the_ad-->
  • Into a page or category template or in your code :
    • to display default ad :
      <?php if ( class_exists( 'MyAdsense' ) ) MyAdsense::doit(); ?>
    • to display 'name_of_the_ad' ad :
      <?php if ( class_exists( 'MyAdsense' ) ) MyAdsense::doit( 'name_of_the_ad' ); ?>
  • In your sidebar :
    • use the widgets automatically generated.

Settings

MyAdsense Settings panel :

  • Google AdSense Account ID : fill the field with your Google AdSense Account ID.
  • Are we on a test site ? : check this box if you are on a test site

Note : When on a test site or logged in under admin, the ads are replaced by a box giving you the name of the ad to be displayed.

Before asking !

Have you read the readme.txt ?