Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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, G. M., Johannes Pille Aug 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.

3 Answers 3

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.