Intuitive Custom Post Order plugin are enough convenient way sorting posts from admin dashboard. But sometimes we can get bugs, when we have one order output posts in dashboard and other order in our posts on the front-end at the site.

Intuitive Custom Post Order plugin wrong sorting posts

Problem: Intuitive Custom Post Order plugin doesn't sort posts in custom posts loop.

Solution: In my case, I used for reduced workloads next argumnets for loop query   bug did disappears.

<?php
$args = [
...
	'fields' => 'ids',
...
];

and it caused bug. If we'll use

<?php
$args = [
...
	'fields' => 'all',
...
];

bug did disappears.

Leave Comment

Your email address will not be published. Required fields are marked *