Support » Fixing WordPress » Comodo Trust Logo

Viewing 5 replies - 1 through 5 (of 5 total)
  • Open up your functions.php file and write this:

    function comodo(){ ?>

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

    <script language=”JavaScript” type=”text/javascript”>
    TrustLogo(“xxxxxxxxxxx “, “CL1”, “none”);
    </script>

    } <?php
    add_action(‘wp_footer’, ‘comodo’);

    Thread Starter freedom1

    (@freedom1)

    Thanks, but through cPanel or the WP Admin panel?

    I added it via the Admin panel and my header disappeared.

    I’m just worried I might do something wrong and make my site disappear.

    Thread Starter freedom1

    (@freedom1)

    Maybe I should put part of the code in public_html/wp-content/themes/sydney/header.php and the other part in the footer?

    KingVenkat

    (@kingvenkat)

    I am also having the same problem. Got the snippet from Comodo asking me to put before header closing tags and body closing tags of every page. I don’t know how to do this on my website which is a wordpress website. Moreover, no body seems to know how to do this to a wordpress website as there is no clear answer available on the internet. Can any WordPress Guru help me on this. The website isBalaji Tour Packages and the codes I got are

    1. <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>

    2. <script language=”JavaScript” type=”text/javascript”>
    TrustLogo(“https://balajitourpackages.com/wp-content/uploads/2018/04/comodo_secure_seal_113x59_transp.png&#8221;, “CL1”, “none”);
    </script>
    Positive SSL

    The first one supposed to go before </HEAD> tag and the second one supposed to go before </BODY>

    I tried to put it on my functions.php without help.

    • This reply was modified 3 years ago by KingVenkat.

    I found a workaround that while not perfect does work. I used a plugin named Head & Footer Code. It sticks the image in the lower left of the page and I couldn’t find a way to style it but at least it is there

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Comodo Trust Logo’ is closed to new replies.