I have an adsense account; when I write a post, add the code, but when I published the post, the code disappears. Why is that?
As Zwitterion said, if you are using the WordPress site to host your blog then you will not be able to use AdSense, or a number of other advertising sources for that matter. Only if you have your own top-level domain can you use WordPress and ad AdSense to it.
wordpress doest alows adsense ads.But if u r using your own domain name and hosting server and is using wordpress blogging script on it,then u can easily add adsense ads.Just paste the ads in some text widgets and place the widgets in the sidebar positions.