I'm trying to get a list of posts from one category, echo the title and the permalink of all posts on that category but exclude the permalink and the post name IF the current post is on that list.
It will be displayed on single.php after or inside the loop
Anyone knows if it is possible, if so how?
Thanks in advance
<?php query_posts('category_name=MyCatName&showposts=-1'); ?> <?php while (have_posts()) : the_post(); ?> <a href="<?php the_permalink(); ?>"> <?php the_title(); ?> </a> <?php endwhile; ?>