Support » Fixing WordPress » WordPress doesnt display adsense properly in posts

  • Ok I start a post and insert my adsense code, it should display correct it doesnt.

    It seems wordpress in posts doesnt work with javascript or adsense WHY?

    seems like a simple thing to make work.. but it doesnt..

Viewing 2 replies - 1 through 2 (of 2 total)
  • If your WordPress blog is hosted at, you cannot insert adsense code into your posts.

    If your blog is hosted at your Web site, you add the adsense HTML in one of the theme pages, such as index.php, sidebar.php, or header.php. From the Admin Panel, go to Presentation-Theme Editor. Insert your Adsense code outside of the WordPress tags. You only need to do this once and it works for all posts. This is far better than having to add the Adsense code for every post, which won’t work anyway because WordPress reformats your entry to make it conform to HTML standards.

    There’s a nice article at that illustrates how to place adsense code after, say, 3 posts.

    Another option is to use a WordPress plugin. A number of these exist – I use Adsense Deluxe. There are quite a few others. With a plugin, you can control where and when you place adsense code. In addition, (most of the time) the plugin does not change the code for the theme, which is a Good Thing. Check out the WordPress plugin database for others.

    PRoblem with that is that.. if i want to inser just a random bit of HTML to display a FLASH PLAYER.. I only want it in 1 post. I dont want it in every post

    how do i do that

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress doesnt display adsense properly in posts’ is closed to new replies.