How to add adsense in wordpress

In order to incorporate ads from adsense into your wordpress blog, you can use/install a dedicated plugin that will manage your adsense ID for you. However, you can also do it yourself, which may be more robust on the long term. Here are the different steps to follow:

  • Login to your blog as administrator
  • Step 2: Click on Appearance
  • Step 3: Select Widgets
  • Step 4: Select Text widget from the left and drag it into the the sidebar on the right
  • Step 6: Edit the text widget you’ve just created
  • Step 7: Enter a Caption.
  • Step 8: Paste the Google Adsense code in the text area (see example of adsense code below)

Example (Copy and Paste below into Widget):

<script type="text/javascript">
 <!--
 google_ad_client = "pub-9999999999999999";
 google_ad_slot = "9999999999";
 google_ad_width = 200;
 google_ad_height = 200;
 // --></script>
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js"type="text/javascript"></script>
Please follow and like us:
This entry was posted in wordpress and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published.