Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter 1234s282

    (@1234s282)

    Just to update you, the ticket company fixed something at their end (I don’t know the details) and now it works!

    Thread Starter 1234s282

    (@1234s282)

    Thanks Andrew – this is a whole new area to me but I shall have a look 🙂

    Thread Starter 1234s282

    (@1234s282)

    Following this integration guide to the letter

    https://stickytickets.freshdesk.com/support/solutions/articles/3000017890-ticket-widget

    Even their support people aren’t sure – said they’d get back to me so I decided to post on here.

    Appreciate all your replies 🙂

    Thread Starter 1234s282

    (@1234s282)

    <script type="text/javascript" src="https://www.stickytickets.com.au/static/widgets/v1/buy-tickets-1.0.2.js"></script>

    Thanks Andrew

    Thread Starter 1234s282

    (@1234s282)

    I also found some very basic Javascript code online as an example (not related at all to this booking site) and that Javascript worked – so it isn’t like WordPress is blocking scripts or anything like that.

    Thread Starter 1234s282

    (@1234s282)

    Hi Andrew

    I appreciate such a prompt reply – I have tried linking to the file externally and just typing the contents of the JS file straight in. Neither worked.

    Following the booking companies provided instructions they state to add the

    <script type=”text/javascript” src=”<External JS File>”></script>

    to either the header.php or footer.php towards the bottom.

    Whichever one I choose (or if i just put this in the same page as where I want the content to go) , I can see that it’s being requested and successfully loaded.

    I still get a blank space on the page wherever I enter the second lot of code instead of the booking widget loading – the full code still appears though in the page source – just nothing renders :

    “>

    While on my static HTML page with the exact same code it loads up the booking widget properly.

    As amended to my earlier post – I just did some test installations of WordPress 4.9.10 and 5.0.4 – both of those displayed the booking widget properly so it seems like something was edited in the newer WordPress releases (possible for security?)

    Thread Starter 1234s282

    (@1234s282)

    Quick update – after noticing my web host allows multiple WordPress version installs via Softaculous I have done some more research:-

    WordPress 4.9.10 – Works
    WordPress 5.0.4 – Works
    WordPress 5.1.1 – Doesn’t Work
    WordPress 5.2.2 – Doesn’t Work

    So something happened in the 5.1 update to change the way JavaScript works? Can anybody elaborate?

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