Hi there,
I’m having the same very problem.
In my archive.php page I load initially 16 posts and they all follow the order I’ve set in admin via the plugin.
I have a ‘load more’ button on the same page which makes an ajax request and grab 16 more posts. These don’t follow the admin’s (plugin) order and that’s giving me a real headache because it returns repeated posts.
My ajax query looks like this (simplified):
$args = array(
'order' => 'DESC',
'orderby' => 'date',
'status' => 'publish',
'post_type' => array('que_fazer', 'onde_comer', 'onde_ficar', 'evento'),
);
It’s sad that there seems to be no documentation at all over this subject, since ajax requests are common place in any site.
Still looking for help on this.
Thanks a lot,
OBS: Here’s a link to my online site where you can see the problem happening: https://ec2-54-94-151-225.sa-east-1.compute.amazonaws.com/o-que-fazer/cultura-arte/ (you’ll need to click the ‘load more’ posts button)
Pierre