Hey frenk,
I’ve changed my code a little so it might not be the exact same line, but try changing this line around line 190 in plugin index.php:
<div><?php if(isset($ind_email_detail['email']) AND $ind_email_detail['sh']=='s_email')echo esc_attr($ind_email_detail['email']);?>
</div>
Try changing it to this:
<div><?php if(isset($ind_email_detail['email']) AND $ind_email_detail['sh']=='s_email')echo '<a href="mailto:'esc_attr($ind_email_detail['email'])'">Email me</a>';?>
</div>
Let me know how it goes. Cheers!
That didn’t work for me but this code with a few commas added did
<div><?php if(isset($ind_email_detail['email']) AND $ind_email_detail['sh']=='s_email')echo '<a href="mailto:',esc_att($ind_email_detail['email']),'">Email me</a>';?>
</div>
Well the code I used worked once then I reverted to make a few more tests and when I re-changed my code it doesn’t work anymore. I’m still looking to solve for this.
I had a typo. this corrected code worked for me – same as amandas but just with commas added.
<div><?php if(isset($ind_email_detail['email']) AND $ind_email_detail['sh']=='s_email')echo '<a href="mailto:',esc_attr($ind_email_detail['email']),'">Email me</a>';?>
</div>