my online booking does not show properly on the site

  • Unknown's avatar

    on my booking page https://terwillegarphysiotherapymassage.wordpress.com/portfolio/ i copied the code from the website i use for my bookings. right after i copy it in i can preview it and i can see it properly after i update and try to view it through the web site i just have this on the screen in the block where it should be

    window.addEventListener(‘message’, function handleIFrameMessage (e) { var clinikoBookings = document.getElementById(‘cliniko-17877691’); if (typeof e.data !== ‘string’) return; if (e.data.search(‘cliniko-bookings-resize’) > -1) { var height = Number(e.data.split(‘:’)[1]); clinikoBookings.style.height = height + ‘px’; } e.data.search(‘cliniko-bookings-page’) > -1 && clinikoBookings.scrollIntoView(); });

    how do i change this or fix it so it will show properly

    Thank you for help in advance

    WP.com: Yes
    Correct account: Yes

    The blog I need help with is: (visible only to logged in users)

  • Hi,

    I’m not sure that code will work on WordPress.com. We restrict some code here for security reasons. https://wordpress.com/support/code/

    Does your booking website have instructions on how to use that embed code? I’d love to take a look.

  • The topic ‘my online booking does not show properly on the site’ is closed to new replies.