an
groups-icon

Adding Code to Header Banner Area

Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
  • Version 9
    Jamie Sparks
    0 points
    Beginner

    Hi,

    I am using Shopperpress 7.1.4 and I am trying to make the banner ads in the top right of the header rotate. I have used this code on another install of an earlier version of Shopperpress and had no issues, but wherever I place the code it is either in the wrong position or it breaks the site.

    The code is this: <?php if (function_exists(‘dfrads’)) { echo dfrads(‘9798917’); } ?>

    And the section I have found ion the header.php file that relates to the banner placement is this:

    <div class=”left” id=”banner”>

    ‘.premiumpress_banner(“top”,true).’

    </div>

    </div> <!– end header w_960 –>

    <div class=”clearfix”></div>

    </div> <!– end header –>’;

    } ?>

    No matter where I put the code in this block it either appears in the wrong place or breaks the site. I know the code works as I have had rotating banners working everywhere other than in the banner section.

    Am I putting this code in the right place? I just want my rotating banners to replace the one banner that you are usually given.

    Any help is greatly appreciated.

    Thanks,

    Jamie

    August 12, 2014 at 10:49 am
  • Jamie Sparks
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    August 13, 2014 at 1:50 pm

494

Views

1

Replies