Your IP : 216.73.216.95


Current Path : /var/www/mainsite/wp-content/themes/maxcoach/learnpress/single-course/tabs/
Upload File :
Current File : /var/www/mainsite/wp-content/themes/maxcoach/learnpress/single-course/tabs/instructor.php

<?php
/**
 * Template for displaying instructor of single course.
 *
 * This template can be overridden by copying it to yourtheme/learnpress/single-course/instructor.php.
 *
 * @author   ThimPress
 * @package  Learnpress/Templates
 * @version  3.3.1
 */

defined( 'ABSPATH' ) || exit();

$course = LP_Global::course();

/**
 * @var LP_User $instructor .
 */
$instructor               = $course->get_instructor();
$instructor_id            = $instructor->get_id();
?>

<div class="course-author">
	<?php do_action( 'learn-press/before-single-course-instructor' ); ?>

	<div class="author-avatar">
		<?php echo wp_kses_post( $instructor->get_profile_picture( '', 270 ) ); ?>
	</div>
	<div class="author-content">
		<div class="author-meta">
			<h5 class="author-name">
				<?php echo wp_kses_post( $course->get_instructor_html(), 'maxcoach-a' ); ?>
			</h5>
			<?php Maxcoach_Templates::get_author_meta_career(); ?>
		</div>

		<div class="author-bio"><?php echo wp_kses_post( $instructor->get_description() ); ?></div>

		<?php Maxcoach_Templates::get_author_socials( $instructor_id ); ?>
	</div>

	<?php do_action( 'learn-press/after-single-course-instructor' ); ?>
</div>