I have some code front https://www.frontdesk.ai/ i need to insert into my website so I can have a chat feature. I’m using a child theme but not sure the best place to put it so things can get automatically updated.
Can you advise where to insert?
I included the code in the private area.
This is what it says “If you have a common template location for all your pages, then it should be placed there inside the Body Tag.”
Hi,
Please try this in your functions.php file:
function stretchspot_chat_after_body(){
?>
YOUR CODE GOES HERE
<?php
}
add_action('wp_body_open', 'stretchspot_chat_after_body');
Best regards,
Rikard
Hey Rikard,
I added that code to the child functions.php but nothing seems to happen :[
I’m going to check with their support at as well to make sure about the code and support for wordpress.