HEX
Server: Apache/2.4.29 (Ubuntu)
System: Linux bareserver 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User: root (0)
PHP: 7.2.24-0ubuntu0.18.04.17
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/html/site/newsite/wp-content/themes/ooze/template-parts/single/author-info.php
<?php
global $post;
$post_id = $post->ID;

$author_id = get_the_author_meta('ID');
$author_url = get_author_posts_url($author_id);
$author_name = get_the_author_meta('display_name');

$author_site = get_the_author_meta('url');
$author_desc = get_the_author_meta('description');

?>
<div class="single-author-info-area theme-single-post-component">
    <div class="single-author-info-wrapper">
        <div class="author-image">
            <a href="<?php echo esc_url($author_url); ?>" title="<?php echo esc_attr(get_the_author()); ?>">
                <?php echo get_avatar(get_the_author_meta('ID'), 500); ?>
            </a>
        </div>

        <div class="author-details">

            <?php do_action('ooze_author_detail_start'); ?>

            <a href="<?php echo esc_url($author_url); ?>" title="<?php echo esc_attr(get_the_author()); ?>"
               class="author-name">
                <?php the_author(); ?>
            </a>

            <?php if ($author_site): ?>
                <a href="<?php echo esc_url($author_site); ?>" target="_blank" class="author-site color-accent">
                    <?php echo esc_html($author_site); ?>
                </a>
            <?php endif; ?>

            <?php if ($author_desc): ?>
                <div class="author-desc">
                    <?php echo wpautop($author_desc); ?>
                </div>
            <?php endif; ?>

            <?php do_action('ooze_author_detail_end'); ?>

        </div>
    </div>
</div>