How to Disable Phone Number Linking in iOS Safari


On some mobile browsers (Safari) or iOS device, any string of digits that looks like a phone number is automatically converted to a link. and due to this reason it behaves differently in compare Number showing in the Desktop.
To prevent mobile browsers to detect number as Phone number and automatically converting numbers into links, add the following meta-tag to tag.
// Add Meta tag inside 
// 

For Website with WordPress
// Disable phone number detection in iOS
add_action( 'wp_head', 'wdo_add_ios_phone_number_blocker_to_meta');
function wdo_add_ios_phone_number_blocker_to_meta() {
echo '';
}

Above solution also work for Disabling the conversion of numbers into links on mobile browsers

Post a Comment

0 Comments