WordPress.org

Ready to get started?Download WordPress

Forums

WordPress HTTPS (SSL)
SSL Site Seal (4 posts)

  1. rlansing
    Member
    Posted 10 months ago #

    Hello,
    This is just a feature request. Do you think it would be easy to add an area that we could input the link to a site seal for example <https://www.positivessl.com/images-new/PossitiveSSL_tl_trans.gif> and have it display in various locations of the page when in HTTPS?

    Thanks!
    Bobby

    http://wordpress.org/plugins/wordpress-https/

  2. j0schi
    Member
    Posted 10 months ago #

    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

  3. j0schi
    Member
    Posted 10 months ago #

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

    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

  4. j0schi
    Member
    Posted 10 months ago #

    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"].

Reply

You must log in to post.

About this Plugin

About this Topic

Tags