HEX
Server: LiteSpeed
System: Linux premium221.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User: madepabj (2566)
PHP: 8.3.26
Disabled: NONE
Upload Files
File: //proc/thread-self/root/home/madepabj/hc-cosmetics.com/wp-content/themes/dbea/author-bio.php
<?php
$author_bio_avatar_size = apply_filters('100', '100');
if ( get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size ) !=''
	|| get_the_author_meta('display_name') != ''
	) :
?>
<div class="author-info">
	<?php if ( get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size ) !='' ) :?>
	<div class="content"><div class="author-avatar">
		<?php
		echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
		?>
	</div>
	<?php endif; ?>
	<?php if ( get_the_author_meta('display_name') != '' || get_the_author_meta( 'description' ) != '' ) :?>
	<div class="author-description">
		<?php if ( get_the_author_meta('display_name') != '' ) : ?>
		<h4 class="author-title">
			<span><?php echo esc_html__('About:', 'dbea'); ?></span>
			<?php printf( wp_kses(__( '<a class="author-link" href="%s" ref="author">%s</a>', 'dbea' ), array(
										'a' => array(
											'href' => array(),
											'class' => array(),
											'ref' => array()
										),
										) ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),  get_the_author_meta('display_name') ); ?>
		</h4>
		<?php endif; ?>
		<?php if ( get_the_author_meta( 'description' ) != '' ) : ?>
		<p class="author-bio">
			<span class="author-desc"><?php the_author_meta( 'description' ); ?></span>
		</p>
		<?php endif; ?>
	</div><!-- .author-description -->
	<?php endif; ?>
</div></div>
<?php endif; ?>