• Hi,

    Can anyone explain how to add the Adsence banner codes
    into the theme.
    I saw that the same question was asked 9 months ago,
    but couldn’t find an answer posted

    Any help would be appreciated

Viewing 2 replies - 1 through 2 (of 2 total)
  • just downloaded the theme to have a look:

    it has three files:
    ad1.php
    ad2.php
    ad3.php
    which you need to edit (dashboard – appearance – editor).

    replace this line <img src="<?php bloginfo('template_url')?>/images/ad.png" alt="" /> in each of these files with your respective adsense code, which you get from your gogle account.

    ad1 and ad3 is for a ‘468 x 60’ banner; ad2 is for a ‘336 x 280’ banner.

    The files that contain URLs for the three ads are:

    Top ad Page Template (ad1.php)

    Sidebar ad Page Template (ad2.php)

    Post ad Page Template (ad3.php)

    Michael

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding Google Adsence’ is closed to new replies.