How do you put one JavaScript in Wordpress for post and page?



  • Turns into Wordpress (I have version 3.6) by simple action, preferably from the post editor, to include one JavaScript function for one page.

    Please share your experience.



  • In the post editor in textual mode Gate may be inserted script "whatever it is." So you just put your code in the post editing field:

    <script type="text/javascript">
    function funcName(){...}
    </script>
    

    or

    <script type="text/javascript" src="ссылка_на_файл_с_функцией"></script>
    



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2