I'm new to WordPress, and I'm having an issue with "The Loop." I have a sidebar on the left side of a page that's supposed to show recent posts from two categories. In the middle of the page, there should be content for that specific page. In the right column, there should be posts for a specific category.
Here's the problem: When I set up the left column, the middle column shows the posts content instead of the pages. See http://opachicago.com/wp/ if that doesn't make sense.
Here's my Loop codes:
Left Column (which should show Latest Posts):
<?php query_posts('category_name=News and Events, Uncategorized&showposts=5'); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<p><?php the_time('M j') ?>: <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></p>
<?php endwhile; ?>
<?php endif; ?>
Middle Column (which should show Page content):
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; ?>