esc_url is prepending https:// in phone number link
-
I am trying to sort out the tel: link feature in the theme header. I am running a child theme of bidnis but am not doing very much at all and am not editing the header. It should work, I have no clue why it is adding the https:// to the phone number link. See example:
<a href="https://tel:5354636345345">5354636345345</a>
FYI if I add a telephone number to body text and add a link to it, it works no problem. See below for correct code if phone number link is added to body text .
<a href="tel:5354636345345">5354636345345</a>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘esc_url is prepending https:// in phone number link’ is closed to new replies.