Forums

Adding Google Adsence (3 posts)

  1. frontdesk500
    Member
    Posted 1 year ago #

    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

  2. alchymyth
    The Sweeper
    Posted 1 year ago #

    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.

  3. Michael
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic