WordPress.org

Ready to get started?Download WordPress

Forums

Pinboard
Banner script nothing there (9 posts)

  1. Axiantor
    Member
    Posted 10 months ago #

    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

  2. Axiantor
    Member
    Posted 10 months ago #

    Hi,

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

    Many thanks

  3. Axiantor
    Member
    Posted 9 months ago #

    Hi,

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

    Many thanks

  4. WPyogi
    Volunteer Moderator
    Posted 9 months ago #

    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

  5. Axiantor
    Member
    Posted 9 months ago #

    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?

  6. Axiantor
    Member
    Posted 9 months ago #

    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.

  7. WPyogi
    Volunteer Moderator
    Posted 9 months ago #

    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.

  8. Axiantor
    Member
    Posted 9 months ago #

    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?

  9. hartmutnz
    Member
    Posted 8 months ago #

    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.

Reply

You must log in to post.

About this Theme

About this Topic