The Way of the Master

Add Google Adsense code to Wordpress template header

Just a quick tutorial on how to add the Google Adsense code to your Wordpress template in the header section using the Adsense-Deluxe plugin.

  1. Once you download and install the Adsense plugin and activate it in Wordpress, click on “Options” then “AdsenseDeluxe”. First step to adding Adsense code to Wordpress header using the template
  2. Scroll down to the section “New Adsense Block”. Type in a new name such as “header”. Paste your adsense code (usually 720×90 fomat). Add in an optional description. Click the “Add Adsense Block” button. Second step to adding Adsense code to Wordpress header using the template
  3. Navigate to “Presentation” then “Theme Editor” then click on the “header” file which the link on the bottom right in the right column. Third step to adding Adsense code to Wordpress header using the template
  4. Scroll down to the bottom of the “header” file then add in the following code before the horizontal tag which was the second last line in the Wordpress default (i.e. Kubrick) template:
    <div id="center">< ?php adsense_deluxe_ads('header'); ?></div>

    If you named your Adsense Block in step two above to something other than “header” than change the name in the code. Fourth step to adding Adsense code to Wordpress header using the template

BlinkBits | BlinkList | del.icio.us | Digg it | Earthlink | FeedMarker | Flog this! | Furl | iFeedReaders | ma.gnolia | Maple.nu | Netvouz | Netscape | Newsvine | Onlywire | RawSugar | reddit | Scuttle | Shadows | Simpy | Spurl | StumbleUpon | tagtooga | TalkDigger | Wink | Yahoo MyWeb | Diigo |

Harvest for Christ

Leave a Reply

You must be logged in to post a comment.