Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    You can’t put javascripts inside posts, by default.

    Try my little plugin: http://ottodestruct.com/wpstuff/scriptenabler.zip

    It will let your scripts inside the posts work. You may have to edit and save the post again after activating the plugin.

    Also, you will need to disable the rich editor by going to the bottom of your Users page, so that the editor itself doesn’t hork up your script.

    Thread Starter ju1ie

    (@ju1ie)

    Thanks for the fast reply! Thanks for the plugin too. I will let ya know if it works or not. 🙂 Thanks, again! 🙂

    PS. I installed the plugin but the javascripts don’t seem to be working inside the pages. I have the rich text thingy disabled.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    The plugin is not perfect. Remove any extraneous blank lines, for starters. I need to work on this plugin a bit more to get all cases.

    Dear Otto42,

    I have try your plug in doing like you said but the Javascript (a kelkoo banner) does ‘t appear on the post as well. Any other idea ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Javascript troubles inside posts…’ is closed to new replies.