How do you add a JavaScript widget to a WordPress.com hosted blog?
-
I’ve got a site that provides blog-friendly widgets via JavaScript. These work fine in most circumstances, including self-hosted WordPress blogs. With blogs hosted at WordPress.com, however, JavaScript isn’t allowed in sidebar text modules. Has anyone seen a workaround for this limitation?
-
That code will not work because we do not allow certain tags on WordPress.com, for security reasons, including JavaScript, Flash, iframe, form, and input tags.
These restrictions are in place to prevent any disruptions in service due to potentially malicious code.
You can read more about this here:
- The topic ‘How do you add a JavaScript widget to a WordPress.com hosted blog?’ is closed to new replies.