<li id="n2-<?php the_ID(); ?> " class="user_id_<?php the_author_ID(); ?> "> <a href="<?php the_permalink(); ?> " title="<?php the_title(); ?> "> <?php $s->mshot(200); ?> </a> <div class="shadow notext"> </div> <h2><a href="<?php the_permalink(); ?> "><?php the_title(); ?> </a></h2> <?php // Don't show the avatar if the previous post was by the same user $current_user_id = get_the_author_ID(); if ($previous_user_id !== $current_user_id) { echo member_get_avatar($current_user_id, get_the_author_email(), 48);
</a></h2> <?php the_content(); ?> <?php the_tags(__('Tags: '), ', ', ' '); ?> <a href="<?php echo $s->url; ?> " title="<?php the_title(); ?> "> <?php echo $s->mshot(500); ?> </a> <div class="shadow notext"> </div> </article> <?php } } ?> </div> <?php get_sidebar(); get_footer();