Team Plugin: add Social Info and Meta fields to popup

0
Team Plugin: add Social Info and Meta fields to popup 1
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
Team Plugin: add Social Info and Meta fields to popup 1
Team Plugin: add Social Info and Meta fields to popup 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
Team Plugin: add Social Info and Meta fields to popup 4
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