1

How can I show user's post counts of one's (Author) own in the admin post list (edit.php) instead of all post count of the system? like published (10), Draft (5) ... of his own or logedin user.

Thanks in advance.

1

Have a look here for the solution (code needs optimizing, but it works): Help to condense/optimize some working code

1

This seems to be applied automatically if user doesn't have edit_others_posts capability for post type ( source ).

Otherwise I see no easy way to change it. As many things in admin it is mostly hardcoded and doesn't pass through any filters.

  • thanks for your reply Rarst. But I dont let the author to give edit_others_posts capability and they should not also. I need a solution without modifying the core. Thanks. – mha Jan 30 '11 at 17:29
  • @mha if I read code right then if they don't have the capability then counts should be limited to their posts automatically. – Rarst Jan 30 '11 at 18:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.