How do I insert Adsense tags inside WordPress posts?
Posted by webstuffscan on July 12th, 2007
You can easily add Adsense units to a WordPress blog by editing the template files. But the problem with this approach is that you will not get any control on the individual posts. For example, sometimes you may need a referral ad to be inserted in a specific post.
Now if you directly insert Adsense tags in your post, you will find that they are changed to garbage by tinyMCE editor. Even if you turn off tinyMCE, Adsense units won’t work! This is due to the post content processing by filters.
There are numerous Adsense plugins for WordPress available out there which lets you add Adsense units inside a post. But in this post, I will look at a different plugin. It is called “Script Enabler”. This plugin allows you to embedd script tags inside a post by disabling filter processing on script tags. The advantage here is that after enabling this plugin, you can simply copy paste the Adsense ad unit code into your post!
Related Stuff
- Replacing Wordpress search with Google search and adsense
- Must have Wordpress plugin - Related entries(posts)
- How do I create an Icon for my Web page?
- Google Adsense team in India
- Wordpress 2.1 upgrade and issues with themes

July 13th, 2007 at 1:34 am
[...] Read more from the original source: webstuffscan Filed in Advertisers [...]