I’m sitting here looking at teh code for the Recent Posts widget and I have a question about Wp_Query. Here’s the code used in the widget:
$r = new WP_Query('showposts=10'); if ($r->have_posts()) :
I’ve also read teh codex on the function but did not find my answer:
I don’t find nay mention of showposts over there either so I’m kind of scratching my head.
My main question though is there anyway to out put in an alphbetical list using this function call?
As an aside, is there a better description on how to use this function and what configuations can be used with it?
- The topic ‘WP_Query output but in order’ is closed to new replies.