[wp-hackers] query_posts orderby not working properly
wphackers at jakemgold.myfastmail.com
Sat Aug 14 04:22:44 UTC 2010
Valid options for orderby and order:
Your first example certainly shouldn't work. You can't order by a
specific post's title. I'm not sure why the second example isn't working
for you, but I can attest to the fact that it /does/ work.
What order does it give you?
On 8/13/2010 11:57 PM, Brian Fidler wrote:
> I'm having a problem getting a query to order properly. This is what I
> currently have:
> $post->post_title . '&order=DESC');
> I've also tried:
> Any idea what I could be missing?
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers