wpvidZ

Learn WordPress With Video Tutorials

  • Blog
  • Browse
    • Backup & Restore
    • WordPress Localhost
    • WordPress Hosting
    • WordPress themes
    • Version Updates
    • Plugin Tips
    • Security
    • Tutorials
    • WordPress SEO
    • WP Miscellaneous
    • Sitemap
  • WP 5+ Tutorial
  • Search
wpvidZ Blog Tutorials How To Add Adsense To WordPress Sidebar

Tutorials

How To Add Adsense To WordPress Sidebar

Last updated on February 18, 2017
Posted on September 14, 2010

How to put google adsense code and javascript to your wordpress 3 sidebar, this wordpress 3.0.1 tutorial uses Twenty Ten.

Andrew asked me about adding adsense to wordpress blog a few days ago, that was a great input.

To follow this post, your blog must be approved by Google adsense to display their clients’s advertisements.

To insert the code, it really depends on the width of your sidebar to choose the ads dimensions, as you know, adsense enables us to choose not only image, but also text even link ads code.


You can also choose “autosize”. But Twenty Ten theme’s sidebar uses 200 px, so you can also choose 200x200px ads dimension while “setting up” your ads in Google adsense web page.

There are, of course many ways to put adsense in your wordpress blog. Some people put it as “menu” bar, some make them look like thumbnails, or putting them in sidebar and footer. Twenty Ten’s footer is widgetized, it means, you can put any widgets there, including Google ads.

In this tutorial, i will show you how easily putting adsense code in your sidebar widget.

1. First, login to your Google adsense’s page, and set some ads, the dimension choose anything that suits to your sidebar’s width. (more infos, see first video)

Setting up “adsense”

2. Get the code, and copy it.

  • Is my site loading fast? I use this shared hosting
  • Try my theme >

3. Log in to your wordpress blog’s dashboard, and find “appearance” and “widgets”.

Appearance tab and then Widgets.

4. Choose text widget, paste the code, and you can optionally give the title as “sponsors” for example, or just leave it empty.

Dragging text widget to sidebar
Where to paste google adsense code

5. Click “save”, and refresh your blog.

Please note that it may take a few minutes for the Google advertisements to appear in your sidebar. Be patient 🙂 Get more traffics, more traffics = more clicks and earning. Happy earning!

  • Is my site loading fast? I use this shared hosting
  • Try my theme >

Setting up Adsense video;


Adding Google adsense code in sidebar Video tutorial:

adsense theme twelve twenty widgets

Latest Posts

  • Twenty Nineteen Theme Full Tutorial – Creating a Website
  • Uninstall W3 Total Cache Plugin – Incredibly Easy!
  • Create WordPress Website 2018 on SiteGround Genesis
  • WordPress Noopener Noreferrer Rel Attribute Quick Fix
  • WordPress CDN Setup with MaxCDN and W3 Total Cache Plugin
  • Twenty Seventeen One Page Parallax Scrolling Website Style
  • How To Add Google Map in WordPress Contact Page
  • WordPress 4.7 Justify Text and Underline
  • Twenty Seventeen Footer “Proudly Powered By WordPress” Text
  • How To Add YouTube Subscribe Button To WordPress Website
← Create Sticky Post In WordPress 3.0
→ “Textarea”-Required Attribute “Cols” Not Specified

Comments

  1. andrew says

    September 14, 2010 at 5:54 pm

    Hi Kimi,

    Great Tutorial! Thanks.

    Andrew

    • Kimi says

      September 14, 2010 at 7:24 pm

      Thank you Andrew! I hope it helped. See you around.

  2. Ceejay says

    March 30, 2011 at 2:30 am

    This is just a very useful tutorial, though am not using twenty ten. I have been browsing all night to see how to add adsense to my sidebar. Thanks

  3. Ceejay says

    March 30, 2011 at 2:36 am

    Please you can edit my name on the post, saw the red pen late. Sorry for my mistake

  4. wiljr says

    May 21, 2011 at 12:11 am

    helpful, thank you!

  5. Daryll says

    June 21, 2011 at 1:55 pm

    Good day! I just want to ask what will I do if I got 2 codes? I tried this and it worked great but when I add a new code, only one ad is showing. I’ll be waiting for your reply.

    Thanks!

    • Kimi says

      June 21, 2011 at 7:08 pm

      Hi Daryll,

      Welcome to this blog.

      IT must be working, but adsense limits the usage of how many blocks you want to add.

      Example, when I wanted to add two big blocks of adsense and two of small blocks, one of them is not displayed. So I only use 2 big ones and 1 small one, so they are displayed.

      In a page, max 3 adsense will be displayed, so we must also look how many ads we already have.

      I hope this helps

      Kind regards,

      Kimi.

  6. nawar youssef says

    August 9, 2011 at 7:53 am

    hi, thanks for this tutorials but
    When I copy the code and paste it in the wordpress text, and press save it just disappears, I tried many times
    what is the problem ?
    thanks

    • Kimi says

      August 11, 2011 at 5:51 pm

      Hi Nawar!

      Welcome to my blog

      Do you mean in your site in your URL? in wordpress.com?

      Well, in wordpress.com free blog, you cannot use adsense, since javascript is disabled.

      Here are quick links about wordpress.com and wordpress.org differences:

      https://www.wpvidz.com/how-much-does-wordpress-cost/

      https://www.wpvidz.com/adsense-in-wordpress-com-free-blog-wordpress-how-to/

      I hope this will help a bit

      Kimi.

  7. Kim@Web Strategy says

    September 3, 2011 at 2:39 am

    Hi Kim,
    I’m trying to add Adsense on my other blog not on the sidebar, I’m trying to add it under the Page Title. The problem is that none of the tutorials I found seem to work. The Page is the default landing page of my blog, so it’s Title is written this way on source code: Title of the Page Here

    Can you tell me what I’m missing?

    Regards,
    Kim (Yeah we almost had the same name lol )

    • Kimi says

      September 3, 2011 at 6:58 pm

      Hi Kim. lol yeah, we have same name 🙂

      I have visited your link of the comment’s website, is it the site you meant?

      If yes, I have noticed you have “sight” theme of wpshower.

      I haven’t used nor tried this theme, therefore I don’t really know the code after the page title. The best, would be, contacting the theme developer’s website?

      Can’t really tell what you are missing, since I have never used this theme, Kim.

      Kimi.

  8. Kim@Web Strategy says

    September 3, 2011 at 8:15 pm

    Hi Kimi, Yeah it’s Sight theme. I was actually talking about a different blog. Is there any way I can PM you? Thanks a lot. 🙂

    • Kimi says

      September 5, 2011 at 5:55 pm

      Hi Kim,

      You can pm me via contact page 🙂

      Thanks

  9. Ravi says

    March 26, 2012 at 8:54 pm

    I am trying to use this approach on my wordpress blog fullonbaan, but it doesn’t seem to work. The adsense code in the text just gets dissapeared. Can you please help.

    • Kimi says

      April 1, 2012 at 8:21 am

      Hi Ravi,

      I saw your ad, it might take a while until the ad appears 🙂

      Kimi

Comment form on this post is closed after 60 days.

Search

Worth Reading

  • WordPress CDN setupWordPress CDN Setup with MaxCDN and W3 Total Cache Plugin
  • WordPress Google maps in contact pageHow To Add Google Map in WordPress Contact Page
  • The configuration of YouTube Subscribe button in Google Developers web pageHow To Add YouTube Subscribe Button To WordPress Website
  • Adding Social Media Links to WordPress Menu With CSS Classes
  • Unable to create directory wp-content/uploads in WordPress
  • Forward Twitter to Facebook Using App and Feedburner Tutorial
  • Kitchen Sink WordPress - Seem Simple But Important
  • Admin Pointers, Drag and Drop WordPress 3.3 Media Upload Features
  • How to sell ebook in a wordpress blog?
  • Check your site's performance using Google labs Page Speed

Backup & Restore

Backup WordPress Without a Plugin or FTP

Export WordPress Database using phpMyAdmin

BigDump Alternative – When BigDump Failed Importing Large WP Database

At This Place The Current Query Includes More Than 300 Dump Lines

View All..

Live Online Website

View All..

Offline Installation

How to Upload WordPress localhost to live server manually

Steps to Install WordPress on Windows 8 and WAMP 2.4

Install WordPress on Mavericks OS X 2014

Maximum upload file size in WAMP WordPress

View All..


WPvidz Hosting Image

  • About Me
  • Contact
  • Affiliate Disclosure
  • Privacy Policy
  • Term of Use

Copyright© 2023 wpvidz.com SG2021 | sitemap.xml


WPvidz.com is independent from WordPress.org but is proudly powered by WordPress & its block-based editor (Gutenberg)

WpvidZ.com uses cookies" to give you the best browsing experience possible. If you click "I Accept" below then you are consenting to this. For more information about your privacy settings on this website, please visit the Privacy Policy page. I Accept