Why not correctly display tags in your wordpress site?

enter image description here

has this problem. On the page to display posts for the current tag, the tags are displayed incorrectly posts. If the tags of the posts are the same then they are added together and displayed for a single post, and for another – no, what’s the matter ? Tags deduce by using:

 * 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">
       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 class="post-exp">
          <?php the_excerpt(); ?>
        <div class="tags">
          <?php the_tags('',''); ?>
      <?php }
      if (function_exists('custom_pagination')) {
} // end while
} // end if

</div><!-- #content -->
</div><!-- #container -->
<?php get_footer(); ?>

Read more here: Why not correctly display tags in your wordpress site?

Leave a Reply

Your email address will not be published. Required fields are marked *