• Resolved theglossy1

    (@theglossy1)


    It’s great that you can select an icon to display for a link. It would be even better if you could have the admin interface have two categories for that:

    1. Choose icon type for http site
    2. Choose icon type for https site

    Using Font Awesome, I currently have <i class=’fa fa-lock’> for a secure site and <i class=’fa fa-unlock’> for a non-secure site. But if WP External Links could have this type of behavior built-in, that would be convenient. Obviously it would have to read the first 5-6 characters of the link string as it processes to ascertain the info, but I imagine that wouldn’t be all that difficult.

    • This topic was modified 6 years, 11 months ago by theglossy1.
    • This topic was modified 6 years, 11 months ago by theglossy1.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Pi Zi

    (@freelancephp)

    This is too specific to built in the plugin.
    But you could set the icon for unsecure sites (unlock) and an exception for secure sites in your CSS stylesheet:

    a[href^="https"] .wpel-icon:before {
      content: "\f023" !important; /* lock icon for https */
    }
    Pi Zi

    (@freelancephp)

    Solution provided above

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘FA icons for encrypted vs. unencrypted’ is closed to new replies.