Support » Plugin: Email Encoder - Protect Email Addresses » Protect tel:-Links?

  • hessi2

    (@hessi2)


    Hi Ironikus,

    I have added “tel:” at “Protect custom href attributes”, but the plugin does not protect the phone numbers at all. Only the mail address is protected.

    Thats the plan text of the articel:
    <p>Telefon: 06257 / xx xx xx<br />Mobil: 0160 / 92 xx xx xx<br />E-Mail: kontakt@xxxxxx.de</p>

    What am I doing wrong?

    TIA
    Regards
    Michael

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ironikus

    (@ironikus)

    Hey @hessi2 – Thank you a lot for your message, as well as for using our plugin. From your message, you mentioned you added tel: to the field, correct?
    If so, please do remove the double points at the end.
    Feel free to let me know in case you have any further questions.

    Thread Starter hessi2

    (@hessi2)

    Hi Ironikus,

    Thanks for the prompt reply, but it does not seem to work.
    Is there anything wrong with my link?
    <a href="tel:+491609xxxxxx">0160 92 xx xx xx</a>

    TIA
    Regards
    Michael

    Edit: sorry, forgot to activate “code” for the links in the first posting.

    • This reply was modified 3 months ago by hessi2.
    • This reply was modified 3 months ago by hessi2.
    Plugin Author Ironikus

    (@ironikus)

    Hey @hessi2 – Thank you very much for your feedback. I just tried your code piece on a clean WP installation and it just worked fine.
    Do you use any specific page builder or anything that can manipulate that code before it is returned?

    Alternatively, you can also use our shortcode to protect the phone number:
    [eeb_protect_content protection_text=”I am a noscript text” method=”rot13″ do_shortcode=”yes”]+491609xxxxxxl[/eeb_protect_content]

    Thread Starter hessi2

    (@hessi2)

    Hi Ironikus,

    Thanks for the prompt reply, I use only “Fastest Cache”. Currently I have protected the phone numbers manually with the shortcode. It’s fine like that, but I thought that feedback might be interesting.

    Regards
    Michael

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