HTML code disappearing

  • Unknown's avatar

    I want to add a home search widget that directs back to another site. The HTML code is: <script src=”http://www.kentleerealty.com/webcapture/type/mediumrectangle/” type=”text/javascript”></script>
    I pasted it in under the text widget, but when I save it, it just disappears. I know some stuff is not allowed, but I have used this code on 2 other wordpress blogs with no issues.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there,

    Javascript isn’t allowed here at WordPress.com, for security reasons. You can read more about that here: Code

    If you’ve used this code on WordPress blogs before, they were self-hosted blogs using the free WordPress.org software rather than blogs hosted here at WordPress.com. You can find out more about the differences here: WordPress.com and WordPress.org

    If you’d like to direct from a WordPress.com blog to another site, I’d recommend creating a link in a text widget directly to the search page on that site. Please let me know if I can provide any further help with that. :)

  • The topic ‘HTML code disappearing’ is closed to new replies.