Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How to include javascript in WordPress post?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #168056
    npav
    Participant

    Hey guys,

    I’ve made a working codepen here: http://codepen.io/npav/pen/elafn

    And I want to put the javascript and HTML into my self-hosted wordpress website (toastdispatch.com), I’ve tried hosting the .js file on dropbox and putting a <script> in the top of the post in the text tab, as well as including the entire javascript in the post itself with a <script type=”text/javascript”> tag. Neither have had any effect on the HTML which was also included and showing up correctly in the post.

    Anyone know how to get the contents of that codepen into a wordpress post or page? Thanks!

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.