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
  • #168056

    Hey guys,

    I’ve made a working codepen here:

    And I want to put the javascript and HTML into my self-hosted wordpress website (, 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.