I'm running a site with multiple content-heavy pages and have started putting adsense up. The site is running w/ wordpress as the CMS of sorts, and I want to have the AS code in the templates (not per post). I've messed with some WP plugins but didn't find any that did what I wanted. So I want to be able to dynamically insert the channel code based on a parameter I pass in the URL. I'll just do it with the $_GET[channel] in PHP. My question: 1) will this work? (I'm not sure which events happen when, does AS load and then the php, or does the php load first?) and 2) I read the TOS and they say you should alter the code, but should paste it directly from a website. That really makes an otherwise simple task rather tedious. Thoughts?