Thank you,
I’ve already read that page, but it seems I’m doing something wrong, because, when I publish a new post in one category or the other, both columns are refreshed with the same article… this is driving me crazy… ??
Here, are the two options I tried so far (one in the main-content and the other in the aside)… None of these worked. Can you take a look and tell me what I’m doing wrong?
THANK YOU again, I appreciate…
<div id=”wrapper”>
<?php get_header(); ?>
<div class=”divider”></div>
<div id=”main-content”>
<?php
query_posts(‘cat=News’)
?>
<?php while (have_posts()) : the_post(); ?>
<h2>“><?php the_title(); ?></h2>
<div class=”index-entry”>
<div class=”index-blog-image” style=”width: 200px; height: 200px; float: right;”>
<?php
if ( has_post_thumbnail() )
the_post_thumbnail(‘thumbnail’) ;?>
</div><!–END index-blog-image–>
<div class=”index-blog-post”>
<?php the_excerpt(); ?>
</div><!–END index-blog-post–>
</div><!–END index-entry–>
<?php endwhile; ?>
<?php wp_reset_query ();?>
</div><!–END main-content–>
<aside>
<?php
$recentPosts = new WP_Query ();
$recentPosts->query(‘showposts=1&cat=-News’)
?>
<?php while ($recentPosts->have_posts()) : $recentPosts-> the_post(); ?>
<div <?php post_class() ?> id=”post-<?php the_ID(); ?>”>
<h2>“><?php the_title(); ?></h2>
<div class=”index-entry”>
<div class=”index-portfolio-image” style=”width: 200px; height: 200px; float: left;”>
<?php
if ( has_post_thumbnail() )
the_post_thumbnail(‘thumbnail’) ;?>
</div><!–END blog image–>
<div class=”index-blog-post”>
<?php the_excerpt(); ?>
</div><!–END blog-post–>
</div><!–END index-entry–>
</div><!–END Post–>
<?php endwhile; ?>
<?php wp_reset_query ();?>
</aside><!–END aside–>