Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #81684

    michaeljpickering
    Participant

    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!)

    #81699

    michaeljpickering
    Participant
    This reply has been marked as private.
    #81700

    Christopher
    Moderator

    Hi 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.

    #81704

    michaeljpickering
    Participant
    This reply has been marked as private.
    #81748

    Rad
    Moderator

    Okay 🙂 Thank you.