Support

Account

Home Forums Add-ons Options Page Option page's field order is different from setting. Reply To: Option page's field order is different from setting.

  • @james

    I found the problem. As you said, I deactivated all plugins except ACF, and rechecked functions.php then I found a little function I wrote to reorder posts by date in admin page. That was it.

    I am really really embarrassed and sorry for the trouble.
    Just in case,

    function my_stupid_function($wp-query) {
    global $pagenow;
       if ( is_admin() && 'edit.php' == $pagenow && !isset($_GET['orderby'])) {
         $wp_query->set( 'orderby', 'date' );
         $wp_query->set( 'order', 'DESC' );
       }
    }
    add_filter('pre_get_posts', 'my_stupid_function' );