Tagged Questions
0
votes
0answers
12 views
Custom taxonomy not working after capability change
I have a custom taxonomy, that worked fine. Until I did the following:
Added new role
Assigned a new capability for the taxonomy
Created new post type, and assigned the taxonomy to it (The cpt name ...
0
votes
1answer
23 views
Roles and Capabilities in Custom Post Types
Is there a way to create one role with one capability and apply it to some of the custom post types?
What I am doing right now is ending up with applying capabilities to all of the posts..
creating ...
0
votes
1answer
26 views
Conflict between Capabilities and Menu Visibility with Custom Post Types
I hope this isn't just the result of typo on my end, but if it is, I'm not seeing it.
I'm adding a custom post type to my site. Actually I'm adding three. Two of them I'm trying to set custom ...
0
votes
0answers
31 views
Capability to read user's own draft post of CPT
I've got a custom role called 'Gym' and custom post type (CPT) called 'Story'. Every Gym user can create a draft of a story and view their own story drafts.
My 'Story' CPT have got the following ...
1
vote
0answers
38 views
Unable to delete custom post types, confusion around capabilities
So I'm working on a plugin for creating a questions/answers system that's as simple and well-integrated as possible (not unlike this site) but am stuck at the creation of the custom post types.
You ...
0
votes
1answer
53 views
Custom role, capabilities, and post type: preview button wrecks things
I'm using the Members plugin to manage capabilities of a custom role that will only be able to edit/publish a custom post type that I created in my functions.php file. After much work, I got this ...
1
vote
1answer
151 views
Limit access to page depending on user level
I've been asked to build a WordPress that limits access to posts with a particular custom post type based on the logged in users level. There will be a number of pre made user roles and they would ...
0
votes
0answers
134 views
Custom Post Type & Role Capabilities
Thanks to Matthew Boynes I was able to get user roles edited for one of my CPTs using a very elegant solution found here. Now I'm trying to get the same capabilities added to a 2nd CPT and for some ...
0
votes
1answer
49 views
custom post type capabilities - needs to be VERY secure
Hi I'm trying to define custom post type capabilities for staff contracts on an intranet site, so due to the sensitivity of the information this needs to have as best security as possible and simply ...
0
votes
1answer
183 views
How to restrict specific post types from being read or added by specific user roles (eg. author)?
I'm not very clear how to restrict admin area post types access to specific user roles.
In my case, I have some post type such as "suppliers" which I do not want to show to "authors".
By default WP ...
0
votes
1answer
60 views
Custom post type & role issues
I am having issues with using custom post types and custom user roles. I created a custom post type called Businesses. Then I created capabilities for users of a certain type to be able to add and ...
2
votes
1answer
122 views
Allow Administrator role access to custom capabilities
I'm currently developing a Wordpress business directory plugin with a 'business' custom post type. I have it creating a custom 'business_author' user role on activation and assigning specific ...
1
vote
0answers
348 views
Wordpress capability_type arguments
I don't know how to figured out what's wrong with my code, Why Custom Post Types "Book" doesn't show on my dashboard, I logged as Admin and I use latest WordPress installed 3.4.1
Here with my code
...
4
votes
1answer
266 views
Custom post type capabilities
I've got a somewhat unique scenario that I would appreciate some assistance with.
I have a custom post type, coin, for content that is automatically created by an custom import process. I would like ...
2
votes
1answer
622 views
Role Capabilities: Add New Ones?
I'm trying to create a private type of community ... and the current Capabilities are great, except for the fact that I don't want users of a certain Role being able to see anything that someone else ...
1
vote
1answer
106 views
Organize WordPress site, so it can maintain with huge database
Intro:
Hello, I am making coupon website and I need an advise. So, the structure at the moment is like this:
Coupons ( posts )
Categories of coupons ( categories )
Shops ( tags )
In the near ...
1
vote
1answer
349 views
can't see custom post content filtered under “mine” filter in admin panel
after creating a custom post type with custom post type UI plugin, and
after creating the capabilities for a new role to edit, delete and publish it's own custom posts with User Role Editor plugin, ...
0
votes
1answer
106 views
How to add post of custom type to a category with custom type capabilities
I have created a custom post type 'shows'. And I am using the capabilities argument to create my own custom capabilities. My aim is to have a user (show_manager, say) who can only edit/create shows ...
4
votes
1answer
2k views
How to assign specific users the capability to edit specific pages / posts / custom post types
I'm trying to implement what seemed like a relatively straight forward idea, basically I am building an access control plugin to control viewing and editing of a custom post type (in this case ...
3
votes
2answers
3k views
Possible to hide Custom Post Type UI/Menu from specific User Roles?
What I'm looking to do is completely hide the UI for a custom post type from specific user roles...Ive previously found many resources on how to disable access to using those CPTs but nothing that ...
4
votes
1answer
532 views
Confusion with adding meta capabilities to a role after registering a Custom Post Type with corresponding 'capability_type' parameter
I got quite confused with Custom Post Type (CPT) 'capability_type' parameter and adding generated capabilities to a role.
So I've got a CPT called 'external_role' registered as following:
...
0
votes
0answers
436 views
User roles and custom post type confusion [closed]
I am getting a bit confused by a complex user roles situation and hoping someone can clarify.
My site has content added by student Film Directors. I created a new user role ('Directors') so that each ...
1
vote
2answers
472 views
When you create a custom post type, does that also create capabilities for editing/deleting that post type automatically?
For example, if I create a post type called "destinations" does that automatically create capabilities like "edit_destinations" or "delete_destinations"?
1
vote
1answer
779 views
Define new user capability for custom post types?
If I create a custom post type and want to create custom capabilities for that, how do I do this? For example, I want to let my Editors to edit and create and delete posts and pages, but not the ...
1
vote
1answer
1k views
Allow Users Access to Custom Post Type Only
I am in a similar situation to this person, only I need a bit more hand-holding. I don't have a good understanding of php but can cut and paste code with the best of them.
I have Justin Tadlock's ...
4
votes
1answer
267 views
Can I make user role that can only access a certian content type?
I would like make a custom role that can only access a custom content type that I'm going to be creating in the admin. Is that possible and does any know of any examples or tutorias that I should ...
5
votes
2answers
4k views
Defining capabilities for custom post type
On creation of a custom post type I'm trying to define capabilities but it's not working. What's wrong with this code?
$args = array(
'labels' => $labels,
'public' => true,
...
2
votes
1answer
614 views
Allow user to Edit Posts but not Add New?
For one of my custom post types I want a specific user to be able to edit existing posts created by admin but not be able to Add New posts.
How can this be done?
If I define the user role as not ...
