While ago I was playing around with inserting Adsense ads not somewhere floating before or after the content but in it.
hacked programmed some code together which inserts Adsense after the xth paragraph.
Someone asked for something just like this so I thought I would throw this out there.
When I used it I used it as a function in functions.php; I prefer to keep most of my stuff there vs. running plugins. I’m releasing the code in plugin form though.
Usual applies: no warranties, no promises, if it’s broke it’s your problem, yadah yadah.
Download the file below by right-clicking on the link and Save As…
Open the file and insert your Adsense code in the $adsense variable.
Rename the file from .txt to .php, upload to your plugin folder and activate.
Alternatively you can add the
function to the functions file in your template folder. If that makes no sense or raises more questions, you’re better off with the plugin option :)