Team Plugin: add Social Info and Meta fields to popup

Support reply may delay for 3 weeks due to corona virus outbreak, please send us email to support@pickplugins.com
0
Steven
Aug 03, 2017 10:59 PM 1 Answers General
Member Since Dec 2016
Subscribed Subscribe Not subscribe
Flag(0)

Hi,

I'm using the Team Plugin Premium version and I would like to add more info to the Team Member Popup.

The team members already have information filled in, like facebook link and e-mail address.

How do I add this information to the popup page?

I already figured out that I had to change/extend the templates/popup.php using a filter:

$team_grid_filter_popup = apply_filters('team_grid_filter_popup',$html_popup);

But how do I access the member information from the social fields or the custom-fields?

This one works:

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

But how to replace 'team_member_position' with the Facebook link or Meta-field values?

 

Best regards,

Steven Groot

2 Subscribers
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
PickPlugins
Aug 03, 2017
Flag(0)

Welcome to our forum.

Sorry to say there is no filter hook for position text, you will have to re-generate all html for popup by filter hook

function team_grid_filter_popup_html(){ 
echo 'pop-up HTML goes here'; 
} 

add_filter('team_grid_filter_popup','team_grid_filter_popup_html');

Let me know if you need more help.

Regards

Sign in to Reply
Replying as Submit

Please use https://imgur.com/upload to upload your screenshot and share url here.
You can't upload any files or attachment to our server directly for security reason, you can use 3rd party website and share file url here. here is the top file sharing website you can use.

Please login to see your tickets