accessing the loop code
-
I am trying to access the code for the WordPress loop. I am using the twenty-ten theme. The code should look something like this, but I didn’t see it off hand in any of the files I looked through.
[please use the ‘code’ button to mark any directly posted code]
<ul class="posts"> <?php query_posts('showposts=10'); ?> <?php while (have_posts()) : the_post(); ?> <li><a>" title="<?php the_title(); ?>" rel="bookmark"><?php the_title(); ?> </a></li> <?php endwhile ; ?> </u>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘accessing the loop code’ is closed to new replies.