Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1129047

    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.

    #1129132

    Hey Stretchspot,

    Where exactly do you need to add that code?

    Best regards,
    Rikard

    #1129281

    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.”

    #1129466

    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

    #1129701

    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.

    • This reply was modified 4 years, 7 months ago by Stretchspot.
    #1129850

    Hi,

    Thanks for the update, I think it would be better if you reached out directly to the developers of the plugin. We’ll keep this thread open in case you should need any further help from us.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.