Hello,
Well, the code should do the same like this:
<a href="tel:123">123</a>
<a href="mailto:123@gmail.com">123@gmail.com</a>
nothing more.
I found it, I consulted with the support, confirmed the correctness of my assumption;) unfortunately, they do not support such changes, (hm) and I want to add a simple in my understanding functionality, clickable phone and mail. I don’t know if their code is correct, I don’t judge it. Is this code above working, tested?
Regards
Raf
Hello. I need to add clickable phone number and mail. I learn html and js, so....
Can You help?
<?php if(!empty($header_email)): ?>
<li>
<span><i class="fa <?php echo esc_attr($header_email_icon);?>"></i></span>
<?php echo esc_html($header_email);?>
</li>
<?php endif; ?> <?php if(!empty($header_phone)): ?>
<li>
<span><i class="fa <?php echo esc_attr($header_phone_icon);?>"></i></span>
<?php echo esc_html($header_phone);?></li> <?php endif; ?>
I added the code, but It dosen't work.
<a href="<?=$header_phone?>"><?=$header_phone?></a>
Can You help?
Regards and thank You
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.