Support » Theme: Annotum Base » Problems using Javascript in posts

  • Resolved solid7

    (@solid7)


    I am able to do simple things in the body of a post, like call alert boxes. But anything more complex than that fails. I have tried a plain HTML version on my webhost, calling the javascript, and it works fine. But in my Annotum theme posts, code doesn’t work.

    Please help.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Can you put JavaScript in text widgets? The theme definitely strips script from articles, but it doesn’t surprise me if this happens with ordinary posts as well.

    solid7

    (@solid7)

    How can I defeat that limitation?

    I’m not sure if I can use JS in widgets or not. Got something that I can test?

    Thanks for your reply.

    Theme Author annotum

    (@annotum)

    Can you try this?

    http://codex.wordpress.org/Using_Javascript#JavaScript_in_Posts

    I am pretty certain this will not work in articles, but it should work in posts.

    solid7

    (@solid7)

    Thanks, annotum. That was the very first thing I tried. No luck. 🙁

    solid7

    (@solid7)

    UPDATE: Got it all figured out. Calling externally is the ticket. There must have been some other error that I didn’t pick up on before.

    Thank you for all of your help.

    Theme Author annotum

    (@annotum)

    Cool – glad it is working for you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problems using Javascript in posts’ is closed to new replies.