Header contact information doesn't support links

Hi. I’ve setup Airi Pro on a website in a staging environment while I get all of the content and customization in. One thing that perplexes me is that the contact information at the top of the page (phone, address, hours) do not support being a link. I’ve tried including an html link to the text field in the customizer but Wordpress filters out html from that field. I’d like to turn the address and phone number into a link for mobile customers so that they can make a call by just clicking the phone number.


Hi Verdi,

It seems likely we can add a link to the phone number with extra custom jQuery code.

To help me get the exact selector before writing and testing the code, please provide us a link to your webstite here.

aThemes Support

Hi Kharis,

It could, yes. It would be much better to just add a link field as a templated item so that it is served and rendered without javascript though.

The pertinent selectors from the logistics template are:

Hi, it’s been a couple weeks. Could someone please look into and resolve this ticket?

@kharisblank it’s not solved

Hello there,

Try this custom jQuery code solution.

  1. Install and activate the TC Custom JavaScript plugin
  2. Go To Appearance > Custom JavaScript
  3. Paste the following code into the provided box

      if( $('.site-header .contact-area').length ) {

        $('.site-header .contact-area .contact-block:nth-of-type(1) .contact-text').html('<span>Call us</span><span><a href="tel:+6494461709">+6494461709</a></span>');

        $('.site-header .contact-area .contact-block:nth-of-type(2) .contact-text').html('<span>Address</span><span><a href="#">Your address line</a></span>');


  1. Update

I request you give it a try and let me know your views.

aThemes Support

Hi @kharisblank,

I’m not sure what to say. Nearly two months later you respond with a solution that fulfills none of the customer criteria while also ignoring any previous discussion or solutions.

Your solution increases page weight, page rendering time, and overrides the customizer values to JavaScript strings hidden in a code injection plugin somewhere. It’s pretty much the definition of tech debt.

I have already proposed, written, and submitted to you an alternative solution which satisfies all of these issues. Please feel free to review the pull request and merge when fit.