Broken contact page builder


#1

Hi,

When I use “Contact Info” in WP Bakery the email address does not work. Instead of it showing mail:// it shows http:// which results in a broken email address to people who might want to use it to email my client.

Here is an example: https :// equestrianeventstables dot com / broken-contact-page-builder

Please add in the spaces & dot.

Thank you for your assistance!

Cynthia


#2

Hello,

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

Change line 43:

<li><i><?php Mk_SVG_Icons::get_svg_icon_by_class_name( true, 'mk-icon-envelope', 16 ); ?></i><span itemprop="email"><a itemprop="email" href="mailto:<?php echo esc_url($email); ?>"><?php echo $email; ?></a></span></li>

with this code:

<li><i><?php Mk_SVG_Icons::get_svg_icon_by_class_name( true, 'mk-icon-envelope', 16 ); ?></i><span itemprop="email"><a itemprop="email" href="mailto:<?php echo $email; ?>"><?php echo $email; ?></a></span></li>

Thank you.
Best regards,
Artbees Support.


#3

Hi Tatyana,

Thank you so much! That worked.

Cynthia


#4

Hello,

You’re welcome.

Best regards,
Artbees Support.