Support » Plugin: Email Encoder - Protect Email Addresses » Not encoding tel links

  • Hi,

    Thank you for this plugin.

    I’ve installed plugin version 2.1.1 on WordPress 5.7.1. I activated advanced options for the plugin, and in this field ‘Protect custom href attributes’ I added tel.

    The plugin will show a green lock next to the phone number, and a script has been added, but the href attribute hasn’t been replaced.

    Here is an example of the output generated after the plugin tried to obfuscate the email (I replaced the phone number with 555999555 for privacy reasons)

    <a href="tel:555999555" data-wpel-link="ignore">
      <span id="eeb-948802-630368">
        <span>
          555999555
        </span>
      </span>
      <script type="text/javascript">
        // auto generated js
      </script>
      <noscript>*protected email*</noscript>
    </a>

    If you require more details please let me know, I’d like to help as this plugin is really good.

    Kind regards,
    Luka

    • This topic was modified 4 months, 2 weeks ago by lukabacic.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ironikus

    (@ironikus)

    Hi @lukabacic – Thank you a lot for your message, as well as for using our plugin.
    Could you please let me know how you checked the code?
    As far as I can see, the correct containers are set so it works nicely. f you used the inspector for checking the code, you will always see the clear email as Javascript already run at that point.
    To make sure it’s correctly encoded, you must check the site source code (right click -> View Source Code).
    Do let me know in case you have any further questions.

    Nicole

    (@compufixpro)

    @ironikus Would it be possible the Green Lock can be viewed by all as opposed to only admins?

    Best regards,
    Compufix.Pro

    Plugin Author Ironikus

    (@ironikus)

    Hey @compufixpro – thank you for your message. I’m afraid at the current point it is not possible, but we will add that as a feature to our next version release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.