WordPress.org

Ready to get started?Download WordPress

Forums

Show last 10 posts in a category, in alphabetical order (1 post)

  1. obsessedwithfilm
    Member
    Posted 5 years ago #

    Hello,

    How can I show the latest 10 posts in alphabetical order. This is being used outside of the main loop as a sidebar list... but all I can seem to get working is to show 10 posts in alphabetical order from the whole category... rather than the LATEST 10 posts (i.e. the last 10 posted).

    <?php query_posts('cat=3&showposts=10&orderby=title&order=ASC'); ?>

    This doesn't work for obvious reasons so how can it be done?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.