Add facebook messenger via Chatfuel

Trying to do the above with no success.
They have given a script to be added to the header.
I have tried using a 3rd party plugin to add the relevant script which does nothing.
Please assist.

Hi There,

Could you please provide us with your emebed code for the messenger?

Right now, please setup a child theme first:

After that add this custom code under functions.php file locates in your child theme:

add_action( 'wp_head', 'add_head_script' );
function add_head_script(){
	?>
	<!-- Your emebed code will go here -->
	<?php
}

Let us know how it goes!

Will try and report back.
Thanks.

Sure, let us know how it goes. You can also use plugins to add scripts into header section of the website. Please take a look at following plugin and tutorial to get started. .

Please note that the plugin I have shared is not official Themeco advice. It’s just a personal input that I have shared with you to help you get started. 3rd party plugins may cause some issues and we won’t be able to provide support in that scenario.

Thanks.

Unfortunately the plugins don’t work.
Will try the first option thanks.

Let us know how it goes!

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