Before the closing </body> tag

Hi, this is going to be a simple answer for someone, but how (where) do I access the closing tag of my site that is using Themco Pro theme?

I have a code snippet from LiveChat that I need to install. It says 'you need to add the below code snippet into every page of your website, just before the closing tag".

I’ve tried it in the Child Theme Functions, but I’m getting a PHP error. What am I doing wrong?

Hi Paul,

Thank you for writing in, If you use the child theme’s functions.php file, follow my solution here, the second block of code is the one that you’re looking for.

Another method which I would recommend is using the 3rd party plugin Insert Headers and Footers.

The Scripts in Footer is the before closing </body> tag area.

Hope it helps,
Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.