Now that you have learned how to place adsense ads in between your blog posts some of you may want to show adsense ads only on blog homepage or blog post page only. Here is a easy trick to do this.
Go to Dashboard > Layout > Edit HTML > Expand Widget Templates.
Go to Dashboard > Layout > Edit HTML > Expand Widget Templates.
To show ads on homepage only,
If you want to add your ads after post title but only show in homepage
Show ads on blog posts only, modify your code like this :
UPDATE
Here is another solution I found
Get your adsense code and paste it to Notepad. Now remove the line breaks and comments from the Adsense code. Do not modify the ad script. It should look like:
Now add this code using this code.
If you want to add your ads after post title but only show in homepage
Show ads on blog posts only, modify your code like this :
Here is another solution I found
Get your adsense code and paste it to Notepad. Now remove the line breaks and comments from the Adsense code. Do not modify the ad script. It should look like:
Now add this code using this code.
No comments:
Post a Comment