WordPress.org

Ready to get started?Download WordPress

Forums

Customise order of latest 3 posts (3 posts)

  1. kimmi_baby
    Member
    Posted 1 year ago #

    Hi,

    I have the following code that can be found here

    What I would like to do is change the order of the 3 latest blog posts. At the moment, the latest is appearing on the right instead of the left. How can I change this?

  2. kimmi_baby
    Member
    Posted 1 year ago #

    I've also tried this $recentPosts->query("showposts=3&orderby=date&order=DESC");
    and it doesnt work...

  3. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters

    DESC is the default; have you tried ASC ?

    posting a link to your site might help to illustrate the problem.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags