File: /virtual/nagasaki/public_html/shop/wp-content/themes/riffles_ver1.1/archive-item.php
<?php
/**
* @package Riffles
* @link http://www.u-hg.com/
* @author RiffleHatch
* @copyright Copyright (c)2014 RiffleHatch
*/
get_header(); ?>
<section class="itemarchive">
<div class="row clear">
<?php if ( is_active_sidebar( 'sidebar-5' ) ) : ?>
<div id="primary" class="widget-area col col-2 no-tablet no-mobile" role="complementary">
<?php dynamic_sidebar( 'sidebar-5' ); ?>
</div><!--.widget-area -->
<div class="col col-10 tablet-full mobile-full">
<?php else: ?>
<div class="col col-12 tablet-full mobile-full"><!--.nowidget -->
<?php endif; ?>
<header class="page-header">
<h1 class="page-title">
<?php
if ( is_category() ) :
single_cat_title();
elseif ( is_tag() ) :
single_tag_title();
else :
_e( 'Archives', 'riffles' );
endif;
?>
</h1>
<?php
$term_description = term_description();
if ( ! empty( $term_description ) ) :
printf( '<div class="taxonomy-description" itemprop="description">%s</div>', $term_description );
endif;
?>
</header><!-- .page-header -->
<ul class="block itemlist">
<?php if(have_posts()): while(have_posts()): the_post(); ?>
<?php get_template_part('thumbnail-box'); ?>
<?php endwhile; endif; ?>
</ul>
<div class="col col-12 tablet-full mobile-full">
<?php dynamic_sidebar( 'sidebar-7' ); ?>
<?php riffles_paging_nav(); ?>
</div>
</div>
</div><!-- row -->
</section><!-- section -->
<?php get_footer(); ?>