On a website we built with the Enfold theme, we need to add code for a table booker. I’ve added the code, so you have an idea. Please advise where best to place it. It needs to be visible on all pages.
<script src=”https://formv2.easybooker.be/widget.js” data-business-id=”563″ data-base-url=”https://formv2.easybooker.be”></script>
The form
<script src=”https://formv2.easybooker.be/iframe.js” data-business-id=”563″ data-base-url=”https://formv2.easybooker.be/iframe” style=”width:100%”></script>
Kind regards
Theo
Goodmorning Rikard,
They ask me to put the code on every page just above the </body> tag
Kind regards
Theo
Hi,
Please try adding this to your child theme functions.php file:
function add_easybooker_footer_script(){
?>
YOUR SCRIPT GOES HERE
<?php
}
add_action('ava_after_footer', 'add_easybooker_footer_script');
Best regards,
Rikard
Hi Rikard,
Whe dont use child theme.
Another way is not possible?
Is it possible place code in footer widget?
And so ye show whe fix it?
Regards,
Theo