Hello,
First of all, many thanks for your attention.
I would want to list all the posts form a category (id=2) into a page. I've installed the great EXEC-PHP so I can run PHP code into a page, and, after searching the DOCS section in wordpress.org and this forum, I've write the following code:
<?php query_posts('cat=2'); ?>
<?php while (have_posts()) : the_post(); // start your Loop ?>
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
<?php endwhile; ?>
Well, the code works but instead of only list the posts with a link to the full post, it do this list AND shows the full post in the same page. I would want just a list but I can't find the error. I would appreciate a lot all kind of help!
Thanks and regards,
Álvaro.