Title: Using shortcode to plug javascript into widget not working
Last modified: August 22, 2016

---

# Using shortcode to plug javascript into widget not working

 *  Resolved [flotsam2000](https://wordpress.org/support/users/flotsam2000/)
 * (@flotsam2000)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/using-shortcode-to-plug-javascript-into-widget-not-working/)
 * I’m using the shortocode [ecp code=”Seth_Featured”] which should have this code`
   <script type="text/javascript" src="http://www.reliancenetwork.com/widgets/?file
   =featuredproperties&token=TW95QjVI&carousel=true&viewall=true"></script>`
 * In the top left widget on my sidebar at i-portlandrealestate.com
 * Doesn’t appear to be working
 * [https://wordpress.org/plugins/easy-code-placement/](https://wordpress.org/plugins/easy-code-placement/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [wassereimer](https://wordpress.org/support/users/wassereimer/)
 * (@wassereimer)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/using-shortcode-to-plug-javascript-into-widget-not-working/#post-5782736)
 * I don´t know where exactly the problem is. I fixed in the new version two problems,
   but i don´t know if they causes this problem.
 * If i use this simple javascript:
 * <script type=”text/javascript”>
    document.write(‘Hello World’); </script>
 * it works.
 * Sorry for this certainly not satisfactory answer.

Viewing 1 replies (of 1 total)

The topic ‘Using shortcode to plug javascript into widget not working’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/easy-code-placement_d8d8d8.svg)
 * [Easy Code Placement](https://wordpress.org/plugins/easy-code-placement/)
 * [Support Threads](https://wordpress.org/support/plugin/easy-code-placement/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-code-placement/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-code-placement/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-code-placement/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [wassereimer](https://wordpress.org/support/users/wassereimer/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/using-shortcode-to-plug-javascript-into-widget-not-working/#post-5782736)
 * Status: resolved