Where to "Add" given Claim website code in cornerstone?

hi for pinterest I need to add a code to claim website. I am, working with cornerstone. can anyone help where to add this code?
Thank you
C

would maybe a plugin like “Header Footer Code Manager” do the trick maybe??

Hi there,

Thank you for writing in, is the code is pure HTML? If so, you can paste it on a Content Area or RAW Content element. However, if the instruction is to place the code inside the <head> tag, use this following snippet, you can add this on your child theme’s functions.php file

 /*Adding a code inside the <head> tag*/
function my_custom_script() { ?>

<!-- YOUR CODE HERE -->

 <?php }

 add_action( 'wp_head', 'my_custom_script', 999 );

More example about wp_head() function here.

If the instruction is to place the code before the closing body tag, you can use this snippet.

  /*Adding a code before closing body tag </body> */
function my_custom_script() { ?>

<!-- YOUR CODE HERE -->

 <?php }

 add_action( 'wp_footer', 'my_custom_script', 999 );

More example about wp_footer() function here.

Hope this helps.

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