WordPress.org

Forums

Javascript placed in header.php file isn't referenced (1 post)

  1. dyakub
    Member
    Posted 5 years ago #

    I placed some javascript/ jQuery into header.php and the script isn't being referenced at all. The html output doesn't contain this code anywhere. Its weird because all the other Javascript in the header file works and is displayed in the page source. The script I placed in there did not work nor was it displayed in the html source. How else will I get this script in the "<head>" section if it can't refer to the script in the header file? I've already checked the syntax and its completely fine. This may be a wordpress issue.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.