How to add js code to all/specific pages
-
Hi
I am new to WordPress.com and looking to add javascript code (all / specific page) for my website. Can you suggest if is is possible to do so and how?
I found a old posting on forum (from 2008) which says WP does not allow js code due to security concerns. Not sure if that is still true and if there are any way I can do so (using a plugin or otherwise).thanks in advance.
RachnaThe blog I need help with is: (visible only to logged in users)
-
Howdy Rachna,
The restrictions regarding adding custom Javascript code haven’t changed.
WordPress.com only allows a limited set of code for security reasons. To learn more about what code is allowed at WordPress.com, click here.
If you need to use custom Javascript code, you’ll have to move to a self-hosted WordPress.org blog. To learn more about the differences, check out this article here.
Let me know if you have any other questions.
~Chris
- The topic ‘How to add js code to all/specific pages’ is closed to new replies.