0

Display ads above every post





While a person reading your blog post , he must be attracted the blog's design and templates also . The widgets and design also makes a person to become an regular reader of your blog. Now i have an simple idea , how to display ads above every post . Example you can see above this post , ad displaying about host gator and also sharing icons


Go to Design-->Edit html--->Click on the Expand Widget Templates
1) Then find this code
<b:if cond='data:blog.pageType == &quot;item&quot;'>
2)There may be codes like above . When you search suing control +F and search get the second one in the search result. Paste the below code above the line mentioned in step 1






<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div class='ads'>
<table border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td width='354'>
<center>
<a href='www.way2all.in><img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQb9jnLUtbrEn_5rrit8oiU56l24g_M_ZGgDcP-D7tQHn1J3eQLULfSRkWK2CrH99UmysovWSPKBYODOo_96XXQhBgp47_oySq43KxOpT021SZWd0fsRz0XSBEJgU7DWOeeg8HrSWr8-A/s1600/hari123.gif'/></a>
</center>
</td>
<td><div class='ads-right-min'>
<a class='mini-del' expr:href='&quot;http://del.icio.us/post?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Add To Del.icio.us'>Add This To Del.icio.us</a>
<a class='mini-facebook' expr:href='&quot;http://www.facebook.com/sharer.php?u=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Share On Facebook'>Share on Facebook</a>
<a class='mini-stumble' expr:href='&quot;http://www.stumbleupon.com/refer.php?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Stumble This'>StumbleUpon This</a>
<a class='mini-tech' expr:href='&quot;http://www.technorati.com/faves?add=&quot; + data:post.url' target='_blank' title='Add To Technorati'>Add to Technorati</a>
<a class='mini-digg' expr:href='&quot;http://digg.com/submit?phase=2&amp;url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Digg This'>Digg This</a>
</div>
</td>
</tr>
</table>
</div>
</b:if>
Click save template . that's it  now ads are displayed above every posts! change the letters in red to your url and your image


Subscribe To Get FREE Tutorials!

Related Posts Plugin for WordPress, Blogger...


Share your views...

0 Respones to "Display ads above every post"

Post a Comment

 

© 2011 CoolTricks This content is copyrighted to f10f1111 | Powered by Pro Thesis Theme| Designed by f10f1111