WordPress.org

Support

Support » How-To and Troubleshooting » How to insert javascript

How to insert javascript

  • Hello,
    How and where would I insert javascript in the sidebar? I want to use gooogle adsense in my blog.
    Would I put the code between <div></div>tags?
    Are there any other tags I should include?
    Using WP 1.5
    Thanks,
    Steve

Viewing 2 replies - 1 through 2 (of 2 total)
  • After your </div> tag would work. No other tags would be needed that i can think of. =)

    Can we include new codeline in the next release of WordPress?

    <?php bloginfo(‘javascript_url’); ?>

    And the default javascript name is “javascript.js” or “script.js”

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to insert javascript’ is closed to new replies.