<?php
/**
* The template for displaying Tag Archive pages.
*
*/
get_header(); ?>
<div class="background-type-2">
<div class="main-content">
<div class="line-ver">
<div class="wrapper">
<?php get_sidebar('blog'); ?>
<div id="container">
<div id="content" class="blog" role="main">
<?php
if ( have_posts() ) {
while ( have_posts() ) {
the_post(); ?>
<article id="post-<?php the_ID(); ?>"<?php post_class(); ?>>
<div class="post_headline">
<h3><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
</div>
<div class="post-exp">
<?php the_excerpt(); ?>
</div>
<div class="tags">
<?php the_tags('',''); ?>
</div>
</article>
<?php }
if (function_exists('custom_pagination')) {
custom_pagination($query->max_num_pages,"",$paged);
} // end while
} // end if
?>
</div><!-- #content -->
</div><!-- #container -->
</div>
</div>
</div>
</div>
<?php get_footer(); ?>
get_header(); ?>
<div class="background-type-2">
<div class="main-content">
<div class="line-ver">
<div class="wrapper">
<?php get_sidebar('blog'); ?>
<div id="container">
<div id="content" class="blog" role="main">
<?php
if ( have_posts() ) :
while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>"<?php post_class(); ?>>
<div class="post_headline">
<h3><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
</div>
<div class="post-exp">
<?php the_excerpt(); ?>
</div>
<div class="tags">
<?php var_dump(get_the_terms( $post->id, 'post_tag' ));?>
</div>
</article>
<?php endwhile;
if (function_exists('custom_pagination')) {
custom_pagination($query->max_num_pages,"",$paged);
}
endif;
?>
</div><!-- #content -->
</div><!-- #container -->
</div>
</div>
</div>
</div>
<?php get_footer(); ?>