Title: Doesn&#8217;t work for Javascript code
Last modified: February 9, 2021

---

# Doesn’t work for Javascript code

 *  Resolved [JustDuckyDesigns](https://wordpress.org/support/users/justduckydesigns/)
 * (@justduckydesigns)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/doesnt-work-for-javascript-code/)
 * I’m trying to add some code to the footer of this website within a widget. I’ve
   created the shortcode and added it to the widget, but nothing shows up. This 
   code is coming from a reputible company to show a verified badge. Here is the
   code:
    <!– Professional verification provided by Psychology Today –> [](https://www.psychologytoday.com/profile/164390)
   <script type=”text/javascript” src=”[https://member.psychologytoday.com/verified-seal.js&#8221](https://member.psychologytoday.com/verified-seal.js&#8221);
   data-badge=”13″ data-id=”164390″ data-code=”xxxxxx”></script> <!– End Verification–
   >
 * I “xxxxxx” the actual code where it appeared after “data-code=” for privacy –
   but the rest is the same.
 * Is there some sort of error in the code?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdoesnt-work-for-javascript-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Wow-Company](https://wordpress.org/support/users/wpcalc/)
 * (@wpcalc)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/doesnt-work-for-javascript-code/#post-14026615)
 * Hello.
 * Can you send the link to the page with the problem?
    Can you send the screenshot
   with the code? Wich tab did you insert the code ‘HTML’ of ‘JS’?
 *  Thread Starter [JustDuckyDesigns](https://wordpress.org/support/users/justduckydesigns/)
 * (@justduckydesigns)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/doesnt-work-for-javascript-code/#post-14026766)
 * Page with the problem: [https://diannawestbrook.com/](https://diannawestbrook.com/)—
   it is in the footer of each page.
    Screenshot of the code: [https://diannawestbrook.com/wp-content/uploads/2021/02/screenshot_code.jpg](https://diannawestbrook.com/wp-content/uploads/2021/02/screenshot_code.jpg)
 * I use the tab for ‘JS’ – as you can see in the screenshot.
 *  Plugin Author [Wow-Company](https://wordpress.org/support/users/wpcalc/)
 * (@wpcalc)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/doesnt-work-for-javascript-code/#post-14026778)
 * Your code is HTML, not JS
    Remove code from tab ‘JS’ and insert in ‘HTML’
 *  Thread Starter [JustDuckyDesigns](https://wordpress.org/support/users/justduckydesigns/)
 * (@justduckydesigns)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/doesnt-work-for-javascript-code/#post-14026978)
 * I should have known that….Sorry for the trouble. This works great!
 *  Thread Starter [JustDuckyDesigns](https://wordpress.org/support/users/justduckydesigns/)
 * (@justduckydesigns)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/doesnt-work-for-javascript-code/#post-14026979)
 * Thank you.

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

The topic ‘Doesn’t work for Javascript code’ is closed to new replies.

 * ![](https://ps.w.org/wp-coder/assets/icon.svg?rev=3359026)
 * [WP Coder – Insert & Manage Code Snippets](https://wordpress.org/plugins/wp-coder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-coder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-coder/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-coder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-coder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-coder/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [JustDuckyDesigns](https://wordpress.org/support/users/justduckydesigns/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/doesnt-work-for-javascript-code/#post-14026979)
 * Status: resolved