Quote:
Originally Posted by whiskey dick
I'm actually trying to list the posts from a particular category in alphabetical order, not the category names.
I have a new site with a featured model category and on the page for the "Models" category (splackle.com/category/models/) I want an alphabetical list of all models I've added above the actual entries.
I just went ahead and put the link in by hand since I'll only be updating that category once a week and it shouldn't be a big deal to add a new one for each post.
|
you want something like this then
Code:
<?php $my_query = new WP_Query('cat_name=models&showposts=50&orderby=title');
while ($my_query->have_posts()) : $my_query->the_post();
$do_not_duplicate = $post->ID; ?>
<a href="<?php the_permalink();?>"><?php the_title();?></a>
<?php endwhile; ?>