Hello,
Where would I install the MANYCHAT script that I’ve been given?
The directions states to install code on the header of the wordpress site
The code is below in the private content area
Thank you in advance
Hey alexbanaga,
To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
Best regards,
John Torvik
Hi I also need help installing the manychat JavaScript code on my website. http://www.nutrifitchick.com
Could you assist with this please?
Hi Unique1der,
What is the exact code you need to add and where should it go?
Best regards,
Rikard
Hi the code should be in the head of my website. Could you assist with this please.
Hi,
This shows you how to properly enqueue a script to WordPress:
Alternatively, you can add the script directly within the header.php file.
Best regards,
Jordan Shannon
Thank you. I don’t really know about code etc. Where would I locate the header php file
Rennique
Hi,
This file can be found either directly within the theme folder. Alternatively, you can go to appearance > editor > header.php within the dashboard.
Best regards,
Jordan Shannon
Thank you
Rennique
Hey Unique1der,
No problem at all my friend. Did you need addtional help with this topic?
Best regards,
Jordan Shannon
I still can’t figure out how to do this.. Because of the warnings, I am hesitant to change any code in the editor.
Hi simstub,
Please try adding this to the very bottom of the functions.php file on your child theme:
function simstub_add_many_chat_script(){
?>
<script src="//widget.manychat.com/1072990022852004.js" async="async"></script>
<?php
}
add_action('wp_head', 'simstub_add_many_chat_script');
Best regards,
Rikard
It works, thanks!!
Hi simstub,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria