Hey Ya'll,
I recently created a mini-loop on the front page of my site in the works. The code looks like this:
<div id="news"> <?php if (is_category('news')) {query_posts ('category_name=news');} ?> <?php if (have_posts()) : while (have_posts()) : the_post(); if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="entry">
<?php the_content(''); ?>
</div>
</div>
<div class="spaceit"></div><?php $count++; $y = 6; $r = fmod($count, $y);if ($r==0){echo '</div><div id="news">';}?><?php endwhile; endif; ?>
</div>
I did not write this code. It's a mod from another code found via a user who posted here almost a year ago.
Thus my problem is that every time I post using the specific category, because it's a post, the darn updates end up in my rss feed. I'd like another page to be the blog, and the rss would only include the posts on that blog, which is separate from the homepage.
Any ideas how to leave the rss out? Thank ya'!