Open mplusb opened 4 years ago
It seems that the gardian of your condition where you force using menu order is not complete in the ‘pre_get_posts’ action.
If I use suppress_filters with true, wont work.
I think it will be better if the gardian is isset($wp_query->query[‘suppress_filters’]) && !$wp_query->query[‘suppress_filters’] )
It seems that the gardian of your condition where you force using menu order is not complete in the ‘pre_get_posts’ action.
If I use suppress_filters with true, wont work.
I think it will be better if the gardian is isset($wp_query->query[‘suppress_filters’]) && !$wp_query->query[‘suppress_filters’] )