39 lines
1.8 KiB
PHP
39 lines
1.8 KiB
PHP
<?php get_header(); get_template_part('template-parts/breadcrumb'); ?>
|
|
</div>
|
|
<div class="main">
|
|
<div class="container">
|
|
<div class="main-content">
|
|
<div class="archive-title">
|
|
<h2>
|
|
<?php
|
|
if ( is_tag() ) :
|
|
printf( __('Posts Tagged: %1$s','thanhgiang'), single_tag_title( '', false ) );
|
|
elseif ( is_category() ) :
|
|
printf( __('Posts Categorized: %1$s','thanhgiang'), single_cat_title( '', false ) );
|
|
elseif ( is_day() ) :
|
|
printf( __('Daily Archives: %1$s','thanhgiang'), the_time('l, F j, Y') );
|
|
elseif ( is_month() ) :
|
|
printf( __('Monthly Archives: %1$s','thanhgiang'), the_time('F Y') );
|
|
elseif ( is_year() ) :
|
|
printf( __('Yearly Archives: %1$s','thanhgiang'), the_time('Y') );
|
|
endif;
|
|
?>
|
|
</h2>
|
|
</div>
|
|
<?php if ( is_tag() || is_category() ) : ?>
|
|
<div class="archive-description">
|
|
<?php echo term_description(); ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
<?php
|
|
get_template_part('template-parts/loop');
|
|
thanhgiang_numeric_posts_nav(); ?>
|
|
</div>
|
|
<aside class="sidebar">
|
|
<?php get_sidebar(); ?>
|
|
</aside>
|
|
</div>
|
|
</div><!-- //main -->
|
|
</div><!-- //page -->
|
|
|
|
<?php get_footer(); ?>
|