Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<ul>
<?php
$archive_posts = new WP_Query('category_name=Biographies&showposts=-1&orderby=name&order=ASC'); while($archive_posts->have_posts()) : $archive_posts->the_post();
?>
<li><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permalink to <?php the_title(); ?>"><?php the_title(); ?></a></li>
<?php endwhile; ?>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment