how to exclude posts from one category to not show on sidebar on homepage only when I explicitly dont want that particular post, in all other cases post will be displayed. I had try with plugin "WP Hide Post", but that seems to not working with sidebar, only for regular loop.I check on hide this post from homepage, and nothing happens. Any solutions?.Tnx.
This is the code I use to display post in homepage sidebar:
<?php query_posts('category_name=events&showposts=3'); ?> <?php while (have_posts()) : the_post(); ?> <h2 id="post-<?php the_ID(); ?>"> <a href="<?php the_permalink() ?>" rel="bookmark" accesskey="s"><?php the_title(); ?></a> </h2> <div class="myclass3"><?php wpe_excerpt('wpe_excerptlength_index', 'wpe_excerptmore'); ?> </div><BR> <?php endwhile; ?>