WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've tried a bunch of AdSense plugins but I can't seem to make any work. Can someone recommend something that is known to work?

My requirements are simple: display an ad under the header.

share|improve this question

closed as off-topic by Pieter Goosen, ialocin, birgire, gmazzap, Johannes Pille Aug 14 '14 at 15:53

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 4 down vote accepted

If your requirements end at "display an ad under the header" then just open up your theme's header.php file and paste your adsense code there directly and avoid using a plugin all together.

share|improve this answer

I use Advertising Manager on my site for AdSense and haven't had any problems with it. It has a useful import feature where you just paste your AdSense code and it will automatically configure the appropriate ad settings.

To insert an ad into the header using Advertising manager, you could simply edit your theme and use the following code:

<?php advman_ad('YOUR-ADVERTISMENT-NAME'); ?>

Advertising Manager also offers a drop-down selector for inserting ads into posts and a sidebar widget.

share|improve this answer

I recommend Adsense for Wordpress

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.