Title: Can&#8217;t add Javascript text
Last modified: March 31, 2019

---

# Can’t add Javascript text

 *  Resolved [yolandal](https://wordpress.org/support/users/yolandal/)
 * (@yolandal)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/cant-add-javascript-text/)
 * Hi there, I would like to add this code to every post by using the javascript
   code, but it doesn’t work.
    What am I doing wrong?
 * <script>[su_button url=”[https://www.neuropathie.nu/&#8221](https://www.neuropathie.nu/&#8221);
   target=”blank” style=”flat” background=”#008FCB” color=”#ffffff” size=”5″ wide
   =”yes” center=”yes” radius=”0″ icon=”icon: phone” icon_color=”#ffffff” text_shadow
   =”0px 0px 0px #000000″ desc=”In Amsterdam, Soest of Bosch en Duin”]Maak een afspraak[/
   su_button]</script>
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcant-add-javascript-text%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/cant-add-javascript-text/#post-11375849)
 * What happens when you’re saving this code in the settings page?
 * Also [su_botton] looks like a shortcode – does it need the script tags?
 *  Thread Starter [yolandal](https://wordpress.org/support/users/yolandal/)
 * (@yolandal)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/cant-add-javascript-text/#post-11376397)
 * Hi Ajay, when I leave the <script> code out, the front-end shows the code as 
   text, and not the button.
 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/cant-add-javascript-text/#post-11380850)
 * There is a new setting in the contents tab that allows you to turn on shortcode
   processing. Can you turn that one on and try without the script tags.
 * [https://ps.w.org/add-to-all/assets/screenshot-3.png?rev=1930271](https://ps.w.org/add-to-all/assets/screenshot-3.png?rev=1930271)
 *  Thread Starter [yolandal](https://wordpress.org/support/users/yolandal/)
 * (@yolandal)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/cant-add-javascript-text/#post-11381915)
 * Yes, thank you, that worked!
 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/cant-add-javascript-text/#post-11384112)
 * Thanks for confirming 🙂

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

The topic ‘Can’t add Javascript text’ is closed to new replies.

 * ![](https://ps.w.org/add-to-all/assets/icon-256x256.png?rev=2917884)
 * [WebberZone Snippetz - Header, Body and Footer manager](https://wordpress.org/plugins/add-to-all/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/add-to-all/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/add-to-all/)
 * [Active Topics](https://wordpress.org/support/plugin/add-to-all/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/add-to-all/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/add-to-all/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [Ajay](https://wordpress.org/support/users/ajay/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/cant-add-javascript-text/#post-11384112)
 * Status: resolved