I am confused about how to implement the default
AdSense-Deluxe code into my template. The plugin instructions state this:
<<If you want to use the ads defined in Adsense-Deluxe within your WordPress templates, place the following code where you want the ads to appear:
<?php adsense_deluxe_ads(‘Ad_Name’); ?>.
Calling that PHP function without a parameter will return the default ad unit.>>
I have 2 questions:
1. Do I put the code in the index, the archive and/or
the single post template? I want the ads to appear at the bottom of every blog post.
2. What EXACTLY do I put in the template(s)?
My block is this:
Default Name <!–adsense–>
Description: Blog post 2 ads, horizontal, 468×60
banner, EBI v2.0 color palette
Do I put this in the template?
<?php adsense_deluxe_ads(); ?>
(I tried this and the ads aren’t showing up. I know I must have something wrong.)
- The topic ‘Default AdSense Deluxe Code in Template’ is closed to new replies.