Support » Fixing WordPress » Comodo Trust Logo

Viewing 5 replies - 1 through 5 (of 5 total)
  • iamjds


    Open up your functions.php file and write this:

    function comodo(){ ?>

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

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

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

    Thread Starter 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


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

    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:”) ? “; : “;);
    document.write(unescape(“%3Cscript src='” + tlJsHost + “trustlogo/javascript/trustlogo.js’ type=’text/javascript’%3E%3C/script%3E”));

    2. <script language=”JavaScript” type=”text/javascript”>
    TrustLogo(“;, “CL1”, “none”);
    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, 8 months 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.