468*60 banners – suggestion for placement option

Forums Forums SwiftThemes Bug report and suggestions. 468*60 banners – suggestion for placement option

This topic contains 5 replies, has 2 voices, and was last updated by  mishmosh 10 years, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #15089

    mishmosh
    Spectator

    Hi,

    I really like swift themes, but….. most of my potential advertisers favor 468*60 banners. And there isn’t a place to put more than just a few on the website using swift themes (header, below menu, top of single post, bottom of single post).

    Is there an easy way to change the code so that a banner can be added between the post excerpts using magazine style?
    To explain – there are 3 posts in one row, 3 in the next etc. After the first 3 I would like 1 banner. After the next 3 I would like a different banner…

    Is there a simple way of changing the php to do this?

    #18330

    Satish Gandham
    Keymaster

    add this code in swift/layouts/mag-loop.php after

    Code:
    < ?php if(($count-)%3==0) {?>
    adcode here
    < ?php }?>
    #18333

    mishmosh
    Spectator

    Hi Satish,

    Thanks so much for your speedy reply!

    I tried the code above, but got an error message about an extra )

    Can you please have a look at the code above to check if its ok.

    Thank you!

    #18331

    Satish Gandham
    Keymaster

    use this code

    Code:
    < ?php if(($count-1)%3==0) {?>
    adcode here
    < ?php }?>
    #18334

    mishmosh
    Spectator

    THANK YOU!!!!!

    When I start making a profit I’ll buy u 3 coffees!

    #18332

    Satish Gandham
    Keymaster

    Thanks,
    do share some blogging tips and participate in discussion if you have time
    http://swiftthemes.com/forums/forumdisplay.php?6-Blogging

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

You must be logged in to reply to this topic.