Title: Code not being wrapped in script tags
Last modified: August 31, 2016

---

# Code not being wrapped in script tags

 *  Resolved [Uzuki_Gems](https://wordpress.org/support/users/uzuki_gems/)
 * (@uzuki_gems)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/code-not-being-wrapped-in-script-tags/)
 * When I create a JS code block, it is added to the page without any tags. So it
   is being displayed at the bottom of the page rather than being executed.
 * [http://newdeco.wpengine.com/](http://newdeco.wpengine.com/)
 * I am using a different plugin for JS in the meantime. So there will be JS executing
   on the page, but there is a “console.log()” statement at the very bottom of the
   page below the footer on the home page.
 * [https://wordpress.org/plugins/css-javascript-toolbox/](https://wordpress.org/plugins/css-javascript-toolbox/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [wipeoutmedia](https://wordpress.org/support/users/wipeoutmedia/)
 * (@wipeoutmedia)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/code-not-being-wrapped-in-script-tags/#post-6962289)
 * Hi Uzuki_Gems,
 * I apologise for the delay in getting back to you as I have been on holidays during
   the past fortnight.
 * I realised you sent an email with further details. I have since replied so keep
   an eye out for it.
 * Regards,
    Damian Baker
 *  [Code Machine](https://wordpress.org/support/users/xpointer/)
 * (@xpointer)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/code-not-being-wrapped-in-script-tags/#post-6962290)
 * 1. On the Code Block Toolbox Bar, click on “Master” beside “block name”.
    2. 
   A list would be displayed, get the mouse over Master item and click Edit. 3. 
   For Type field select “Javascript”.
 * This should auto-wrap code with Script Tag.
 * screen shot: [http://screencast.com/t/5eQUl6SGva](http://screencast.com/t/5eQUl6SGva)
 * Hope that helps.
 * Regards,
    AHMeD

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Code not being wrapped in script tags’ is closed to new replies.

 * ![](https://ps.w.org/css-javascript-toolbox/assets/icon-256x256.gif?rev=3132209)
 * [CSS & JavaScript Toolbox](https://wordpress.org/plugins/css-javascript-toolbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/css-javascript-toolbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/css-javascript-toolbox/)
 * [Active Topics](https://wordpress.org/support/plugin/css-javascript-toolbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/css-javascript-toolbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/css-javascript-toolbox/reviews/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [Code Machine](https://wordpress.org/support/users/xpointer/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/code-not-being-wrapped-in-script-tags/#post-6962290)
 * Status: resolved