I have pieced together code from two different tuturials and some forums to be able to put google adsense code inside the post loop for a multi author site.
On my test site at http://test.thesingleparentperspective.com/take-time-to-praise-your-child/ you can see the ad is showing in the post.
I created a custom field in the user profile for the publisher id code and it is called in the above code.
Now, the ad is showing fine but by looking in the chrome browser inspect element feature (don't know what it is called just somewhat know how to use it) I can not tell if it is displaying the right publisher id for the right author as it is only showing the actual code
My request is if someone could verify that this code is good and safe.
Please keep in mind that I am teaching myself how to write code. While I am very far from being able to write my own code I'm getting somewhat good at disecting other's code and manipulating for what I need.
Any constructive critisism is appreciated.