Title: Hiding posts
Last modified: September 1, 2016

---

# Hiding posts

 *  Resolved [giorgiobenedetti](https://wordpress.org/support/users/giorgiobenedetti/)
 * (@giorgiobenedetti)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/hiding-posts-3/)
 * Hi, is there a function usable for completely hiding posts witch user can’t see?
   
   For example a user who can’t view a post content, is able to see always post 
   title, post main image, and only post body is hidden with a brief text… I need
   a function to completely exclude from post loops posts and pages not allowed 
   for a specific role. Is possible? For example can I add a filter hook to post_results
   or in other place in order to achieve my goal? Many thanks. GB
 * [https://wordpress.org/plugins/members/](https://wordpress.org/plugins/members/)

The topic ‘Hiding posts’ is closed to new replies.

 * ![](https://ps.w.org/members/assets/icon-256x256.png?rev=3508404)
 * [Members - Membership & User Role Editor Plugin](https://wordpress.org/plugins/members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/members/)
 * [Active Topics](https://wordpress.org/support/plugin/members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/members/reviews/)

## Tags

 * [hide](https://wordpress.org/support/topic-tag/hide/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)

 * 0 replies
 * 1 participant
 * Last reply from: [giorgiobenedetti](https://wordpress.org/support/users/giorgiobenedetti/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/hiding-posts-3/)
 * Status: resolved