Solved Templates

email address protect

Asked by Jürgen 3 years ago Last activity 3 years ago

Hello,
I use the "Top Bar" variant in the header.
Inside I show phone number and email address.
Question:
How can I protect the email address from spam bots? - Similar to the Joomla plugin emailcloak for content.

Thanks and greetings, Jürgen

Accepted answer

Marked as the solution
Jürgen Asked this
3 years ago · edited

Hello,
thank you for your feedback.
I have solved it this way for me:
I use the "Opening Hours" field in basic, contact info for an html

  <a href="/link">email</a>
link to the contact page. I hide the icon for "Opening Hours" via css.
    ` .far { font-size: 0px; }   `

Greetings

1 more reply

Paul Frankowski Senior Staff

Hi Jurgen,

I think Joomla plugin do not work in template.
Maybe there is other, alternative plugin that can hide it - if not, I suggest to put contact link, not a e-mail.

Template code customization is also possible, if you want to try your skills.

Log in to reply.