Forums

Installing xtra javascript (1 post)

  1. locbtran
    Member
    Posted 1 year ago #

    I would like to incorporate some javascript into my wordpress site. I ftp it into wp-admin folder, so the directory looks something like this:
    wp-admin/work/myfile.js
    I hope this is correct.

    To call the javascript, it needs to be in the <head></head> but I can not find it anywhere in the header.php

    Also, not sure if my syntax is correct:
    <script language="javascript" src="work/myfile.js" type="text/javascript"></script>

    Any comments or suggestions would be greatly appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags