Showing posts with label post footer. Show all posts
Showing posts with label post footer. Show all posts

Friday, October 9, 2009

Adding adsense inside your post section

adinsidepostFrom this tutorial, you will be able to add any type of adsense service you are working with to the top or bottom section inside of your posts. Placing too many ads on the homepage of your blog can actually drive your visitors away because of the impression that your blog gives them on first sight. Working with adsense is a great way to make a profitable income if you understand how to generate clicks and place ads where they are likely to be viewed and clicked on. Placing ads inside postings is one of the most effective ways to pull visitors interest on the relevant topics they are truly interested in.

*Before attempting any tutorial, please make sure you back-up your current existing template in case it doesn’t turn out as expected.

Assuming that you are already working with an adsense service and have created your desired ad to be placed inside your postings, lets get started.

Steps to follow:

1. Log into your adsense account and copy/paste the code to the “Paste Ad Code to Convert Here:” at this website and select “Convert Ad Code”: http://www.eblogtemplates.com/blogger-ad-code-converter/

2. Once your adsense section code is converted, Log into your Blogger Dashboard > Layout > Edit HTML (select “Expand Widget Templates”)

3. If you want your ad to appear right under the post title, search for the following section code:

<div class='post-header-line-1'/>

4. Once you’ve located this code, copy/paste your converted ad code right below it, for example:
<div class='post-header-line-1'/> 
<div class='post-body'>

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<hr align='center' color='#dddddd' width='100%'/>
<center>
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-XXXXXXXXXXXXXXX&quot;;
google_ad_host = &quot;pub-XXXXXXXXXXXXXXXX&quot;;
/* 468x60, created 7/17/09 */
google_ad_slot = &quot;XXXXXXXXXX&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;
</center>
<hr align='center' color='#dddddd' width='100%'/>
</b:if>

<div style='clear: both;'/> <!-- clear for photos floats -->
</div>

Note:

The section code labeled in red is the IF tags, used to tell Blogger that you only want this displayed inside postings(when they actually read the post individually)

The section code labeled in blue is a horizontal line, you can remove this if you want, but it’s to separate your ads from your posts.

The section code in orange is self explanatory, to center your ad.

5. If you wish to have your ad posted right under your postings, then search for the following section code below and add your converted ad code right below it:
<div class='post-footer'>
<p class='post-footer-line post-footer-line-1'>

6. You can preview before you save, but in order for you to be able to see your ad position in preview mode, you should remove the IF tags before you preview, if that’s the position you want your ad in, simply re-add the IF tags and select Save Template.

*Tutorial completed

Sunday, August 9, 2009

Traffic booster using twitthis!

twitthisposticon Here’s a proven traffic booster for not only your blog but twitter followers as well. Twitthis is a suggested user system that allows you to be suggested to other twitter user by earning twitpoints. To obtain points, all you have to do is submit a url you want to share to twitthis or follow a suggested user. The more points you accumulate, the more points you can spend to increase your site’s chance of being suggested to other users. Here’s how to implement twitthis to your blogger.

Steps to follow:

1. Visit http://www.twitthis.com and click Tools in the top right hand navigation. (you will need to navigate to this page later to copy/paste the section code you want to your xml template.)

twitthisicon

2. Login to your Blogger Dashboard in a new browser window.

3. Go to Layout > Edit HTML (Click on “expand widgets” box)

4. Next, search for the following section code below:

<div class='post-footer'>

and paste the following section code right after it…

<!-- Footer Button Codes BEGIN -->
<div>
<p><span id='footer-buttons'>
<!-- things placed after this line will show on all pages -->
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<!-- things placed after this line will only show on post pages –>

<!-- TwitThis Button BEGIN -->
<a href='javascript:(function(){TwitThisPop=window.open(%22http://twitthis.com/twit?url=%22+encodeURIComponent(location.href)+%22&amp;title=%22+((document.title)%20?%20encodeURIComponent(document.title.replace(/^\s*|\s*$/g,%27%27))%20:%20%22%22),%20%22TwitThisPop%22,%20%22width=600,%20height=500,%20location,%20status,%20scrollbars,%20resizable,%20dependent=yes%22);%20setTimeout(%22TwitThisPop.focus()%22,%20100);%20})()'><img alt='TwitThis' src='http://s3.chuug.com/chuug.twitthis.resources/twitthis_grey_72x22.gif' style='border:none;'/></a>
<!-- TwitThis Button END –>

<!-- Do Not Paste Any Code Below This Line -->
</b:if>
</span></p>
</div>
<!-- Footer Button Codes END –>

5. Preview your template, and if all is working fine, Save Template.

Note: Your Twit This! button should appear on all posts pages ONLY, and not the main page. Test the button by clicking it on a post and sharing one of your posts on twitter.