WordPress.org

Ready to get started?Download WordPress

Forums

Adding javascript to pages (1 post)

  1. shidouhikari
    Member
    Posted 4 years ago #

    For adding external .js files, we use wp_enqueue_script()

    And for adding inline code, directly to the page? Should we use wp-footer action, or is there a specific hook for this situation?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.