[Self Created Site Seal] Plugin doesn't work

I can't seem to get my plugin to show (Comodo Site Seal)
under plugins it is labeled: SCN Site Seal
I went thru the plugins to see if there is any conflict, and there doesn't appear to be a conflict.
I have a copy of the PHP and pathway for anyone helping me on this.
[HeadsUp: I have cognitive/visual +more disorders from acute stroke and I am a bit slow]
ThankYou! ...David

  • Ash

    Hello David

    [HeadsUp: I have cognitive/visual +more disorders from acute stroke and I am a bit slow]

    Really sorry to hear this, we will try our best to help you.

    About your actual issues, I need to know more details. How would I understand that the plugin is working? Is there any page that I can see or check? Please explain a bit detail about the plugin too like link and author.

    Also, would you please enable support access so that I can check? Please follow this article to enable support access: https://premium.wpmudev.org/docs/getting-started/getting-support/#chapter-5

    Have a nice day!

    Cheers,
    Ash

  • David

    Hello Ash,

    Thank You for your time and assistance.

    You would know the plugin is working by seeing it hover in the lower right hand corner of the site.
    I use Comodo EV SSL. Here is their example:
    https://www.comodo.com/e-commerce/site-seals/secure-site.php

    I am at a loss for the moment as to the plugin author and link, but it was in some type of wordpress forum. I am at a loss because I do not have my notes when I constructed the plugin last year from using the example from the forum I spent hours searching through. I spent some time today and can't retrace my steps nor have I found in in searching my bookmarks. I can provide you with the code here that I somehow put into a plugin:
    <?php
    /*
    Plugin Name: SCN Site Seal
    */

    add_action('wp_head','SCN_Site_Seal_add_ssl_script_head');
    function SCN_Site_Seal_add_ssl_script_head() {
    if ( is_home() ) {
    ?>
    <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>
    <?php
    add_action('wp_footer','SCN_Site_Seal_add_ssl_script_foot');
    }
    }

    function SCN_Site_Seal_add_ssl_script_foot() {
    ?>
    <script language="JavaScript" type="text/javascript">
    TrustLogo("https://spiritualclimate.com/wp-content/uploads/2017/04/comodo_secure_seal_113x59_transp.png", "SC5", "none");
    </script>
    EV SSL
    <?php
    }

    In the meantime, I Have Granted SUPPORT ACCESS. I will also do another search for the link I used for information to create the plugin. Slow means: I can only work about 30 minutes before my nervous system overloads and I have to take a 20 minute break...
    Thank you for your Help, Ash.
    David

  • David

    Hello Ash,
    Thanks for your patience. You have no idea how much you have helped so far, no sarcasm intended- -at all, I was confused too apparently. My head popped so let me clear the 'whiteboard' except for your last comment.
    0) I am not using a child theme (could never get one to work)
    1) I removed the plugin for the trust seal logo I made for the new EV-SSL, results? the old Comodo trust seal from the prior years license then showed up again (which had disappeared)--that's the one you just pointed out It hasn't been there until, apparently, when I removed the custom logo plugin. SO by your comment my head re-tracked into this:
    2) There is an old trust seal code snippet placed somewhere that I need to get rid of, in order to remove the code and image associated in the code to the Site Seal you screen shot (comodo): Where do I look to remove those? I have no clue how I got those in there.
    3)Once the old code is removed, I have new code snippets for the new EV-SSL cert, where would I place them so that it isn't removed by any wordpress updates. OR would it be easier to create a plugin to display the new trust seal instead of having to go into the CSS or wherever it need be mapped out to go in to insert the code?
    4) How is my clarity now?

    With much appreciation for your help
    David

  • Kris Tomczyk

    Hi David

    Hope you are doing good today.

    If you want to remove old code please go to Settings -> Header and Footer section in your dashboard and you will see the old code there:

    <HEAD> page section injection

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

    Before the </BODY> closing tag (footer)

    <a href="http://www.instantssl.com" id="comodoTL">Secure SSL Certificate</a>
    <script language="JavaScript" type="text/javascript">
    COT(" https://****.com/wp-content/uploads/2015/06/cot.gif", "SC2", "none");
    </script>

    After you remove this code just click save.

    After this in those same fields you can add your new code which is this:

    This goes to "<HEAD> page section injection"

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

    This goes to "Before the </BODY> closing tag (footer)"

    <script language="JavaScript" type="text/javascript">
    TrustLogo("https://spiritualclimate.com/wp-content/uploads/2017/04/comodo_secure_seal_113x59_transp.png", "SC5", "none");
    </script>
    <a target="_blank" href="https://ssl.comodo.com/ev-ssl-certificates.php">EV SSL</a>

    Kind Regards,
    Kris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.