<?php get_header(); ?>
<div class="content-wrap">
	<div class="content">
		<?php magnews_breadcrumbs() ?>

		<div class="page-head">
			<h2 class="page-title">
				<?php printf( __( 'Tag Archives: %s', 'magnews' ), '<span>' . single_tag_title( '', false ) . '</span>' );	?>
			</h2>
			<?php if( magnews_get_option( 'tag_rss' ) ):
				$tag_id = get_query_var('tag_id'); ?>
			<a class="rss-cat-icon tooltip" title="<?php _e( 'Feed Subscription', 'magnews' ); ?>"  href="<?php echo  get_term_feed_link($tag_id , 'post_tag', "rss2") ?>"><?php _e( 'Feed Subscription', 'magnews' ); ?></a>
			<?php endif; ?>
			<div class="stripe-line"></div>
		</div>
		
		<?php get_template_part( 'loop', 'tag' );	?>
		<?php if ($wp_query->max_num_pages > 1) magnews_pagenavi(); ?>
		
	</div> <!-- .content -->
	
<?php get_sidebar(); ?>
<?php get_footer(); ?>