Support » Plugins » Help with The Loop

  • Hello,
    I am having some issues with a site and would be greatly appreciative if someone could provide some assistance. The issue is that on the blog’s home page, the “comment cloud” that displays the number of comments is only being displayed for the first post and not all posts.

    I’ve pasted the code below:

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 2 replies - 1 through 2 (of 2 total)
  • <?php get_header(); ?>
            <div class="outer">
              <div class="inner">
    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
              	<div class="span-4 comments clearfix">
                	<p><a href="<?php comments_link(); ?>">
                	<?php comments_number('No comments', '1 comment', '% comments'); ?></a></p>
                <div class="span-14 last blog">
                	<div class="sub content">
                   	<h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
                	<p class="meta">On <span class="date"><?php the_time('F j, Y'); ?></span>, in <?php the_category(', '); ?></p>
                	<?php the_content(); ?>
                	<?php endwhile; else: ?>
                	<p>Sorry, no posts we're found.</p>
                	<?php endif; ?>
                	<?php comments_template();?>
          <?php get_sidebar(); ?>
    <?php get_footer(); ?>


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help with The Loop’ is closed to new replies.