Title: Adding JavaScript widget to single page
Last modified: August 22, 2016

---

# Adding JavaScript widget to single page

 *  [k3vmo](https://wordpress.org/support/users/k3vmo/)
 * (@k3vmo)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/adding-javascript-widget-to-single-page/)
 * Stuck on a JS issue. I’ve never tried to embed js in a page.
 *  I have a friend who uses BandsInTown and they offer a javascript widget. Even
   if I wrap it in the [code] tag - I get *only* the HTML . I'm placing into the
   page using the text editor.
 *  Suggestions?
 * if it helps - the widget code is :
 * `<script type='text/javascript' src='http://widget.bandsintown.com/javascripts/
   bit_widget.js'></script><a href="http://www.bandsintown.com/rachelb">rachelb 
   Tour Dates</a>`

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/adding-javascript-widget-to-single-page/#post-5836699)
 * Do you want the Javascript to execute, or do you just want to show the code?
 *  Thread Starter [k3vmo](https://wordpress.org/support/users/k3vmo/)
 * (@k3vmo)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/adding-javascript-widget-to-single-page/#post-5836737)
 * I want it to execute – so it shows the concert listings..
 * I’m a noob, so I’m not sure where to start.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/adding-javascript-widget-to-single-page/#post-5836739)
 * Ok, I tired that script out on my test site, and it is “working” as far as WordPress
   is concerned. It looks like the script itself is failing to execute.
 * I recommend contacting BandsInTown about this.
 *  Thread Starter [k3vmo](https://wordpress.org/support/users/k3vmo/)
 * (@k3vmo)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/adding-javascript-widget-to-single-page/#post-5836742)
 * Is there such a thing as a ‘wrapper’? In Joomla they have a wrapper that allows
   you to basically embed a page.
 * Their plugin doesn’t work, and if the script isn’t working – I want to see if
   I can just embed the listing somehow without their script?
 * Like an iframe of the page maybe? Not sure if that’s the right idea?
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/adding-javascript-widget-to-single-page/#post-5836750)
 * Yeah, you could try an iframe, but really it would probably be best to just tell
   them that their script isn’t working.

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

The topic ‘Adding JavaScript widget to single page’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/adding-javascript-widget-to-single-page/#post-5836750)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
