[resolved] Force WP loop to show last topics (1 post)

  1. Idiotopia
    Posted 8 years ago #

    This http://bushtanic.com/ is my website.

    On the frontpage, running the

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
      <td height="97" style="padding:14px 0px 12px 0px;">
      <?php if (function_exists('gkl_postavatar')) gkl_postavatar('post_icon', '', ''); ?>
      <img src="<?php bloginfo('stylesheet_directory'); ?>/images/mark_0_1.gif" alt="" style="margin:0px 6px 0px 0px;" width="3" height="6">
      <b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
      <p align="justify"><?php the_excerpt(); ?>
      <td style="background:url(<?php bloginfo('stylesheet_directory'); ?>/images/point_x1.gif) left top repeat-x;"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/spacer.gif" width="1" height="1" alt=""></td>
      <?php endwhile; else: ?>
      <?php _e('Sorry, no posts matched your criteria.'); ?>
      <?php endif; ?>

    code will show the excerpts of the last 3 posts posted.

    But if you go to a specific page, say http://bushtanic.com/uncategorized/horrible-internet-dating-experiences-part-i/,

    it no longer shows the last 3, but only the one you're viewing.

    How do I force it to act like it does on the front page?


Topic Closed

This topic has been closed to new replies.

About this Topic