File: /home/zeusxp5/zenoxpressjobs.com/careers.htm/wp-content/themes/zxldfw-tcompanyllcMain/archive.php
<?php
/* Blocks author pages for web.com internal users */
$curauth = ( get_query_var( 'author_name' ) ) ? get_user_by( 'slug', get_query_var( 'author_name' ) ) : get_userdata( get_query_var( 'author' ) );
if($curauth and (user_can($curauth->ID, 'manage_network') or $curauth->user_login == 'janitor' or $curauth->user_login == 'acwinternal' or $curauth->user_login == 'acwinternal2') ) {
wp_safe_redirect(home_url(), '301');
exit;
}
?>
<?php get_header(); ?>
<div id="primary" class="site-content" role="main">
<?php if ( have_posts() ) : ?>
<header class="archive-header">
<h1>
<?php
if ( is_day() ) : printf( 'Posts made on %s', get_the_date() );
elseif ( is_month() ) : printf( 'Posts made in %s', get_the_date( 'F Y' ) );
elseif ( is_year() ) : printf( 'Posts made in %s', get_the_date( 'Y' ) );
elseif ( is_category() ) : printf( single_cat_title( '', false ) );
elseif ( is_author() ) : printf( 'About %s', get_the_author() );
elseif ( is_tag() ) : printf( 'Posts tagged with "%s"', single_tag_title( '', false ) );
else : printf( 'Archives' );
endif;
?>
</h1>
</header>
<?php if( is_author() and get_the_author_meta( 'description' ) ) : ?>
<div class="author-info">
<div class="author-avatar">
<?php
$author_bio_avatar_size = apply_filters( '_author_bio_avatar_size', 68 );
echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
?>
</div>
<div class="author-description">
<p><?php the_author_meta('description'); ?></p>
</div>
</div>
<?php endif; ?>
<?php
while ( have_posts() ) :
the_post();
get_template_part( 'content', get_post_format() );
endwhile;
?>
<?php webcom_content_nav( 'nav-below' ); ?>
<?php else : ?>
<article id="post-0" class="post no-results not-found">
<header class="entry-header">
<h1>Nothing Found</h1>
</header>
<div class="entry-content">
<p>Apologies, but there are currently no posts here. Perhaps searching will help find a related post.</p>
<?php get_search_form(); ?>
</div>
</article>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>