Showing User’s Post Counts by Custom Post Type in the Admin’s User List?

Here’s an expansion of Mike’s tutorial answer. I added links to the types listed so you can click on one and be taken right to a listing of all the posts in that type for that author, which required an additional variable for $counts and some extra output for $custom_column[] add_action(‘manage_users_columns’,’yoursite_manage_users_columns’); function yoursite_manage_users_columns($column_headers) { unset($column_headers[‘posts’]); … Read more

Custom post type role permissions won’t let me read

Your custom post type looks like it’s set up properly. It works on my test install. Try this instead of whatever add_role and add_cap code you’re currently using. (For testing purposes only. Don’t use it in production code, for reasons outlined below.) It’s working for me: function prefix_set_up_supplier_role(){ remove_role( ‘supplier’ ); add_role( ‘supplier’, ‘Supplier’, array( … Read more