How to Make Google Adsense Ads Appear In Middle of Posts Fresh Deals Alert

How to Make Google Adsense Ads Appear In Middle of Posts

In fact,  how Google AdSense Ads display on your website/blog speaks volume of your professionalism in terms of blogging, being it below/top and middle of your post.I was seriously surfing the for sneaky trick that will allow me to display Ads in the midst of my post. Fortunately I found one sneaky trick that will do the TRICK and I decided to share with you
Credit to Jide owner of (http://www.ogbongeblog.com/)

==> Get your Adsense ad code from www.google.com/adsense
==> Parse the code at www.freehtmlparser.blogspot.com
==> Click on Encode
==> Login to your Blogger dashboard 
==Back up your template 
==> Click on "Template" > "Edit HTML"

==> Use CTRL and F to search your HTML for the code below:

<script 
src='https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js' 
type='text/javascript'/>

If you can't find it , copy the script above and paste directly above </body> in your blog's html

==> Use CTRL and F to find </body> again and directly above it, 
==> Paste the code highlighted below:

<b:if cond='data:blog.pageType == &quot;item&quot;'>
 $AdCode = $("#AdCode").html();
 $("#PostBody br:lt(1)").replaceWith($AdCode);
 $("#AdCode").remove();
</script>
</b:if>

==> Click Save the Template

==> Go back to "Template" > Edit HTML
==> Use CTRL and F to find <data:post.body/> .
==> Replace it with the code below:

<div id="PostBody">
 <data:post.body/>
</div>
<div id="AdCode">
<div style='margin:5px 0;text-align:center;clear:both;'>
<!-- Paste PARSED Ad Unit Code Here -->
</div>
</div>

==>Click Save 

Your template might have 2 or more <data:post.body/> codes. Place the code in  2nd or 3rd instance works in most templates though.

==> Go to New Post
==> Click on Options 
==> Select Press Enter for line breaks




HEY ENJOY THIS ARTICLE? ! Subscribe to my Blog Feed in a feed reader or sign up for Free Email Updates and you'll never miss a single post. Thanks for reading my Post!

Delivered by www.kutufam.com
                                                  
Enter your email address in the Box below to Receive Regular Updates in your Mailbox. Your email address is secured with us:


Delivered by www.kutufam.com

No comments :

Post a Comment

Search This Blog

www.kutufam.com