Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the question-answer domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u845912282/domains/pickplugins.com/public_html/wp-includes/functions.php on line 6121
Member skills(without percentage)

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


Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/u845912282/domains/pickplugins.com/public_html/wp-content/plugins/post-grid/includes/functions-builder.php on line 10