• First of all, thank you for an amazing plugin; have been looking for something like this forever!

    One question: I need to sort multiple post types on the same grid (posts, movies, pages). I tried to specify them during registration in an array, as follows, but no luck:

    add_action('init', 'site_register_wp_grid_sorters');
    function site_register_wp_grid_sorters()
    {
        if (function_exists('wp_grid_sorter_register_sort_key')) {
            $args = array(
                'name' => 'Sort All Posts',
                'post_type' => array('post', 'page')
            );
            wp_grid_sorter_register_sort_key('sort_all_posts', $args);
        }
    }

    Is there any way this could be done? It would be perfection.

    Many thanks in advance.

    https://wordpress.org/plugins/wp-grid-sorter/

  • The topic ‘Possible to sort multiple post types on the same page?’ is closed to new replies.