javascript in WP
-
hello –
i suspect this topic has been beat to death, but since the search terms are so common its not easy to find.
when i insert JScript into WP, i switch the editor from “Visual” to “Text” and code away, no problem.
however, when i switch back to “Visual” all my line-breaks, etc, all the pretty stuff has disappeared and my jScript is now merged into one line. (not sure quite what happens to double-slash in-line comments “//”
so, what is the EASIEST way to include jScript in a page and not loose my line-break readability? this only needs to go into just one page.
i see there is a jScript “insert” option, but i figure since its only one page, i would rather keep it there if possible (and its easier)
is there a recommended plug-in that has jScript insertion?
- The topic ‘javascript in WP’ is closed to new replies.