Support » Themes and Templates » Category template not listing posts by name

  • mandawahoo

    (@mandawahoo)


    Using the following code, I am trying to get the posts to appear in alphabetical order when someone clicks on a category.

    <?php query_posts(‘cat=&orderby=name&order=ASC’); ?>

    It is still listing by date, however, because it is listing in reverse alphabetical order if I use ASC or DESC. Any idea why it will only list by date and not by post name?

    Any help will be greatly appreciated.

    Thanks!
    http://gibsondesignmanagement.com/reviewcenter/category/designcenters/denver/

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Category template not listing posts by name’ is closed to new replies.