• Hi there

    On my website header, this code fetches the phone number, breaking it over two lines by separating them with ^

    <div class="icon-left-top bgnone">
              <?php if( '' !== get_theme_mod('contact_no')){ ?>
              <a><i class="fa fa-phone fa-1x"></i><?php echo str_replace ('^','<br /> ',get_theme_mod('contact_no', ':+1 800 234 568')); ?>
              <?php } ?>
              </a></div>

    I’d like to make the numbers clickable on a smartphone. I’ve tried a couple of suggestions off the net, but it either doesn’t work, or messes everything up.

    Any help?

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Make phone number clickable in header’ is closed to new replies.