How to embed code

Hi all,

I am trying to embed some code from a third party application that will generate a “sign up” form within my site.

I have been unable to find a tool to do this within Cornerstone.

Any assistance will be most welcome.

Many thanks.

This is the code.

Hi Iain,

What is the code you are trying to add on your site? Is it a Javascript code that you need to add to the head section of the page?

If so, Please install and activate the child theme and login through FTP then edit the functions.php then add this code:


add_action('wp_head', 'add_header_code');
function add_header_code(){
?>

    <!-- Add the JS code here -->

    <?php
};

In case it is different, please provide us more information so that we can provide some suggestions.

Thank you.

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