Title: Edmund's Replies | WordPress.org

---

# Edmund

  [  ](https://wordpress.org/support/users/animo94/)

 *   [Profile](https://wordpress.org/support/users/animo94/)
 *   [Topics Started](https://wordpress.org/support/users/animo94/topics/)
 *   [Replies Created](https://wordpress.org/support/users/animo94/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/animo94/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/animo94/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/animo94/engagements/)
 *   [Favorites](https://wordpress.org/support/users/animo94/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Groups] custom loop based on user group](https://wordpress.org/support/topic/custom-loop-based-on-user-group/)
 *  [Edmund](https://wordpress.org/support/users/animo94/)
 * (@animo94)
 * [10 years ago](https://wordpress.org/support/topic/custom-loop-based-on-user-group/#post-7000570)
 * I have been looking at this snippet to possibly solve my predicament. Unfortunately,
   I am relatively new to wordpress; even more to php and is completely loss on 
   how to use or where to insert it.
 * I would like to use the snippet described above to check if a user belongs to
   a group(sign-in) if they are not then it will assume that the user is logged-
   out. If the user is logged-out, All product category in my shop should be visible.
   I apologize in advance if this might sound elementary, but have been working 
   on this for days and have not found a solution.
 * Will appreciate all the help. Thanks!

Viewing 1 replies (of 1 total)