
Aslaam o Alaikum dosto. aaj ki es post me hum adsene ads ko post k title ke peche article k ooper neeche aor darmiyaan me lagana sekhenge wese tou ye bhut se blogs p all ready mojood hen tareke kaa but me ne ese aasaan tareke se lagane ki koshish ki he taa k he ek pakistani and indian ko samjh me aajae aor internationally bhi tou aa e start karte hen.
Put Adsense Below Post Tile
- Login to Blogger > Dashborad
- Click on Drop Down Menu and select Template
- Backup your Template before making any changes to your blog
- Now Click on Edit HTML
- Press Ctrl + F and search the code shown below.
<data:post.body/>
Now Paste the Code Shown Below just above/before it
Show Adsense in Left Side
If you want to show your Google Adsense ad below post tile in blogger in the left side then copy the code shown below
<div style="float: left; margin: 10px 10px 10px 0;">
YOUR ADSENSE CODE HERE
</div>
Show Adsense in Right Side
If you want to show your Google Adsense ad below post tile in blogger in the right side then copy the code shown below
<div style="float: right; margin: 10px 0px 10px 10px;">
YOUR ADSENSE CODE HERE
</div>
Show Adsense in Center
If you want to show your Google Adsense ad below post tile in blogger in the center then copy the below code
<div style="text-align: center; margin: 10px 0 10px 0;">
YOUR ADSENSE CODE HERE
</div>
You Have to first Convert the Adsense Code into the Compartible Form
Make Changes....!
Replace YOUR ADSENSE CODE HERE with your converted code.
Add Adsense in the Middle of the Post
Login to Blogger > Dashborad
Click on Drop Down Menu and select Template
Backup your Template before making any changes to your blog
Now Click on Edit HTML > Proceed > Expand Widget Templates
Press Ctrl + F and search the code shown below.
<data:post.body/>
You will find two times <data:post.body/> code and You have to Replace it With the Second One
Now replace that code with below code.
<div expr:id='"aim1" + data:post.id'/>
<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 t=s.substr(0,s.length/2);var r=t.lastIndexOf("");if(r>0){obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+1)}
</script>
You Have to first Convert the Adsense Code into the Compartible Form
Convert Your Adsense Code
Now just replace Your Adsense Code Here with your Own Asense Codes.
Now Save Your template.
Now all work is done, If Any Problem Comes, Ask in Comments
0 comments:
Post a Comment