| Server IP : 213.136.93.164 / Your IP : 216.73.216.20 Web Server : Apache System : Linux m14200.contabo.net 5.14.0-611.54.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 6 18:03:03 EDT 2026 x86_64 User : ki692510 ( 1047) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/ki692510/www/wp-content/plugins/tlp-team/templates/layouts/ |
Upload File : |
<?php
/**
* Template: Grid Layout 16.
*
* @package RT_Team
*/
use RT\Team\Helpers\Fns;
// Do not allow directly accessing this file.
if ( ! defined( 'ABSPATH' ) ) {
exit( 'This script cannot be accessed directly.' );
}
$html = null;
$content = null;
$html .= '<div class="' . esc_attr( $grid ) . ' ' . esc_attr( $class ) . '" data-id="' . absint( $mID ) . '">';
$html .= '<div class="single-team-area">';
if ( $imgHtml ) {
if ( $link ) {
$html .= '<figure><a class="' . esc_attr( $anchorClass ) . '" data-id="' . absint( $mID ) . '" target="' . esc_attr( $target ) . '" href="' . esc_url( $pLink ) . '">' . Fns::htmlKses( $imgHtml, 'image' ) . '</a>';
} else {
$html .= '<figure>' . Fns::htmlKses( $imgHtml, 'image' ) ;
}
$html .= Fns::get_formatted_social_link( $sLink, $items );
$html .= '</figure>';
}
if ( in_array( 'name', $items, true ) && $title ) {
if ( $link ) {
$content .= '<h3><span class="team-name"><a class="' . esc_attr( $anchorClass ) . '" data-id="' . absint( $mID ) . '" target="' . esc_attr( $target ) . '" title="' . esc_attr( $title ) . '" href="' . esc_url( $pLink ) . '">' . esc_html( $title ) . '</a></span></h3>';
} else {
$content .= '<h3><span class="team-name">' . esc_html( $title ) . '</span></h3>';
}
}
if ( in_array( 'designation', $items, true ) && $designation ) {
if ( $link ) {
$content .= '<div class="tlp-position"><a class="' . esc_attr( $anchorClass ) . '" data-id="' . absint( $mID ) . '" target="' . esc_attr( $target ) . '" title="' . esc_attr( $title ) . '" href="' . esc_url( $pLink ) . '">' . esc_html( $designation ) . '</a></div>';
} else {
$content .= '<div class="tlp-position">' . esc_html( $designation ) . '</div>';
}
}
if ( in_array( 'tax_department', $items, true ) && $tax_department ) {
$content .= '<div class="tlp-department">' . esc_html( $tax_department ) . '</div>';
}
$html .= $content ? '<div class="tlp-content">' . $content . '</div>' : null;
$html .= Fns::get_formatted_short_bio( $short_bio, $items );
$html .= Fns::get_formatted_contact_info(
[
'email' => $email,
'telephone' => $telephone,
'mobile' => $mobile,
'fax' => $fax,
'location' => $location,
'web_url' => $web_url,
],
$items
);
$html .= Fns::get_formatted_skill( $tlp_skill, $items );
$html .= '</div>';
$html .= '</div>';
Fns::print_html( $html );