Forum Replies Created
-
AuthorPosts
-
February 22, 2017 at 9:34 pm in reply to: Stop behaviour creating automatic links of phone numbers in top bar #750682
Hello Yigit,
That woked. This code in functions.php of my child theme:
function avia_turn_off_detection(){
echo ‘<meta name=”format-detection” content=”telephone=no”>’;
}
add_action(‘wp_head’, ‘avia_turn_off_detection’);THANK YOU!
Adriaan
February 22, 2017 at 12:49 pm in reply to: Stop behaviour creating automatic links of phone numbers in top bar #750450Hello Yigit,
I’ve sent you a login. I’ve also made a back-up of the site.
Success,
AdriaanFebruary 21, 2017 at 6:13 pm in reply to: Stop behaviour creating automatic links of phone numbers in top bar #750077Hello Yigit,
I have added the new code:
function avia_turn_off_detection(){
echo ‘<meta name=”format-detection” content=”telephone=no”>’;
}
add_action(‘wp_head’, ‘avia_turn_off_detection’);to:
child-theme: functions.php
theme: functions.phpNo 500 error code this time, but the phone numbers are still displayed as links on my tablet and smart phone, and also in the Edge browser. I have removed the code from both files.
Greetings,
AdriaanFebruary 16, 2017 at 3:54 pm in reply to: Stop behaviour creating automatic links of phone numbers in top bar #748000Hi Rikard,
That is correct. I understood from another thread at this forum that the next could help:
function add_custom_code(){
$output = “<meta name=’format-detection’ content=’telephone=no’>”;
return $output;
}
add_action(‘wp_head’, ‘add_custom_code’);I should add this to functions.php – but I got a 500 Error when I did this. Could this help you on the way of a solution?
Greetings,
Adriaan
February 15, 2017 at 11:22 am in reply to: Stop behaviour creating automatic links of phone numbers in top bar #747416Hello Rikard,
This didn.’t work. It’s not about the background color, but the phone number that is changed into a link. It’s still changed into a link automatically! -
AuthorPosts