Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- get_header(); ?>
- <div id="primary" class="content-area span_16 col clr-margin clr">
- <div id="content" class="site-content" role="main">
- <h1 class="archive-title"><?php
- if ( is_day() ) :
- printf( __( 'Daily Archives: %s', 'wpex' ), get_the_date() );
- elseif ( is_month() ) :
- printf( __( 'Monthly Archives: %s', 'wpex' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'wpex' ) ) );
- elseif ( is_year() ) :
- printf( __( 'Yearly Archives: %s', 'wpex' ), get_the_date( _x( 'Y', 'yearly archives date format', 'wpex' ) ) );
- else :
- echo single_term_title();
- endif;
- ?></h1>
- <?php if ( have_posts() ) : ?>
- <header class="archive-header">
- <div class="archive-description"><?php echo term_description(); ?></div>
- </header><!-- .archive-header -->
- <?php /* The loop */ ?>
- <?php while ( have_posts() ) : the_post(); ?>
- <?php get_template_part( 'content', get_post_format() ); ?>
- <?php endwhile; ?>
- <?php wpex_pagination(); ?>
- <?php else : ?>
- <?php get_template_part( 'content', 'none' ); ?>
- <?php endif; ?>
- </div><!-- #content -->
- </div><!-- #primary -->
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment