• freedom1

    (@freedom1)


    I’ve really searched for an answer to this question, both here and on the Web, but I’m struggling to find a solution.

    I got this code this from Comodo, but I don’t know where it goes.

    Select the position on your page where you’d like the TrustLogo to appear:
    Position: Inline
    Install Code Snippets
    Your code snippets will appear below based on the position you choose for your TrustLogo.

    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 the TrustLogo.

    <script type=”text/javascript”> //<![CDATA[
    var tlJsHost = ((window.location.protocol == “https:”) ? “https://secure.comodo.com/&#8221; : “https://www.trustlogo.com/&#8221;);
    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>
    Comodo SSL

    The page I need help with: [log in to see the link]

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

    (@iamjds)

    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/” : “https://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?

    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; : “https://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 6 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.