Member skills(without percentage)

0
Member skills(without percentage) 1
erikmom
Jan 10, 2018 12:09 PM 1 Answers General
Member Since Jan 2018
Subscribed Subscribe Not subscribe
Flag(0)

Hello there,

For a website of mine I would like to use the Team plugin and I need to display some specialisations of each team member. The "member skills" looks like the feature that I would like to use, but I don't want to display the skills bar. With some custom css that is doable, but I also want to remove the percentage that is displayed after each skill. Since the percentage is appended without the use of a <span>, i'm unable to hide the percentage.

Any suggestions?

Thanks

2 Subscribers
Member skills(without percentage) 1
Member skills(without percentage) 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
Member skills(without percentage) 4
PickPlugins
Jan 10, 2018
Flag(0)

Welcome to our forum.

You can hide skill from settings, and then you can filter any item via filter hooks.

https://imgur.com/a/x1eeh

there is some filter hooks available for filter team members HTML item.
https://pickplugins.com/documentation/team/filter-hooks/

Here is the code might help you display skill name under team member content. please add following code to your theme functions.php file

 

add_filter('team_grid_filter_content', 'team_grid_filter_content_skill');

function team_grid_filter_content_skill($skill_html){

  $team_member_skill = get_post_meta(get_the_ID(), 'team_member_skill', true );

  $skill_html .= '
'; foreach($team_member_skill as $skill_key=>$skill_info){ if(!empty($skill_info['name'])) $skill_html .= ''.$skill_info['name'].', '; } $skill_html .= '
'; return $skill_html; }

 

 

 

Sign in to Reply
Replying as Submit