Theme Support Forum

Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums

Viewing 4 posts - 1 through 4 (of 4 total)

Ads implementation

Home Forums Free Theme Support Triton Lite Ads implementation

  • #62292

    Alex

    Hi ,
    I am trying to implement some ads on this website (http://blogdestil.ro), and i am having trouble finding the right side to place 160×600 sky on the home page , also i am trying to find how to implement a rectangle box in a fix position on the home page.

    I think that because of the current configuration this is not possible, But i want to ask you if this is possible or not just to make sure .

    Inside the articles , all is ok, just on homepage i am having this problem

    #63902

    Towfiq I.

    administrator

    I think you should consider 600px x 160px ad.

    and you want to ad a text box under the posts?

    #66521

    alex

    not under, but besides them , like the 3 columns of articles , then like a forth the ad box . or if the template dos not allow me to do it , maybe first place on the 3rd column
    And i can only add 728x 300 and 160, only formats i receive ads on, they dont have banners made for 600×160

    thank you

    #67774

    Towfiq I.

    administrator

    Open up layout1.php and add this line:

    <?php $count = 1; ?>

    before this:

    <?php if(have_posts()): ?><?php while(have_posts()): ?><?php the_post(); ?>

    then, find this:

    <?php endwhile; ?>

    and after it, add this line:

    <?php if ($count == 1) : ?>
    <div class="hentry post">
    
    YOUR GOOGLE ADSENSE CODE HERE
    
    </div>
    <?php endif; $count++; ?>