-
YEAR93
Hello,
I have a page on my website container the numbers 01234567890. What happens is when visiting my website on mobile these numbers 01234567890 are being converted into a link for calling. How can I prevent this?
-
Fernando
Hi there,
What device are you using? That shouldn’t be the case. I also tested on my end to be sure, and those numbers aren’t turning into links when viewing your site on my mobile or my wife’s mobile.
-
YEAR93
I’m using an iPhone, so iOS and browser is Safari.
-
That’s the Safari behaviour, I don’t think there’s anything we can do to prevent this on our end, unfortunately.
If you test it in Chrome on an iPhone, the numbers are still just numbers.
However, read this article and if you want to prevent it on entire page/site, this is what you can try:https://sf.digital/squarespace-solutions/how-to-stop-numbers-being-converted-to-links-on-mobile
-
YEAR93
Hello,
Thank you very much. Is there an easy way to add this code
<meta name="format-detection" content="telephone=no">
only to one specific page? -
Yes, you can add it to a hook element, use
wp_head
hook, set that page as the location. -
YEAR93
This works, thank you!
-
You are welcome 🙂
- You must be logged in to reply to this topic.