Title: Query using user meta
Last modified: August 21, 2016

---

# Query using user meta

 *  [jpajot](https://wordpress.org/support/users/jpajot/)
 * (@jpajot)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/query-using-user-meta/)
 * Hi,
    First thank you for making the loop modif so easy. I wonder why doesn’t 
   use it more. Probably because it is not integrated in WP as it is in Drupal.
 * I am trying to achieve a loop that queries post accordingly to the rights of 
   the current user using the Groups Plugin fields.
    I should have a loop like that:
   > General = Products post type > Custom Fields parameter: key: groups-groups_read_post
   = “current user”>wp_groups_user_capability So I want to query posts based on 
   the capability value of the connected user, but I don’t where (nor exactly how)
   to write that in the plugin.
 * Is it possible to achieve? Or If you think you could do it as a custom dev, I
   can pay you as well.
 * Thank you for you answer and again great job!
 * Julien
 * [http://wordpress.org/plugins/the-loops/](http://wordpress.org/plugins/the-loops/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Ulrich Sossou](https://wordpress.org/support/users/sorich87/)
 * (@sorich87)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/query-using-user-meta/#post-4114423)
 * It doesn’t currently have this feature.

Viewing 1 replies (of 1 total)

The topic ‘Query using user meta’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/the-loops.svg)
 * [The Loops](https://wordpress.org/plugins/the-loops/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-loops/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-loops/)
 * [Active Topics](https://wordpress.org/support/plugin/the-loops/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-loops/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-loops/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ulrich Sossou](https://wordpress.org/support/users/sorich87/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/query-using-user-meta/#post-4114423)
 * Status: not resolved