File: /var/www/vhosts/enlugo.es/httpdocs/wp-content/themes/rubine/author.php
<?php get_header(); ?>
<?php // Get Theme Options from Database
$theme_options = rubine_theme_options();
?>
<?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="wrap" class="container clearfix">
<section id="content" class="primary" role="main">
<h2 id="author-title" class="archive-title">
<?php printf(__('Author Archives: %s', 'rubine'), '<span>' . esc_attr($author->display_name) . '</span>'); ?>
</h2>
<?php if (have_posts()) : while (have_posts()) : the_post();
get_template_part( 'content' );
endwhile;
rubine_display_pagination();
endif; ?>
</section>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>