WordPress Development Asked by kelvin ramirez on November 16, 2021
I have this query:
$args = array(
'post_type' => 'alerts',
'post_status' => 'publish',
'posts_per_page' => -1,
'orderby' => 'post_title',
'order' => 'ASC',
);
$alerts_loop = new WP_Query( $args );
The problem is that the order breaks in certain point. look at the imagen any ideas why it breaks. I have used:
'orderby' => 'title',
'suppress_filters' => true,
'ignore_sticky_posts' => true
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP