Posted on : 2018-11-05 12:21:05 View Type: public
Erasmo Garcia
I want to Open Phone Call App On Click on Phone Number en el footer and also I want to Open the email On Click on email adress. Both in the footer. Thanks
I want to Open Phone Call App On Click on Phone Number en el footer and also I want to Open the email On Click on email adress. Both in the footer. Thanks

Please edit file >> wp-content >> themes >> education >> template-parts >> footer >> footer-bottom and edit file selective-social-icons.php
Find this line for phone number
case "wc_socialoptions_phone":
echo '<li><i class="fa fa-phone"></i> '.esc_html(get_theme_mod('wc_socialoptions_phone', $default_phone)).'</li>';
break;Change it with
case "wc_socialoptions_phone":
echo '<li><i class="fa fa-phone"></i> <a href="tel:1231231234">'.esc_html(get_theme_mod('wc_socialoptions_phone', $default_phone)).'</a></li>';
break;change : 1231231234 with your phone which you want to be dialed.
For email find this line
case "wc_socialoptions_email":
echo '<li><i class="fa fa-envelope"></i> '.sanitize_email(get_theme_mod('wc_socialoptions_email', $default_email)).'</li>';
break;
Change it with following
case "wc_socialoptions_email":
echo '<li><i class="fa fa-envelope"></i><a href="mailto:[email protected]"> '.sanitize_email(get_theme_mod('wc_socialoptions_email', $default_email)).'</a></li>';
break;
change [email protected] with your email which you want to be start email for
thanks
Click one of our contacts below to chat on WhatsApp
Do you have any questions?

