Tagged: cornerstone
-
AuthorPosts
-
May 28, 2016 at 5:36 pm #1014662
victorsedlakParticipantvotedeep.com
WordPress 4.5.2
x-theme: 4.4.2
Cornerstone: Version 1.2.4To add Comodo’s “Corner of Trust” .png to my site, i was given the below instructions. However, I can’t find the head and body tags to be able to place those code snipets in front of them. Thanks for the help!
—————————————–
Please insert the following two snippets of HTML code into your webpage document. You will need to repeat the process for each web page you wish to display EV Corner of Trust™.
Snippet 1: Copy/Paste the following piece of code and insert EXACTLY before your </HEAD> tag.<script type=”text/javascript”>
//<![CDATA[
var cotJsHost = ((window.location.protocol == “https:”) ? “https://secure.comodo.com/” : “http://www.trustlogo.com/”);
document.write(unescape(“%3Cscript src='” + cotJsHost + “trustlogo/javascript/cot.js’ type=’text/javascript’%3E%3C/script%3E”));
//]]>
</script>Snippet 2: Copy/Paste the following piece of code and insert EXACTLY before your </BODY> tag.
EV SSL Certificate
<script language=”JavaScript” type=”text/javascript”>
COT(“https://votedeep.com/wp-content/uploads/2016/05/Comodo-Site-Seal-Picture-COT.gif”, “SC3”, “none”);
</script>
—————————————May 28, 2016 at 10:37 pm #1014893
Rue NelModeratorHello There,
Thanks for writing in!
What you are trying to accomplish requires a template customization, we would like to suggest that you use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
Once you already have your child theme active and ready, please insert this following code in your child theme’s functions.php file.
for Step 1:
// Add Comodo JS before </HTML> tag // ============================================================================= function add_comodo_js() { ?> <script type="text/javascript"> //<![CDATA[ var cotJsHost = ((window.location.protocol == "https:") ? "https://secure.comodo.com/" : "http://www.trustlogo.com/"); document.write(unescape("%3Cscript src='" + cotJsHost + "trustlogo/javascript/cot.js' type='text/javascript'%3E%3C/script%3E")); //]]> </script> <?php } add_action('wp_head', 'add_comodo_js', 50); // =============================================================================And for step 2:
// Add Comodo Seal before </BODY> tag // ============================================================================= function add_comodo_seal(){ ?> <div class="comodo-seal"> <a href="https://ssl.comodo.com/ev-ssl-certificates.php" rel="nofollow">EV SSL Certificate</a> <script language="JavaScript" type="text/javascript"> COT("https://votedeep.com/wp-content/uploads/2016/05/Comodo-Site-Seal-Picture-COT.gif", "SC3", "none"); </script> </div> <?php } add_action('wp_footer', 'add_comodo_seal', 50); // =============================================================================Please let us know if this works out for you.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1014662 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
