• Hi,

    I’m trying to add to apge this banner script

    <div id="_TC_PB_BANNER"></div>
    <script type="text/javascript">// <![CDATA[
    _TRIPLECLICKS_PB_BANNER_URL="http://www.tripleclicks.com/pbBanner.php?sfiid=/12779600&view=T&curr=USD";
    // ]]></script>
    <script type="text/javascript" src="http://www.tripleclicks.com/common/pbBanner.js"></script>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    But nothing appears.

    Do i have to put code in the head header.php and on the page?

    Many thanks in advance

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Axiantor

    (@axiantor)

    Hi,

    Sorry i got no replies. Can anyone help me with this script.

    Many thanks

    Thread Starter Axiantor

    (@axiantor)

    Hi,

    Can anyone help me with this one. Maybe i’m doing something wrong with this post as nobody replied.

    Many thanks

    No, it just means that the theme developer is not supporting the theme very well and volunteers here are fewer than the questions asked or that no one knows the answer.

    Do you have a child theme set up? That’s the first step – as changing theme files is not recommended – your changes will be lost when the theme is updated.

    http://codex.wordpress.org/Child_Themes

    Then see:

    http://codex.wordpress.org/Using_Javascript

    Thread Starter Axiantor

    (@axiantor)

    Thanks WPyogi.

    At first i started to changed the files. Then i switched to a childs theme by copying the change files, most page templates and the header.
    did i mess thinks up?

    Thread Starter Axiantor

    (@axiantor)

    Add info:

    The childs theme seems to work nicely. I had to redo the widgets, dont know why.

    I also copied the functions.php to the childs directory.

    I also copied the functions.php to the childs directory.

    You should not copy the entire functions file to a child theme – it generally causes MAJOR problems – please reread the article above.

    Thread Starter Axiantor

    (@axiantor)

    Ok. I think i got this. In childs theme both functions php will run as the childs runs first.

    I check my two functions.php and they have the same size and line lenght.

    Saw i dont need the functions.php in the child directory as there’s no deiferrent from the original. It had a modified date as i tried to add a fucntion some where in time before i created the child.

    Can i have a fucntion.php in the child directory empty and ready to receive new functions?

    Hi, I think first you need to check the banner script. Get a fresh copy of it.
    Step 2:
    When you paste the code into a PAGE, fist select the TEXT button on the top right.
    Then paste your code and save the page.
    If you paste it into the VISUAL editor, it will add things like <P> or double ]] etc.. which makes your script NOT work.
    For a heade script I would use the header widget , in Pinboard there is a Header Sidebar area where you can place a text widget, then add the code within the text widget.
    See how that works..
    You don’t need to mess with the PHP pages at all… for this to work.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Banner script nothing there’ is closed to new replies.