This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php query_posts('cat=1&showposts=5'); ?> | |
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> | |
<li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a> | |
<?php the_excerpt() ?> | |
</li> | |
<?php endwhile; endif; ?> | |
and the second attempt: |