The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
9 views

creating different edit screens for different roles

I have created a custom post type and custom role, created the proper capabilities and assigned them so the new role and see and edit their own ctp's entries... but I'd like to create a customized ...
0
votes
0answers
11 views

Add role that restricts user to post in specific category

I'm trying to create a role that restricts the ability to post to a specific category, hiding the other from the checkbox. I don't want to use plugins. I'm looking for a snippet to put in ...
0
votes
1answer
28 views

add_role menu pages are not visible

I added a custom role this way: add_role( 'tabellenadmin', __( 'Tabellenadministrator' ), array( 'activate_plugins' => true, 'delete_others_pages' => true, 'delete_others_posts' ...
0
votes
1answer
8 views

Default taxonomy 'post_tag' added to CPT managing by custom role : nothing in the metabox

I've created a Custom post type, which a custom role can manage : it has only the capabilities for managing this CPT. When registering the CPT, I've set the argument : 'taxonomies' => array( ...
0
votes
2answers
9 views

Custom Roles for access to specific term(s)

I'm looking to create a membership-only site which will serve to display logged-in users their company's stored documents. I have a custom post type named Boxes. I have a custom taxonomy called ...
0
votes
0answers
18 views

Restrict all possible back end options for users

I was looking around for the best BACK END user restriction plugin. I could not find a plugin that is capable to restrict ALL POSSIBLE AND SINGLE OPTIONS. They all allow you to restrict basic options ...
0
votes
1answer
49 views

Create custom role, multisite, add users/sites?

I have seen similar questions however the one I found asking a question close to this was never answered. I am attempting to create a role for our support team on our MultiSite install where they ...
0
votes
0answers
28 views

How to publish custom post type for custom role user and not “submit for review”?

I've created a custom post type 'openproject', where i set capabilities. function custom_post_openproject() { $labels = array( 'name' => 'openproject', 'add_new' => 'Add new ...
0
votes
1answer
31 views

CPT, Custom User Role and problem with user manager

i've create a custom user role using this code: /* aggiungi ruolo */ add_role('brokers', 'Brokers', array( 'read' => true, // True allows that capability 'edit_pages' => true, ...
1
vote
0answers
36 views

Custom Field to a Role?

Is it possible to add custom field to a custom role? Say I want to create roles that represent a membership level and want to add billing options to it. So it'd look like this: Membership level ...
0
votes
0answers
38 views

How to filter user list by role on page template

The template below displays a directory of restrict content pro users. It works just as it should. I'd like to now filter these results based on custom role (let's say "member"). I thought I could add ...
2
votes
0answers
44 views

What's the difference between Role and Meta capabilities; When to use map_meta_cap() filter

I'm getting very confused about the following things: difference between Role and Meta capabilities, difference between Meta and Primitive capabilities, when to use map_meta_cap() filter. There ...
0
votes
0answers
22 views

User is not being deleted from wordpress admin dashboard

I have a wordpress blog and I'm trying to delete a certain user from my admin dashboard. But when I delete this specific user and refresh the page, he remains on the users list. The only thing that ...
0
votes
1answer
88 views

Add role and edit page capabilities

i've create a new user role and i want this user can edit page and use custom post type. For custom post type i've resolve but for the page not function. On backend the user can only see the page ...
0
votes
0answers
33 views

Adding post tags without capability edit_posts

I have a custom role called Event Contributor whose capabilities are limited to the post type "events". The role does not have the capability "edit_posts". The post type "events" has custom ...
0
votes
0answers
71 views

Assign Role and capablitis on frontend registration

I have created 2 custom roles "customer" & "employee" form admin "members" plugin. I am trying to assign these to user registering for site according to options (customer & employee) they ...
0
votes
1answer
108 views

Custom post type media upload error with custom user role

I have created a custom post type named product and assigned a new role manager for it. Everythign works fine, except the media uploader for product. I can even upload images without any error ...
0
votes
1answer
18 views

Limit roles displayed in users.php depending on custom role

I have setup my WordPress installation with a custom role called 'regional_manager' I have given this role the capability to add_users and managed to create a custom snippet for my functions.php file ...
1
vote
0answers
30 views

Add custom role across network in multisite

Maybe this is a duplicate of Add role across network in multisite, but the answers there are not conclusive so I'm asking again. Any help would be deeply appreciated. I'm trying to add two new ...
2
votes
2answers
127 views

How can I prevent a writer from being able to edit an article that has been scheduled?

In the old WordPress that I had, the writer (a type of user that could not publish) was, after an article was schedule, unable to go back to the article and edit it. But now in WordPress 8.1 they (the ...
0
votes
1answer
156 views

Assign multiple roles , overlapping capabilities

What happens if i assign let's say 2 different (custom) roles to a user that both of which have the same (custom) capability?
1
vote
1answer
57 views

Ability to only view (not edit) other user's personal profile information

I have created 2 roles, Center and Student, for my WordPress website with different capabilities using members plugin. I want the student role users to be only able to view and edit their personal ...
0
votes
2answers
327 views

WordPress edit_user_profile_update update secondary role

I am trying to save secondary role field in user-edit.php which is independent of WP's main roles. I had no problem with saving other custom fields that are unique but for roles (wp_capabilities), it ...
0
votes
1answer
24 views

Letting users create a post that is a custom post type from a page

I'm trying to create a kind of "Request for Proposals" system for a blog that belongs to a client of mine. I'm not too sure how to go about this, but so far I've outlined this much.. I know there ...
1
vote
0answers
228 views

Custom role conflict with NextGen-Gallery [closed]

EDIT: I've discovered that on a clean install of Wordpress and a reset database, the NextGen plugin appears to return this error with any standard Wordpress role except Administrator. Perhaps I ...
0
votes
2answers
108 views

Prevent user from editing others posts

I have declared a new post type and it is visible on the admin menu: function create_post_type() { register_post_type( 'employer_fm', array( 'labels' => array( 'name' => ...
0
votes
0answers
136 views

Permission to change post Author

I am trying to create a "limited admin" but I cannot manage to give this user rights to change the author of posts. The regular administrator can see the dropdown option to change author from both ...
0
votes
1answer
30 views

Is there a way for a limited user to just view the page of a post without being able to edit it?

I have multiple types of users using WordPress. One type is contributor. Right now they can't publish a post, it as to be the Admin or Editor. The problem I have is after the article is publish the ...
0
votes
1answer
59 views

Preventing role reading others posts

I've got a custom post type that I want to allow a specific user role to add posts to, however they must not be able to read posts from others. Here's my custom post type code: ...
4
votes
1answer
42 views

Possible to make custom role in multisite that can add sites?

I am creating a network on MultiSite, and am wanting to keep the Super Admin privileges very tightly locked. This setup is hosed on WPengine, and they add their plugin in the dashboard that shows the ...
0
votes
1answer
383 views

gform_pre_render Dropdown populated with roles [closed]

I'm using gravity forms and trying to prepopulate a dropdown with a list of roles. This is what I have, but it's coming up with an error: add_filter("gform_pre_render", ...
4
votes
4answers
171 views

Create un-removeable user

How can I add a Wordpress user that can't be deleted (at all cost, not even by a superadmin) with some code? I can't find anything on Google about such a god-account. This morning a client of our ...
0
votes
1answer
71 views

Is there a way of retrieving the core WP capabilities?

I've created a plugin that adds new capabilities & assigns them to both WP & core WP roles. I would like to remove these capabilities when the plugin is deactivated, but I need to check that ...
-1
votes
1answer
230 views

WordPress Role Capability Restriction

I am working on a travelling site and planning to add following feature to the portal. User Registration capability. Let user manage there profile Let user submit there travel story for approval. ...
2
votes
1answer
184 views

Add role across network in multisite

I have been trying to add new wordpress roles and capabilities, in a multisite installation, using the code below. The issue is, it only applies to the 'main' site of the multisite, and does not ...
0
votes
1answer
567 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
0answers
47 views

How to make a plugin appear only to a certain role of user?

I'm using a plugin called "Team Result", to create team results and things like that. It appeared on the dashboard for admin(me). As you can see in this print ...
1
vote
0answers
61 views

Purpose of Adding Capability to Role But Not Grant?

I am attempting to create a custom role upon activation of my plugin. Along with that role, I wanted to add new capability to that role to access later. Now, after reading the Codex, I am totally ...
2
votes
1answer
127 views

Is there a way to localize role labels?

I'm using Justin Tadlock's Members plugin to create new roles and WP Role on Registration to display them on the registration form. I've got a multilang site (English and Spanish) and I've localized ...
0
votes
1answer
220 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
0answers
86 views

Filter Menu Items by Custom User Role in a page

I want to create a page template where the contents of the menu is filtered. Say, on Template 1, I want only the pages/post created by a custom access role areamanager1 to be displayed on the Menu on ...
0
votes
1answer
57 views

What capability is required to view posts, scheduled in the future, by someone else?

So, I'm trying to create a number of custom roles within my theme to meet with the custom requirements of the site. The first, and most simple, being 'external viewer' who I want to simply be able to ...
2
votes
1answer
514 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
1answer
177 views

How to set where user is redirected to after logging in at wp-login?

So i'm fairly certain this probably has something to do with the fact that I'm using a custom role I've set up in my functions.php file with almost 0 permissions. However, I'm still able to access ...
0
votes
1answer
96 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
2answers
103 views

Unify the roles and caps?

I installed several plugins(buddypress-docs,achievement,bbpress), each one create capabilities for their own post_type. I would prefer to make all roles and capabilities unified into one system, Is ...
0
votes
2answers
174 views

One author not showing in Author drop down list while editing page

USER01 is not showing in Author drop down list while editing a Page if he's in the my custom ROLE "mycustomrole". If I change his role as an AUTHOR, and add the very same custom and non custom ...
0
votes
1answer
196 views

How to add only a (sub) capacity to an user role?

I know I can add capabilities to the any role using the role object and add_cap via functions.php <?php // get the the role object $editor = get_role('editor'); // add $cap capability to ...
0
votes
3answers
754 views

Check whether user can delete a given post

I have run into this problem where the following piece of code always returns true for any post ID supplied to it. current_user_can('delete_posts', $post_id); Normally, the above code should return ...
2
votes
3answers
2k views

Role that can edit only widgets, not other theme options

How could I make particular role access widgets administration menu (wp-admin/widgets.php), but not access other theme administration menu elements. I have got that far as to display Appearance menu ...