• I use custom menus for my portfolio website: http://www.trishabartle.com/

    For some reason, all of the custom menu items, when clicked, show the posts in alphabetical order rather than reverse chronological. Anyone have any idea of what I can do to the code to change it?

    For example, if you click “News,” you’ll see posts from the “Updates” category, but in alphabetical order. Booooo.

Viewing 1 replies (of 1 total)
  • Thread Starter goldferris

    (@goldferris)

    I’ve been doing some digging on my problem and have more information to add.

    So, I realized that my custom menus were pointing to category pages. When looking for a resolution, I looked for cat page sort stuff instead. I found a wide range of topics in these forums about using this code to change the sorting for posts:

    <?php query_posts($query_string . '&orderby=date&order=DESC') ?>

    I added that before the loop in archive.php. It didn’t work. I tried it in index.php. It didn’t work. So, I still have no idea why posts are sorting alphabetically instead of reverse chronological.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Menu Posts Aren't In Reverse Chronological Order’ is closed to new replies.