-
AuthorPosts
-
August 10, 2014 at 11:03 am #81684
Hi! I’ve input my contact phone number into an Icon List Item under the Contact section of my site. It displays fine on desktop but the number itself is invisible on iPhone and iPad. On the other hand, if I input text instead of numbers or in addition to numbers the text displays fine across all devices. What am I missing here? Thanks!
http://www.matthewsparty.com
(This site is in maintenance mode. I’ll provide login credentials upon your reply when I can mark the post as private. Thanks again!)August 10, 2014 at 11:29 am #81699This reply has been marked as private.August 10, 2014 at 11:32 am #81700Hi there,
Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
After you installed your child theme, please add the code below into functions.php file using Appearance -> Editor :
function custom_head-addition() { echo '<meta name="format-detection" content="telephone=no">' ; } add_action('wp_head', 'custom_head-addition');
The code above will disable automatic phone number detection on Iphone and will shoe the number normally.
Thank you.
August 10, 2014 at 11:44 am #81704This reply has been marked as private.August 10, 2014 at 2:26 pm #81748Okay 🙂 Thank you.
-
AuthorPosts