Title: Post Count Per User
Last modified: August 30, 2016

---

# Post Count Per User

 *  [StoneSpiral](https://wordpress.org/support/users/stonespiral/)
 * (@stonespiral)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/post-count-per-user/)
 * Hi, I’m using Groups for a project I’m working on and my client wants to have
   a page in wp-admin which shows the number of posts per user.
 * WP_Query is returning all posts for each user on the site not posts they have
   access to
 * [https://wordpress.org/plugins/groups/](https://wordpress.org/plugins/groups/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Kento](https://wordpress.org/support/users/proaktion/)
 * (@proaktion)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/post-count-per-user/#post-6735763)
 * Hi,
 * Do you mean posts per author? Then you could use [count_user_posts()](https://codex.wordpress.org/Function_Reference/count_user_posts).
   This isn’t related directly to Groups though, just a function that WordPress 
   itself provides.
 * Cheers

Viewing 1 replies (of 1 total)

The topic ‘Post Count Per User’ is closed to new replies.

 * ![](https://ps.w.org/groups/assets/icon-256x256.png?rev=983146)
 * [Groups](https://wordpress.org/plugins/groups/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/groups/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/groups/)
 * [Active Topics](https://wordpress.org/support/plugin/groups/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/groups/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/groups/reviews/)

## Tags

 * [user query](https://wordpress.org/support/topic-tag/user-query/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kento](https://wordpress.org/support/users/proaktion/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/post-count-per-user/#post-6735763)
 * Status: not resolved