Wednesday, May 30, 2007

How To Add Google Adsense Code On Your Top Post Title

How to add Google Adsense code in my new Beta Blogger Blogs...Maybe some of us find it's hard to add the addsense code in new beta blogs. For new beta blogs, adsense code can easily be added on right side bar or in the left side bar with add page element section. Not a problem to us to add the adsense code on that side.

The trick I want to give here is how you can add the adsense code on the main colum above your title post. There is main section where the adds visible to all your reader. Just read the rest and try yes and error for your self but if you do as I meantion here i'm sure you will did it well.

First of all log in into your Blogger dashboard and click at Template section> then click on Edit HTML section. After you click that Edit HTML section the edit template page will come out. Here unchecked the Expand Widget Template box, just scroll down until you find the code for the main colum which is:

<div id="main-wrapper">
<b:section class="main" id="main" maxwidgets="1" showaddelement="no">
<b:widget id="Blog1" locked="false" title="Blog Posts" type="Blog">
</b:widget>
</b:section></div>



When you find these code, replace/change the maxwigets="1" to maxwidgets="2"
Change also the showaddelement="no" to showaddelement="yes"

The new code will look like this:

<div id="main-wrapper">
<b:section class="main" id="main" maxwidgets="2" showaddelement="yes">
<b:widget id="Blog1" locked="false" title="Blog Posts" type="Blog">
</b:widget>
</b:section></div>



Then safe the template.

Now click the Page Element Tab that will open the Add and Arrange Page Elements page. In this section you will see the Blog Post section has a Add Element link above it.

Click that Add a Page Element section and select HTML/JavaScript option, copy your Google Adsense code and paste it there (HTML/JavaScript box). Safe all the changes that you make and preview the change in new window where you can see the Adsense code is now on your top post title.

Also if you want to add other Ad section above or below the post just change the code of maxwidgets="2" to maxwidgets="3" and to the rest prosess your self.

Enjoy your blogging start from now on. Please also tags me if you had other great stuff that can be share with other bloggers.

No comments: