File: D:/HostingSpaces/budilia/budilia.nl/wwwroot/wp-content/themes/zeestyle/author.php
<?php get_header(); ?>
<?php // Retrieve Current Author
$author = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author'));
?>
<div id="content">
<h2 class="arh"><?php _e('Archive for', 'themezee_lang'); ?> <?php echo $author->display_name; ?></h2>
<?php if (have_posts()) : while (have_posts()) : the_post();
get_template_part( 'loop', 'index' );
endwhile; ?>
<?php if(function_exists('wp_pagenavi')) { // if PageNavi is activated ?>
<div class="more_posts">
<?php wp_pagenavi(); ?>
</div>
<?php } else { // Otherwise, use traditional Navigation ?>
<div class="more_posts">
<span class="post_links"><?php next_posts_link(__('« Older Entries', 'themezee_lang')) ?> <?php previous_posts_link (__('Recent Entries »', 'themezee_lang')) ?></span>
</div>
<?php }?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>