![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/hessa.corals.io/wp-content/themes/kicker/skins/writer/templates/ |
<?php /** * The template to display the user's avatar, bio and socials on the Author page * * @package KICKER * @since KICKER 1.71.0 */ ?> <div class="author_page author vcard" itemprop="author" itemscope="itemscope" itemtype="<?php echo esc_attr( kicker_get_protocol( true ) ); ?>//schema.org/Person"> <div class="author_avatar" itemprop="image"> <?php $kicker_mult = kicker_get_retina_multiplier(); echo get_avatar( get_the_author_meta( 'user_email' ), 410 * $kicker_mult ); ?> </div><!-- .author_avatar --> <h4 class="author_title" itemprop="name"><span class="fn"><?php the_author(); ?></span></h4> <?php $kicker_author_description = get_the_author_meta( 'description' ); if ( ! empty( $kicker_author_description ) ) { ?> <div class="author_bio" itemprop="description"><?php echo wp_kses( wpautop( $kicker_author_description ), 'kicker_kses_content' ); ?></div> <?php } ?> <div class="author_details"> <span class="author_posts_total"> <?php $kicker_posts_total = count_user_posts( get_the_author_meta('ID'), 'post' ); if ( $kicker_posts_total > 0 ) { // Translators: Add the author's posts number to the message echo wp_kses( sprintf( _n( '%s article published', '%s articles published', $kicker_posts_total, 'kicker' ), '<span class="author_posts_total_value">' . number_format_i18n( $kicker_posts_total ) . '</span>' ), 'kicker_kses_content' ); } else { esc_html_e( 'No posts published.', 'kicker' ); } ?> </span><?php ob_start(); do_action( 'kicker_action_user_meta', 'author-page' ); $kicker_socials = ob_get_contents(); ob_end_clean(); kicker_show_layout( $kicker_socials, '<span class="author_socials"><span class="author_socials_caption">' . esc_html__( 'Follow:', 'kicker' ) . '</span>', '</span>' ); ?> </div><!-- .author_details --> </div><!-- .author_page -->