Title: Restrict access to post type
Last modified: August 24, 2016

---

# Restrict access to post type

 *  [billhi](https://wordpress.org/support/users/billhi/)
 * (@billhi)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/restrict-access-to-post-type/)
 * I have some pages of categorized downloads that are restricted via user capability.
   Works fine.
 * In the header, I’ve put in a search feature for downloads by title or category.
   This ‘goes around’ my Groups page-id-based protection. Does Groups provide a 
   means to restrict access to these?
 * The form of the search url is this: ?post_type=download&s=my-search-item
 * I’ll temporarily solve this by putting the search form in a protected page, but
   I’d like to move the search form back to the header.
 * Thanks. Nice plugin.
 * [https://wordpress.org/plugins/groups/](https://wordpress.org/plugins/groups/)

The topic ‘Restrict access to post type’ is closed to new replies.

 * ![](https://ps.w.org/groups/assets/icon-256x256.png?rev=983146)
 * [Groups - Memberships and Access Control](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/)

 * 0 replies
 * 1 participant
 * Last reply from: [billhi](https://wordpress.org/support/users/billhi/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/restrict-access-to-post-type/)
 * Status: not resolved