????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.55 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/www.astacus.eu/wp-content/themes/Avada/templates/ |
Upload File : |
<?php
// Do not allow directly accessing this file.
if ( ! defined( 'ABSPATH' ) ) {
exit( 'Direct script access denied.' );
}
?>
<?php
global $social_icons;
// Initialize needed variables.
$author = get_user_by( 'id', get_query_var( 'author' ) );
$author_id = $author->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' );
$author_description .= '<br />' . sprintf( esc_html__( 'So far %1$s has created %2$s blog entries.', 'Avada' ), $author_name, count_user_posts( $author_id ) );
}
?>
<div class="fusion-author">
<div class="fusion-author-avatar">
<?php echo $author_avatar; ?>
</div>
<div class="fusion-author-info">
<h3 class="fusion-author-title<?php echo ( Avada()->settings->get( 'disable_date_rich_snippet_pages' ) ) ? ' vcard' : ''; ?>">
<?php printf(
esc_html__( 'About %s', 'Avada' ),
( Avada()->settings->get( 'disable_date_rich_snippet_pages' ) ) ? '<span class="fn">' . $author_name . '</span>' : $author_name
); ?>
<?php // If user can edit his profile, offer a link for it. ?>
<?php if ( current_user_can( 'edit_users' ) || get_current_user_id() == $author_id ) : ?>
<span class="fusion-edit-profile">(<a href="<?php echo admin_url( 'profile.php?user_id=' . $author_id ); ?>"><?php _e( 'Edit profile', 'Avada' ); ?></a>)</span>
<?php endif; ?>
</h3>
<?php echo $author_description; ?>
</div>
<div style="clear:both;"></div>
<div class="fusion-author-social clearfix">
<div class="fusion-author-tagline">
<?php if ( $author_custom ) : ?>
<?php echo $author_custom; ?>
<?php endif; ?>
</div>
<?php
// Get the social icons for the author set on his profile page.
$author_soical_icon_options = array(
'authorpage' => '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' => Avada_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 Avada()->social_sharing->render_social_icons( $author_soical_icon_options );
?>
</div>
</div>