Title: Embed Widget Code from another website
Last modified: April 22, 2019

---

# Embed Widget Code from another website

 *  Resolved [reactfitness](https://wordpress.org/support/users/reactfitness/)
 * (@reactfitness)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/embed-widget-code-from-another-website/)
 * Hi all!
 * I’m trying to embed some code from a ticket selling website so the shows and 
   links will show on the website rather than sending people to a different website.
 * I’ve pasted the widget code provided by the ticketing site into the text editor
   on the Gutenberg but it comes up blank. I tried using Elementor and pasted the
   code into the text editor there. I could see the info from that site in the preview
   but when I tried to save it I got a Forbidden Error message. Here’s the code 
   to paste in
 *     ```
       <div id="geotix-widget-container"></div>
       <script src='https://d1wcopahj6rhb7.cloudfront.net/events/prd/geotix-embed-latest.js'></script>
       <script type="text/javascript">
          // CSS Override Documentation
          // https://s3.amazonaws.com/geotix-widgets/events/css-customizations.md
          GeotixWidget.fetchTickets({
             token: '72e75af0ed4dd6699dfd4bcd0a2aeb8e',
             container: "geotix-widget-container",
             portalId: 43
           });
       </script>
       ```
   
 * Can anyone point me in a direction either for a plugin or where I can paste this
   code?
 * Thanks in advance!!
 * Lisa
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fembed-widget-code-from-another-website%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [sinip](https://wordpress.org/support/users/sinip/)
 * (@sinip)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/embed-widget-code-from-another-website/#post-11455187)
 * Hi Lisa.
 * have you tried pasting that code into the Custom HTML widget?
 *  Thread Starter [reactfitness](https://wordpress.org/support/users/reactfitness/)
 * (@reactfitness)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/embed-widget-code-from-another-website/#post-11463862)
 * Hey there.
 * I gave that a shot at your suggestion and it worked but the Custom HTML Widget
   can only be used in the sidebar or the footer and I need it to show in the main
   site. I found a Custom Coder plugin but I get a WordPress Forbidden error when
   trying to save it…any thoughts?
 * Thanks!
    lisa
 *  Thread Starter [reactfitness](https://wordpress.org/support/users/reactfitness/)
 * (@reactfitness)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/embed-widget-code-from-another-website/#post-11464015)
 * And to add to the weirdness – I tried using Elementor to add the HTML. The content
   from the custom code shows fine in the dashboard version of the page but when
   I try to save it I get a “Server Error Forbidden 403 message”.
 * I am able to save the page with the custom code in the Custom HTML widget without
   the server error. I’m stumped!
 *  Thread Starter [reactfitness](https://wordpress.org/support/users/reactfitness/)
 * (@reactfitness)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/embed-widget-code-from-another-website/#post-11464041)
 * And just like that simply pasting in the HTML code is working fine today. Apparently
   it was WordPress itself being sketchy yesterday! Consider this closed!
    Thanks…

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

The topic ‘Embed Widget Code from another website’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [reactfitness](https://wordpress.org/support/users/reactfitness/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/embed-widget-code-from-another-website/#post-11464041)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
