• Resolved reactfitness

    (@reactfitness)


    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 to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Lisa.

    have you tried pasting that code into the Custom HTML widget?

    Thread Starter reactfitness

    (@reactfitness)

    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

    (@reactfitness)

    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

    (@reactfitness)

    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.