this is often a good feature but sometimes the automatic detection takes other numbers too for telephone !
Example : IBAN Numbers.
we can disable this function by adding a meta like this:
<meta name=”format-detection” content=”telephone=no”>
and you have to do for the real telephone numbers it manually by :
e.g:
telephone-link <a href="tel:+4915118956490">Call now</a>
Skype-link: <a href="[ USERNAME / NUMBER]?call">Call with Skype</a>
Facetime-link: <a href="+4915118956490">Call with facetime</a>
Or is there a way to stay on automatic and to set for the numbers (IBAN etc) the way to not be recognized ?
How can i insert this meta into Enfold head ? is there a hook method?
Hey Guenter!
You can give your IBAN links a custom class and set pointer-events to none – https://developer.mozilla.org/en/docs/Web/CSS/pointer-events
and you can use following code
function add_custom_code(){
$output = "<meta name='format-detection' content='telephone=no'>";
return $output;
}
add_action('wp_head', 'add_custom_code');
Cheers!
Yigit
ok i have to do so as if there was a link in the iconbox
.customclass .iconbox_content_container a {
pointer-events: none !important;
color: #666 !important
}