<?php
/**
 * Author Box: Simple Card
 *
 * @package     EPL
 * @subpackage  Templates/ContentAuthorBoxSimpleCard
 * @copyright   Copyright (c) 2020, Merv Barrett
 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
 * @since       1.0
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
?>

<!-- Author Box Container -->
<div class="epl-author-card epl-author author">
	<div class="entry-content">
		<div class="epl-author-box epl-author-image author-box author-image">
			<!-- Featured Image -->
			<?php
			if ( has_post_thumbnail() ) {
				the_post_thumbnail( 'index_thumbnail', array( 'class' => 'index-thumbnail' ) );
			} elseif ( function_exists( 'get_avatar' ) ) {
				echo get_avatar( $epl_author->email, '180' );
			}
			?>
		</div>

	<div class="epl-author-box epl-author-details author-box author-details">
		<?php apply_filters( 'epl_author_tab_about_callback', epl_author_tab_author_id( $epl_author ) ); ?>
	</div>
</div>
<!-- END Author Box Container -->
