The phone number entered via contact info can not be called from the mobile device


#1

If the phone number entered via contact info is called from the mobile device, it can not be called because “htt” is entered at the beginning.
Is there a solution?


#2

Which exact version of the theme are you using?
Also, please share the page URL on which you have added it?


#3

Thank you for your reply.
JupiterVersion: 6.1.6

page URL

https://www.akdesignbuild.com/about/


#4

To fix this issue, you need copy the folder jupiter/components/shortcodes/mk_contact_info to the child theme https://themes.artbees.net/docs/installing-theme-and-child-theme/ with the same directory structure jupiter-child/components/shortcodes/mk_contact_info and edit the file mk_contact_info.php

For Phone replace line 30:

<?php if ( ! empty( $phone ) ) { ?>
    <li><i><?php Mk_SVG_Icons::get_svg_icon_by_class_name( true, 'mk-icon-phone', 16 ); ?></i><span><a itemprop="telephone" href="tel:<?php echo esc_url( $phone ); ?>"><?php echo wp_kses_post( $phone ); ?></a></span></li>
<?php } ?>

with this code:

<?php if ( ! empty( $phone ) ) { ?>
    <li><i><?php Mk_SVG_Icons::get_svg_icon_by_class_name( true, 'mk-icon-phone', 16 ); ?></i><span><a itemprop="telephone" href="tel:<?php echo $phone; ?>"><?php echo wp_kses_post( $phone ); ?></a></span></li>
<?php } ?>