I need to add a JS script to integrate with oure chat system. On X I used a child-x theme and add my script on _footer.php so now on PRO where is the best place to do that? I try via UI but in this way I add a bar and not what I want to do.
Thks
I need to add a JS script to integrate with oure chat system. On X I used a child-x theme and add my script on _footer.php so now on PRO where is the best place to do that? I try via UI but in this way I add a bar and not what I want to do.
Thks
Hello @andamttia,
Thanks for asking.
I believe you are trying to add Pure Chat on the website as I couldn’t find something that’s withoure chat. You can integrate Pure Chat using following plugin.
Thanks.
Hello @Prasant
no I don’t want to add Pure Chat, I want to add Live Chat Helper. So to add it I need to add a
<scritp> -- js chat configuration --</script>
In X I add a child theme and put this code on _footer.php but in PRO how can I do the same things?
Thks
Hi There,
You can add the script to the footer via child theme function file without editing the footer file.
Here is a nice article which will help you to get it done.
The example code should be like this.
/**
load Footer Scripts
*/
add_action( 'wp_footer', 'my_footer_scripts' );
function my_footer_scripts(){
?>
<script>
// your script here
</script>
<?php
}
Hope this helps!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.