Question regarding team member e-mail https://www.8theme.com/demo/legenda/shortcodes/team-members/
Right now any member email is redirected to 404 page, because it’s not used with “mailto” function, but as permalink
This topic has 10 replies, 3 voices, and was last updated 9 years, 8 months ago ago by Eva Kemp
Question regarding team member e-mail https://www.8theme.com/demo/legenda/shortcodes/team-members/
Right now any member email is redirected to 404 page, because it’s not used with “mailto” function, but as permalink
Hello,
To create “mailto” link for team member element you need edit the file wp-content/themes/legenda/framework/shortcodes.php, find the code <a href="'.$a['email'].'">'.$a['email'] (line 1740) and replace it with this one <a href="mailto: '.$a['email'].'">'.$a['email'] .
Best regards,
Jack Richardson.
Thanks for reply Jack,
There is similar problem with Skype username too. Would you please let us know fix for that as well? Also I think it would be great idea to open these team member social sites in new window?! What should we add to corresponding php lines then?
P.S. It would be great to include theses fixes in the next theme update.
Hello,
Please show a page where you added team member element.
Thank you.
Best regards,
Jack Richardson.
Photos are not changed yet, page is still in progress, but you can see Skype error on 2nd profile
http://www.taktika.lv/store/taktika-lv-specialisti/
Hello,
As for skype link you can edit in the file wp-content/themes/legenda/framework/shortcodes.php (line 1712), change the link href="'.$a['skype'].'"> to the one you need.
Regards,
Eva Kemp.
Eva, I think you misunderstood me. Your Skype code line is incomplete just like e-mail link
Please update it in the next theme version
Skype link code should look like (for chat)
if ($a['skype'] != '') {
$html .= '<a href="skype:'.$a['skype'].'?chat"><i class="icon-skype"></i></a>';
}
For call
if ($a['skype'] != '') {
$html .= '<a href="skype:'.$a['skype'].'?call"><i class="icon-skype"></i></a>';
}
Hello,
We’ve forwarded these bugs to our developers and they will fix it in the theme update.
Are your issues resolved now?
Regards,
Eva Kemp.
Yes, Eva, everything’s good now. Thanks
Hello,
You’re welcome.
Regards,
Eva Kemp.
The issue related to '‘Team member e-mail’' has been successfully resolved, and the topic is now closed for further responses