Title: Using custom post types
Last modified: August 21, 2016

---

# Using custom post types

 *  [markjohnl](https://wordpress.org/support/users/markjohnl/)
 * (@markjohnl)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/using-custom-post-types-1/)
 * Hi,
 * I’m using Justin’s plugin to remove the ability to edit and publish to the blog
   for a new role that I had created.
 * I recently added the ‘Testimonials’ plugin and a couple of others that use custom
   post types. It seems that by removing the ability to edit Posts also removes 
   the ability for members of the new group to edit the new custom post types. I
   guess this is because underneath it all,they are still considered by WordPress
   as posts.
 * Has anyone figured out how best to get around this?
 * Thanks,
 * Mark
 * [http://wordpress.org/plugins/members/](http://wordpress.org/plugins/members/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/using-custom-post-types-1/#post-4369097)
 * I’m not sure which testimonials plugin you are using as there are several similarly
   named ones. If you look at the code which defines your custom post type, you 
   will probably find something like
 *     ```
       'capability_type' => 'page',
       ```
   
 * or
 *     ```
       'capability_type' => 'post',
       ```
   
 * This means that the CPT inherits any capabilities that are set for pages or posts.
   To change the behaviour it would need to be changed here to use a custom capability_type
   which will need to be defined.
 * Justin has written about adding this at [http://justintadlock.com/archives/2010/07/10/meta-capabilities-for-custom-post-types](http://justintadlock.com/archives/2010/07/10/meta-capabilities-for-custom-post-types)
   if you have that set up for your CPT you can then use Members to assign the capability
   to a role granted to the users who are to manage it.
 *  Thread Starter [markjohnl](https://wordpress.org/support/users/markjohnl/)
 * (@markjohnl)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/using-custom-post-types-1/#post-4369120)
 * Thanks cubecolour, I’ll take a look at the code and read up on Justin’s post.
 * Thanks again,
 * Mark

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Using custom post types’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [markjohnl](https://wordpress.org/support/users/markjohnl/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/using-custom-post-types-1/#post-4369120)
 * Status: not resolved