Support » Fixing WordPress » Coding question for dynamic sidebar – where to place script code

  • Hi guys

    In the sidebar.php I have some code from the theme like this:

    ———————————————————————-

    <div id=”siderail”>

    <div id=”sidebar1″>
    <div class=”sidebar-group” id=”sidebar”>

    <?php if (function_exists(‘dynamic_sidebar’) && dynamic_sidebar(1) ): else : ?>

    <!–sidebox start –>

    ———————————————————————-

    Then the code for the default sidebar starts.

    The thing is, I have a ‘dynamic sidebar’ i.e. I am using widgets but I want to place some script to display at the bottom of my dynamic sidebar.

    Any ideas where about I physically place the script code in the above?

    p.s. the script is for my Google Adsense

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Coding question for dynamic sidebar – where to place script code’ is closed to new replies.