Title: Theme does not allow JavaScript to be executed
Last modified: August 30, 2016

---

# Theme does not allow JavaScript to be executed

 *  [micniel84](https://wordpress.org/support/users/micniel84/)
 * (@micniel84)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/theme-does-not-allow-javascript-to-be-executed/)
 * I’m running WordPress 4.2.2 with the theme Curio: [http://themeforest.net/item/curio-clean-creative-website-template/503953](http://themeforest.net/item/curio-clean-creative-website-template/503953)
 * On this template I’m allowed to have JavaScript directly typed into my code editor
   on regular pages.
    However, when I switch to another theme – any standard WordPress
   theme – the JavaScript is not executed and every line in the code is appended
   with <p>…</p>.
 * Can I somehow allow the JavaScript to be accepted on the standard WordPress themes
   as well?
 * I know this is not “good” behaviour but I need to switch theme and cannot create
   plugins or other for the JavaScript code.

The topic ‘Theme does not allow JavaScript to be executed’ is closed to new replies.

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 0 replies
 * 1 participant
 * Last reply from: [micniel84](https://wordpress.org/support/users/micniel84/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/theme-does-not-allow-javascript-to-be-executed/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
