Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #751395

    I am trying to add meta tag responsible for format detection in my Enfold built site (without it phone numbers display as active in Edge).
    I tried to add this:
    <meta name=”format-detection” content=”telephone=no” />
    in header.php file as well as this:
    function add_custom_code(){
    $output = “<meta name=’format-detection’ content=’telephone=no’>”;
    return $output;
    add_action(‘wp_head’, ‘add_custom_code’);
    in functions.php file.

    But it didn’t work. Maybe I am pasting it in wrong place? I would be happy for your help.


    Hi webtec-pk!

    Code in functions.php file should have worked. Please make sure you flushed your browser cache.
    If it still does not work, please create a temporary admin login and post it here privately.



    It still doesn’t work so below temp admin login and password.


    Something new?



    Please use the below code in functions.php I have tested it on my personal installation and it works!

    // Insert code in head section
    function insert_to_head() {
    echo '<meta name=”format-detection” content=”telephone=no” />';
    add_action('wp_head', 'insert_to_head');

    Best regards,

    • This reply was modified 3 years, 7 months ago by  Vinay.

    Sorry, I don’t know why but in my case it still doesn’t work… I am adding this code in functions.php of enfold theme but this meta tag is still not vsible in source code of my site. My browser cache are flushed.
    Please, check it if it is posssible:



    update to Enfold v4.0.2. Make sure you’re using a legal version, otherwise you’ll get into trouble.
    Please deactivate all plugins one by one to check which one is causing this issue and let us know if this solves the problem.

    Try to deactivate any other custom code, to check if one is causing this issue.

    If that does not help, then there might be some corrupted files, so please delete all theme files completely via FTP, before installing a fresh copy from your themeforest account. Here is a short tutorial on how to install the theme via FTP, in case you are not sure how that works:

    Best regards,

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.