WordPress.org

Ready to get started?Download WordPress

Forums

How to insert javascript (3 posts)

  1. senlow
    Member
    Posted 9 years ago #

    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

  2. Java
    Member
    Posted 9 years ago #

    After your </div> tag would work. No other tags would be needed that i can think of. =)

  3. wpwork
    Member
    Posted 9 years ago #

    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"

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.