Team member e-mail - by Roberts - on WordPress WooCommerce support

This topic has 10 replies, 3 voices, and was last updated 9 years, 8 months ago ago by Eva Kemp

  • Avatar: Roberts
    Roberts
    Participant
    March 26, 2016 at 19:05

    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

    9 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 28, 2016 at 10:11

    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.

    Avatar: Roberts
    Roberts
    Participant
    March 29, 2016 at 09:06

    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.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 29, 2016 at 09:33

    Hello,

    Please show a page where you added team member element.

    Thank you.

    Best regards,
    Jack Richardson.

    Avatar: Roberts
    Roberts
    Participant
    March 29, 2016 at 09:38

    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/

    Avatar: Eva
    Eva Kemp
    Participant
    March 29, 2016 at 11:51

    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.

    Avatar: Roberts
    Roberts
    Participant
    March 29, 2016 at 13:11

    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>';
    }
    Avatar: Eva
    Eva Kemp
    Participant
    March 29, 2016 at 13:51

    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.

    Avatar: Roberts
    Roberts
    Participant
    March 29, 2016 at 16:21

    Yes, Eva, everything’s good now. Thanks

    Avatar: Eva
    Eva Kemp
    Participant
    March 29, 2016 at 17:33

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 10 results - 1 through 10 (of 10 total)

The issue related to '‘Team member e-mail’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.