WMPL issues

0
WMPL issues 1
Gregor
Nov 02, 2016 06:04 PM 1 Answers General
Member Since Nov 2016
Subscribed Subscribe Not subscribe
Flag(0)

Hi, i have some issues with links in content. I use wpml for translation. In english language i inserted mail and create link and everything works fine. But when i do the same in german language link in content doesn't work. See here:

German version (link on mail don't work): http://www.konservatorij-maribor.si/de/ueber-uns/die-beschaeftigten/der-lehrkoerper

English version (lin on mail work): http://www.konservatorij-maribor.si/en/about-us/staff/teaching-staff

2 Subscribers
WMPL issues 1
WMPL issues 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
WMPL issues 4
PickPlugins
Nov 02, 2016
Flag(0)

Welcome to our forum,

 

I have checked your link, could not understand clearly why this is happening, can you please check the content for "German " language also linked.

I would like to suggest you if you want to display team member email address under content you could use meta fields and filter hook to display

http://imgur.com/a/9OZdc

you need to add follwoing code to your theme functions.php file and i hope its won't be issue with WMPL plugin.

 

add_filter('team_grid_filter_content',  'team_grid_filter_content_extra' );

function team_grid_filter_content_extra($content){

  $team_member_social_links = get_post_meta(get_the_ID(),'team_member_social_links',true);
  
  $team_member_email = $team_member_social_links['email'];

    return $content.'<p style="text-align: center;"><a class="popup-gallery" href="mailto:'.$team_member_email.'">'.$team_member_email.'</a></p>';
  }

http://imgur.com/a/uiHKs

 

Regards

WMPL issues 5
PickPlugins
- Nov 04, 2016 04:59 PM
Flag (0)
0

If you love the support and our plugins please submit us five star reviews at wordpress.org plugin page
https://wordpress.org/support/plugin/team/reviews/

If you need more help please feel free to contact any time.

WMPL issues 5
PickPlugins
- Nov 04, 2016 04:56 PM
Flag (0)
0

Glad to know that works, its might issue with WPML content filtering, you better contact with WPML team.

Regards

WMPL issues 7
Gregor
- Nov 04, 2016 01:50 PM
Flag (0)
0

This work now. I just have to hide email icon in css.
Thanks

2+ more comments. Sign in to Reply
Replying as Submit