Support » Plugin: WordPress HTTPS (SSL) » SSL Site Seal

Viewing 3 replies - 1 through 3 (of 3 total)
  • 1. install shortcode exec php
    2. make a new shortcode called “isssl”
    3. copy

    if ($_SERVER['SERVER_PORT'] == '443')
    {echo "Connection is secure";}
    else {echo "Connection is unsecure";}

    into it
    4. paste the shortcode whereever you want like [isssl]

    if you only want to use yourimage when the connection is secure the code to paste would be this:

    if ($_SERVER['SERVER_PORT'] == '443')
    {echo "<img src=\"https://www.positivessl.com/images-new/PossitiveSSL_tl_trans.gif\">";}

    regards
    joschi

    as i thought this is kind of a nice idea i implemented it on my site 😀

    you can take a look how it works here on the bottom left…

    https://flexystore.com/category/blog/
    http://flexystore.com/category/blog/

    my certificate is stil self digned, so dont wonder if you get an error 🙂

    regards

    edit:

    i wrote a plugin for this:
    http://flexystore.com/development/plugins/issslshortcode.zip

    Description: Checks if the current connection is encrypted and can display a suited image. In case of an unencrypted connection there is a link to the same URL with encryption. Use the short code [isssl] to display the “SSL Secured” Image. To provide own images use [isssl on=”urltoyourimage” off=”urltoyouroffimage”].

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘SSL Site Seal’ is closed to new replies.