print $content I am having an issue with Adsense that seems pretty common at the moment but due to my lack of programming skills I need to ask a question.
I put the adsense code into my node.tpl.php file so that it renders on 3 times on the main page and below each page under the content area. It is my understanding that Google has changed how they are rendering the adsense iframes and thus on my main page I now have 6 adsense areas, 3 of them have ads and 3 are blank.
Here is my node.tpl.php file:
if ($page == 0):
print $node_url " rel="bookmark" title="Permanent Link to print $title "> print $title
endif;
print $submitted
if ($links):
endif;
Does anyone have a suggestion or know how I could modify this code so that it only displays the adsense script 3 times? I have looked at a few of the adsense modules and they have limitations in where adsense can be placed, currently I like where i have adsense showing. It is just broken with the most recent Google update.
Thank you,
Keto
Comments
follow up.
Sorry about the prior post, here is the code I was referring to: