Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1103708
    deepvt
    Participant

    I got Instructions from Comodo to put SSL site seal . I have added related code to “icon” child theme but it’s not working. I also tried to edit wp-header.php and wp-footer.php (after copy to child theme) But i didn’t find any <head> or <body> tag !!

    site: https://swastiga.tips

    Instructions:

    See attached image

    I added following code in child theme

    add_action(‘wp_head’,’comodo_ssl_code’);
    function comodo_ssl_code() {
    ?>
    <script type=”text/javascript”> //<![CDATA[
    var tlJsHost = ((window.location.protocol == “https:”) ? “https://secure.comodo.com/&#8221; : “http://www.trustlogo.com/&#8221;);
    document.write(unescape(“%3Cscript src='” + tlJsHost + “trustlogo/javascript/trustlogo.js’ type=’text/javascript’%3E%3C/script%3E”));//]]>
    </script>

    <?php
    }

    add_action(‘wp_footer’,’comodo_ssl_seal’);
    function comodo_ssl_seal() {
    ?>
    <script language=”JavaScript” type=”text/javascript”>
    TrustLogo(“https://swastiga.tips/wp-content/uploads/2016/07/comodo_secure_seal_113x59_transp.png&#8221;, “CL1”, “none”);
    </script>Positive SSL

    <?php
    }

    Please help me to install this code via functions.php

    #1103717
    deepvt
    Participant
    This reply has been marked as private.
    #1103737
    Darshana
    Moderator

    Hi there,

    Please provide us with your FTP credentials to check your code in your child theme’s functions.php file.

    Thanks!

    #1104562
    deepvt
    Participant

    gotcha !!

    was some error in file writing permission. now it’s working fine …. just need to adjust logo position. That i’ll do as per your other replies .

    Thanks

    #1104607
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1103708 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>