Hi, a few years ago when there were Global Blocks instead of Components for your theme, I created a global block to be positioned just above the footer to go on every page of a website. I got the script from yourselves to add into the functions.php to make this possible.
It’s been working fine up until today. I went into the component to make some changes to it and after doing that, on the front end it’s now displaying code instead of the content in the component. I don’t know if the script in the functions.php file needs to be updated to something different, as at the minute it refers to global block instead of component. I have no idea how to fix it! I hope you can help!
I’ve had to remove the script from the live site because it was showing code on the front end, but I’ve created a staging site with the script in the functions.php file so you can see the issue.
I’ll put the website details and login info in a secure note.
Thanks!