-
I’m using the [rank_math_contact_info] shortcode to display my business details on my website. However, the phone number link it generates is causing an issue.
When I click on the phone number link, it opens a blank page with the message: about:blank#blocked.
I’ve inspected the HTML and noticed that the shortcode outputs a tel:// link with target=”_blank”, which is not the correct format for telephone links. This seems to be triggering the browser’s security mechanism, especially on both mobile and desktop, even in incognito mode.
Expected behavior:
The link should be in the format: (+34) 928 52 85 28
It should not contain target=”_blank”
Could you please look into this or provide a way to modify the output of the shortcode so the phone number is clickable without errors?
Here is the URL where the issue can be seen: https://alainhaya.com/
Thank you!
The ticket ‘Issue with [rank_math_contact_info] shortcode generating incorrect tel: link’ is closed to new replies.