Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • elephantwoman

    (@elephantwoman)

    Ia€?m afraid none.

    It should be simple, when using “cat=xx” to tell wp to exclude other categories other than xx but I really don’t see how.

    (For reference, if ID is prefered then “cat” instead of “category_name”. And for showing all posts “showposts=-1”)

    elephantwoman

    (@elephantwoman)

    Try

    orderby=title&order=ASC

    For reference, this works for me (xxx what you whant) :

    <?php query_posts("category_name=xxx&orderby=title&order=
    ASC&showposts=xxx"); ?>
    <?php while (have_posts()) : the_post(); ?>
    <li><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></li>
    <?php endwhile; ?>

Viewing 2 replies - 1 through 2 (of 2 total)