| 1 |
<?php |
| 2 |
|
| 3 |
/* |
| 4 |
* @Author ParaTheme |
| 5 |
* Copyright: 2015 ParaTheme |
| 6 |
*/ |
| 7 |
|
| 8 |
if ( ! defined('ABSPATH')) exit; // if direct access |
| 9 |
|
| 10 |
|
| 11 |
$post_id = get_the_ID(); |
| 12 |
include team_plugin_dir.'/templates/team-grid-variables.php'; |
| 13 |
|
| 14 |
$team_member_position = get_post_meta(get_the_ID(), 'team_member_position', true ); |
| 15 |
$team_member_social_links = get_post_meta( get_the_ID(), 'team_member_social_links', true ); |
| 16 |
|
| 17 |
$team_thumb = wp_get_attachment_image_src( get_post_thumbnail_id(get_the_ID()), 'full' ); |
| 18 |
$team_thumb_url = $team_thumb['0']; |
| 19 |
|
| 20 |
$team_items_content='full'; |
| 21 |
|
| 22 |
|
| 23 |
$html = ''; |
| 24 |
$html.= '<div class="team-meamber-single">'; |
| 25 |
|
| 26 |
//include team_plugin_dir.'/templates/team-grid-thumbnail.php'; |
| 27 |
//include team_plugin_dir.'/templates/team-grid-title.php'; |
| 28 |
include team_plugin_dir.'/templates/team-grid-position.php'; |
| 29 |
include team_plugin_dir.'/templates/team-grid-social.php'; |
| 30 |
$html.= '<div class="team-content">'.get_the_content().'</div>'; |
| 31 |
|
| 32 |
//include team_plugin_dir.'/templates/team-grid-skill.php'; |
| 33 |
|
| 34 |
$html.= '</div>'; |
| 35 |
|