Title: Clickable e-mail
Last modified: August 22, 2016

---

# Clickable e-mail

 *  [frenk72](https://wordpress.org/support/users/frenk72/)
 * (@frenk72)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/clickable-e-mail/)
 * Hello,
    it should be very nice and useful if the e-mail displayed under the pic
   was clickable… like any other “mailto”!!! 🙂
 * tnx!
 * [https://wordpress.org/plugins/easy-team-manager/](https://wordpress.org/plugins/easy-team-manager/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [amandapiasta](https://wordpress.org/support/users/amandapiasta/)
 * (@amandapiasta)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/clickable-e-mail/#post-5558264)
 * 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!
 *  [JohnLaw3742](https://wordpress.org/support/users/johnlaw3742/)
 * (@johnlaw3742)
 * [11 years ago](https://wordpress.org/support/topic/clickable-e-mail/#post-5558286)
 * 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>
       ```
   
 *  [JohnLaw3742](https://wordpress.org/support/users/johnlaw3742/)
 * (@johnlaw3742)
 * [11 years ago](https://wordpress.org/support/topic/clickable-e-mail/#post-5558287)
 * 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.
 *  [JohnLaw3742](https://wordpress.org/support/users/johnlaw3742/)
 * (@johnlaw3742)
 * [11 years ago](https://wordpress.org/support/topic/clickable-e-mail/#post-5558288)
 * 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>
       ```
   

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Clickable e-mail’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/easy-team-manager_91a299.svg)
 * [Easy Team Manager](https://wordpress.org/plugins/easy-team-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-team-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-team-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-team-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-team-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-team-manager/reviews/)

## Tags

 * [email](https://wordpress.org/support/topic-tag/email/)

 * 4 replies
 * 3 participants
 * Last reply from: [JohnLaw3742](https://wordpress.org/support/users/johnlaw3742/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/clickable-e-mail/#post-5558288)
 * Status: not resolved