Uname:
Linux webm012.cluster130.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software:
Apache
PHP version:
8.0.30 [ PHP INFO ] PHP os:
Linux
Server Ip:
145.239.37.162
Your Ip:
216.73.216.190
User:
dreampi (1009562) | Group:
users (100)
Safe Mode:
OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl
<?php
/**
* The template to display the user's avatar, bio and socials on the Author page
*
* @package SPIN
* @since SPIN 1.71.0
*/
?>
<div class="author_page author vcard" itemprop="author" itemscope="itemscope" itemtype="<?php echo esc_attr( spin_get_protocol( true ) ); ?>//schema.org/Person">
<div class="author_avatar" itemprop="image">
<?php
$spin_mult = spin_get_retina_multiplier();
echo get_avatar( get_the_author_meta( 'user_email' ), 120 * $spin_mult );
?>
</div><!-- .author_avatar -->
<h4 class="author_title" itemprop="name"><span class="fn"><?php the_author(); ?></span></h4>
<?php
$spin_author_description = get_the_author_meta( 'description' );
if ( ! empty( $spin_author_description ) ) {
?>
<div class="author_bio" itemprop="description"><?php echo wp_kses( wpautop( $spin_author_description ), 'spin_kses_content' ); ?></div>
<?php
}
?>
<div class="author_details">
<span class="author_posts_total">
<?php
$spin_posts_total = count_user_posts( get_the_author_meta('ID'), 'post' );
if ( $spin_posts_total > 0 ) {
// Translators: Add the author's posts number to the message
echo wp_kses( sprintf( _n( '%s article published', '%s articles published', $spin_posts_total, 'spin' ),
'<span class="author_posts_total_value">' . number_format_i18n( $spin_posts_total ) . '</span>'
),
'spin_kses_content'
);
} else {
esc_html_e( 'No posts published.', 'spin' );
}
?>
</span><?php
ob_start();
do_action( 'spin_action_user_meta', 'author-page' );
$spin_socials = ob_get_contents();
ob_end_clean();
spin_show_layout( $spin_socials,
'<span class="author_socials"><span class="author_socials_caption">' . esc_html__( 'Follow:', 'spin' ) . '</span>',
'</span>'
);
?>
</div><!-- .author_details -->
</div><!-- .author_page -->