• Resolved hugblue71

    (@hugblue71)


    Hi ..

    I found this code to add id numbers on page screen ..

    add_filter('manage_posts_columns', 'posts_columns_id', 5);
        add_action('manage_posts_custom_column', 'posts_custom_id_columns', 5, 2);
        add_filter('manage_pages_columns', 'posts_columns_id', 5);
        add_action('manage_pages_custom_column', 'posts_custom_id_columns', 5, 2);
    function posts_columns_id($defaults){
        $defaults['wps_post_id'] = __('ID');
        return $defaults;
    }
    function posts_custom_id_columns($column_name, $id){
            if($column_name === 'wps_post_id'){
                    echo $id;
        }
    }

    Is there a way to rewrite this to make it show ORDER numbers also ?
    Or are there another plugin i could use for that ?

    Thz.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Order number’ is closed to new replies.