Inserting Adsense Code on Wordpress Posting Editor
Posted in WordpressOn Thursday, September 7, 2006
I found many website embed the google adsense ads into their article (post area). I try to figur out how they did that. After learning their html code, I found that inserting adsense code into wordpress post entry is very easy and straight-forward: Simply copy and paste your adsense script to wordpress editor. Yes, it is very simple.
For example, see http://earthsync.net/optical-illusions/optical-illusion-broken-ring.html. I wrote that using wordpress editor as follows:
…to be bent, but sighting along the rule from one end will show that it is perfectly straight.
![]()
<p align="center">
<a href="images/broken-ring.gif">
<img src="images/broken-ring.gif" width="200" alt="Optical Illusion: Broken Ring?" />
</a>
<br />
<img src="images/img-line.gif" alt="-" width="200" />
</p>
<p align="center">
<script type="text/javascript"><!–
google_ad_client = "pub-xxxxxxxxxxxxxxx";
google_alternate_color = "ffffFF";
google_ad_width = 234;
google_ad_height = 60;
google_ad_format = "234×60_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_url = "000000";
google_color_text = "000000";
//–></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br />
<small><i>
Optical Illusion: Broken Ring?
</i></small>
</p>The brass rings also appear distorted. The portions on one side of the rule do not appear to be…
Inserting Adsense Code on Wordpress Posting Editor
Note:
My wordpress Oprion-Writing setup:
- Users should use the visual rich editor by default
- Convert emoticons like :-) and :-P to graphics on display
- WordPress should correct invalidly nested XHTML automatically
…all are unchecked (not active).
Possible Related Entries:
![[EarthSync roll-b]](images/roll/roll-b-6.gif)












