Replies: 1 comment 2 replies
-
Okay great – that's my point, to remove the email shortcode altogether. The only thing it's adding is the obfuscation, which is achievable through the render hook if wanted. There are best practices for the link behaviour, which is to not alter the behaviour at all, but the method varies. I am fine not including obfuscation but it is kind of nice to add some level of protection (what you have now in the shortcode) invisibly, whether or not the site author or editor chooses to display emails on their site. There are arguments for doing that instead of using a contact form. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd prefer using render hooks (when possible) over shortcodes (non portability) — I think we both agree.
I'm just not sure about adding email obfuscation. It's only making it harder for bots to scrape email addresses (I think it's better to avoid using email addresses), and what are current best practices?
For now, I would say, if you would like to add email obfuscation, bring your own.
Aside: I like this approach (am using it on a couple of websites): Adding simple email address obfuscation for your blog like Cloudflare Scrape Shield — but it's more of a process (and wouldn't want to see it implemented in Hyas)
Beta Was this translation helpful? Give feedback.
All reactions