How to put google adsense block in the middle of the post
How to SEO your ads,want to make more money by your blog,There is a way is Puting Your Adsense In The Middle of The Post, There is a simple way to solve this problem: move post body around the advertising code, just with a bunch of JavaScript , a couple of DIVs, a wordpress plugins-AdMan . Ok Let’s Go
In your Blogger template: In 2 easy steps:
FOR OLD BLOGGER
Find the tag <$BlogItemBody$> and replace it with following code:
<div id=”prv<$BlogItemNumber$>”></div>
<div style=”clear:both;margin:10px 0″>
<!– Your AdSense code –>
</div>
<div id=”fst<$BlogItemNumber$>”>
<$BlogItemBody$>
</div>
<script type=”text/javascript”>
var obj0=document.getElementById(”prv<$BlogItemNumber$>”);
var obj1=document.getElementById(”fst<$BlogItemNumber$>”);
var s=obj1.innerHTML;
var r=s.search(/\x3C!– adsense –\x3E/igm);
if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}
FOR NEW BLOGGER
Find the tag <data:post.body/> (you must check Expand Widget Templates in Blogger console) and replace it with following code:
<div expr:id=’”aim1″ + data:post.id’></div>
<div style=”clear:both; margin:10px 0″>
<!– Your AdSense code here –>
</div>
<div expr:id=’”aim2″ + data:post.id’>
<data:post।body/>
</div>
<script type=”text/javascript”>
var obj0=document.getElementById(”aim1<data:post.id/>”);
var obj1=document.getElementById(”aim2<data:post.id/>”);
var s=obj1.innerHTML;
var r=s.search(/\x3C!– adsense –\x3E/igm);
if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}
</script>
Note that you must replace <!– Your AdSense code –> with block code provided by Google.
Labels
- Adsense (1)
- Animal (2)
- Animals (5)
- Art (9)
- Blog Tricks (38)
- Business (7)
- Comments (4)
- Domain Name (1)
- Effects (4)
- Feeds (1)
- Fonts (1)
- Graphics / Effects (3)
- Icons (24)
- Images (6)
- Interface (1)
- Money Making (1)
- n (4)
- Others (9)
- photos (4)
- Posts / Archive (1)
- Posts / Archives (3)
- seo (1)
- Templates (6)
- Text Effects (3)
- Tutorials (8)
- Widgets / Add Ons (15)
Blog Archive
-
▼
2010
(85)
-
▼
February
(85)
- Social Media Network Icons
- Weby icons
- PC Games icons
- 20+ High-Quality Free Magazine Style Blogger Templ...
- 25+ Awesome Collection of Grunge-Style Free Blogge...
- 52 Beautiful Blogger Templates Free To Use
- 36 Fresh and Beautiful Free Blogger Templates
- 29 Beautiful Blogger Templates
- 50 Most Beautiful Blogger Templates
- 35 Beautiful High Resolution WallPaper Collection
- Not a Patriot icons
- Rounded World Flags icons
- Country Flags icons
- Office Tools icons
- Pocket icons
- The Spherical icons
- Money icons
- Advanced Glow Effects
- Making a Message Strip in Photoshop
- Icey Styles in Photoshop
- Creating a Mac-Type Background in Photoshop
- Hazardous Red Background
- Transparent Glass Lettering in Photoshop
- Metallic Styles in Photoshop
- Plastic Jelly Styles
- Nike & Apple icons
- Art Toys icons
- Football Marks icons
- Playground icons
- Shiny Lockers icons
- Political Characters II icons
- Political Characters I icons
- Royal icons
- Persons icons
- Metal pins icons
- Animals Sigma Style icons
- Care Bears icons
- Animals Set icons
- Pool icons
- Dino icons
- Aesthetica Free Icon Set
- 40 Fresh Free Fonts To Enhance Your Designs
- Automatically Update Your Twitter And FaceBook Sta...
- Bugs icons
- Solving / Fixing The Undefined Date For blogger Ti...
- How To Add Images Gallery Widget With jQuery Hover...
- 3 Issues / Problems With new Blogger Read Me / Jum...
- Customize Blogger “Read More” / “Jump Breaks” Link...
- Adding Numbered Page Navigation Bar For Bloggero
- Share the love, Sharing And Bookmarking Widget For...
- Free “Follow Us” Twitter Badges for your Website
- Collection Of 46 Read More Buttons Free Download
- Add a Post Divider (Separator) Between Blogger (Bl...
- Add Back To Top Button To Your Blogger
- Add Multi-Color Effect For Your Links On Hover For...
- Add Mp3 player ( Music BackGround ) for blogger, +...
- Adding FaceBook Share button for blogger posts.
- Google Translate Flags Widget For Blogger
- How To Add Retweet Button To Blogger (Blogspot )
- Code To Hide Blogger Nav Bar And Have It Reappear ...
- Add Star ratings for blogger blogs.
- How to Add Free Live Chat to your Blogger
- Increase alexa traffic rank for blogger
- Add Static Follow Me Twitter Badge For Blogger.
- How To Add Top Navigation menu (Bar) To Blogger (b...
- Add contact us form to blogger
- animated “Duck Menu” in blogger
- How to add Moving text or Scrolling text or Marque...
- Disable right click on blogger blogspot
- How To Add Flash Animated Label Tags Cloud Widget ...
- The best 5 Easy Ways to Make Money from Blogger
- Adding favicon to blogspot
- Display Related Posts with Thumbnails In Blogger
- How To Add Recent Posts Widget And Recent Comments...
- How to buy custom domain for your blogspot blog vi...
- Embed Comment Box Below Posts
- Show Your Face, Display your Avatar / photo On Blo...
- How To Add Avatars To Custom Blogger Templates
- How To remove or hide Blogger Navbar
- Adding ” Read More ” to blogger Posts
- How to put google adsense block in the middle of t...
- 21 More Free Fonts to Enhance Your Designs
- 35 Latest High-Quality Free Fonts for Professional...
- 50 Free Handwritten Fonts for Web Designers and Lo...
- 35 Stunning Free Fonts To Enhance Your Designs
-
▼
February
(85)
3 comments:
linked here check out this site click for info click site next this website
you could try these out www.dolabuy.ru websites dolabuy ysl pop over to this web-site have a peek at this web-site
p6j68u8h64 e2b62n1x86 e4q96a3a55 m4f29c7n53 l9f95j2u64 r2b25d9m34
Post a Comment
sadasdasda