WordPress.org

Forums

how can i add java script into a post/page? (2 posts)

  1. PsYcHo jEsTeR
    Member
    Posted 3 years ago #

    I need to place this script into a page, before the closing head tag, and i know this isnt possible because wp restricts on editing the html file or something, is there other way i could insert this script into the page or something? so that it could be detected... please help

    <script type="text/javascript" src="js/mobile-switcher.js"></script>

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Scroll to the top of this page, insert the word "Javascript" into the search box on the top right, click "Go" and then try the first link in the subsequent page of results.

Topic Closed

This topic has been closed to new replies.

About this Topic