ID;
$author_name = get_the_author_meta( 'display_name', $author_id );
$author_avatar = get_avatar( get_the_author_meta( 'email', $author_id ), '82' );
$author_description = get_the_author_meta( 'description', $author_id );
$author_custom = get_the_author_meta( 'author_custom', $author_id );
// If no description was added by user, add some default text and stats.
if ( empty( $author_description ) ) {
$author_description = esc_html__( 'This author has not yet filled in any details.', 'Avada' );
/* translators: %1$s: Username. %2$s: Number. */
$author_description .= '
' . sprintf( esc_html__( 'So far %1$s has created %2$s blog entries.', 'Avada' ), $author_name, count_user_posts( $author_id ) );
}
?>
settings->get( 'disable_date_rich_snippet_pages' ) && Avada()->settings->get( 'disable_rich_snippet_author' ) ) ? '' . esc_attr( $author_name ) . '' : esc_attr( $author_name )
);
?>
()
'yes',
'author_id' => $author_id,
'position' => 'author',
'icon_colors' => Avada()->settings->get( 'social_links_icon_color' ),
'box_colors' => Avada()->settings->get( 'social_links_box_color' ),
'icon_boxed' => Avada()->settings->get( 'social_links_boxed' ),
'icon_boxed_radius' => Fusion_Sanitize::size( Avada()->settings->get( 'social_links_boxed_radius' ) ),
'tooltip_placement' => Avada()->settings->get( 'social_links_tooltip_placement' ),
'linktarget' => Avada()->settings->get( 'social_icons_new' ),
];
echo fusion_library()->social_sharing->render_social_icons( $author_social_icon_options ); // phpcs:ignore WordPress.Security.EscapeOutput
?>