Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8090507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T19:44:47+00:00 2026-06-05T19:44:47+00:00

My menu works fine as it is, but its currently using the ASC order.

  • 0

My menu works fine as it is, but its currently using the ASC order. I tried changing it to DESC with the code below:

$args = array( 'numberposts' => 9, 'order' => 'DESC' );
$myposts = get_posts( $args );

any reason why the ‘order’ argument doesnt work?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T19:44:49+00:00Added an answer on June 5, 2026 at 7:44 pm

    according to the codex that is the default… if all else fails you could just array_reverse the result

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The following dropdown menu works fine in modern browsers (IE7/firefox) but not in IE6.
I currently have a menu using hovering image maps that works in Firefox, IE,
Using wxPython, I created a taskbar icon and menu. Everything works fine (in Windows
I am using a jquery context menu plugin ( http://www.trendskitchens.co.nz/jquery/contextmenu/ ) which works fine
I've got a simple jquery menu set up... it works fine except for the
When I click menu strip and then press shortcut key it works but it
using jquery ui 1.8 trying autocomplete Everything works apart from that the ui-menu isn't
I have a problem with a page. Its using CSS floats. Everything looks fine
I've got a css-based horizontal drop down menu that works perfectly well, but I'm
I have a right click popup menu that works fine. I now want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.