Olursa olsun deneyin ya da ne yapmam, nasıl ben başlığa göre benim mesaj sipariş edebilirsiniz:
# Vars
global $post;
# Build
$args = array(
'numberposts' => -1,
'category' => 28,
'orderby' => 'title',
'order' => 'ASC',
'post_type' => 'post',
'post_status' => 'published' );
# Query
$tagposts = get_posts($args);
# Iterate
foreach($tagposts as $post) :
# Populate
setup_postdata($post);
# Show title, excerpt
echo '<tr><td>';
the_title();
echo '</td><td>';
the_excerpt();
echo '</td></tr>';
endforeach;
Onlar hep onlara girdi sırayla çıkıyor. Ben bile date tarafından sipariş alınamıyor.
EDIT: I am running 3.0.3 against MySQL on Windows
I should also note that the category I am searching on is a subcategory. The results show up fine.
Updated with latest technique which still results in the wrong order.