File: /home/ricpug/tecnomarketconsult.co_202106170822/wp-content/themes/ananke/author.php
<?php
global $theme_option;
$thumbnail1 = $theme_option['blog_thumbnail'];
get_header(); ?>
<section class="blog" id="blog">
<div class="parallax-section">
<div class="parallax-blog" <?php if($thumbnail1['url'] != ''){ ?> style="background-image: url('<?php echo esc_url($thumbnail1['url']); ?>');" <?php } ?> ></div>
<div class="overlay-blog"></div>
<div class="container z-index-pages">
<div class="sixteen columns">
<h1><?php
the_post();
printf( __( 'Posts de %s', 'ananke' ), get_the_author() );
?></h1>
</div>
<div class="sixteen columns">
<div class="sub-text"><?php echo esc_attr($theme_option['blog_subtitle']); ?></div>
</div>
</div>
</div>
</section>
<section class="blog-post-wrapper <?php if ($theme_option['blog_layout'] == 'wsb') { echo "blog-sidebar";}?>">
<?php if ($theme_option['blog_layout'] == 'wsb') { ?>
<div class="container">
<div class="twelve columns">
<?php if(have_posts()) : ?>
<?php while(have_posts()) : the_post(); ?>
<?php get_template_part( 'content', ( post_type_supports( get_post_type(), 'post-formats' ) ? get_post_format() : get_post_type() ) ); ?>
<?php endwhile;?>
<?php else: ?>
<h1><?php _e('Nenhuma informação foi encontrada!', 'ananke'); ?></h1>
<?php endif; ?>
<?php
global $wp_query;
if($wp_query->max_num_pages>0){
?>
<div class="pagination">
<?php ananke_pagination();?>
</div>
<?php } ?>
</div>
<div class="four columns">
<?php get_sidebar();?>
</div>
</div>
<?php }else{ ?>
<div class="container">
<div class="sixteen columns">
<?php if(have_posts()) : ?>
<?php while(have_posts()) : the_post(); ?>
<?php get_template_part( 'content', ( post_type_supports( get_post_type(), 'post-formats' ) ? get_post_format() : get_post_type() ) ); ?>
<?php endwhile;?>
<?php else: ?>
<h1><?php _e('Nenhuma informação foi encontrada!', 'ananke'); ?></h1>
<?php endif; ?>
</div>
</div>
<?php
global $wp_query;
if($wp_query->max_num_pages>0){
?>
<div class="container">
<div class="pagination">
<?php ananke_pagination();?>
</div>
</div>
<?php } } ?>
</section>
<?php
get_footer();