Names for a set of user capabilities.

learn more… | top users | synonyms (1)

-1
votes
0answers
13 views

role to custom post type

I have created custom post type and assign custom role to it and it works fine the user who has created post can only his post,but i have added a plugin which add car post type and here if i try to ...
-2
votes
0answers
12 views

Woocommerce user first order minimum quantity [on hold]

How to limit a product minimum quantity only for specific user role on his first order e.g if a subscriber wants to buy a product for the first time he must buy atleast 3 product it is only for first ...
0
votes
1answer
17 views

Shared account / dual blogging in WordPress

I am running my own hosting and domain, with Wordpress installed on it. I am planning on posting there regularly, once or twice a day. However, a friend of mine would also like to contribute with his ...
0
votes
0answers
24 views

Allow custom user to Publish, But Not Edit or Delete a custom post type

If I create a custom post type in functions of my theme like this: add_action('init', 'mail_register'); function mail_register() { $labels = array( 'name' => _x('Letters', 'post type ...
0
votes
1answer
48 views

Show global Message in User Profiles with admin only Input field in Wordpress Backend

I try to display a piece of text (without plugin) for example "Quote of the day: Some text" on all user profile pages (.../wp-admin/profile.php). This Text should managable/editable from the Profile ...
1
vote
2answers
3k views

Reset default roles and capabilities

I've been having a difficult time adding custom post type capabilities to roles (Adding capabilities to default roles) and I suspect that my muddling around may have caused some problems. I also have ...
2
votes
2answers
285 views

Allow user to Publish, but not Edit or Delete

I saw post Allow Content Author to Publish, But Not Edit or Delete but is not the same I need and I cannot ask there because of reputation ¬¬ I need an user that can publish any user's post but can't ...
0
votes
0answers
35 views

user management and access to content [on hold]

How can i make on my Wordpress site something like that : 1. I add new user's , this user's can log in/log out to site . 2. This User's have own privte gallery and can see only he's gallery and rest ...
0
votes
1answer
626 views

Allow Content Author to Publish, But Not Edit or Delete

I am hiring a content writer for my WordPress blog. I will be the sole blog admin. I need to define a role for this writer. I was wondering if there was a WordPress user role that will allow him to ...
0
votes
0answers
16 views

Allow all users with a certain role to edit a specific post

I have one particular post that is only editable by the author and admins. I've got a custom role named 'head_of_marketing'. I would like to allow all users with the role 'head_of_marketing' to edit ...
0
votes
1answer
507 views

Custom Roll/Custom Post Type - Can't Select Categories

I am using Justin Tadlock's Members plugin 0.2.4. I have a custom user role "Author" that I am granting permission to post a Custom Post Type "blogpost". The Author can post and edit the CPT blogpost ...
0
votes
0answers
17 views

Site admin that can see everything, but not save

Maybe it's strange question, but I'm interested in it; Is there any way to allow user display everything, that Admin can see (site options, custom types, plugins settings) but disallow to edit ...
-3
votes
1answer
19 views

How to give different user access to different people?

I have a video tutorial website where I have to provide videos. For that purpose I have to give different user access to those who login to particular courses. So can you please help me what is the ...
0
votes
2answers
547 views

Add_menu_page() error message -> “You do not have sufficient permissions to access this page”

I'm currently building a website for a friend and have assigned him the user role of editor. I don't want to give him an administrator role in case he breaks the layout. Anyway, I am using '...
0
votes
1answer
15 views

What is the capability that permits access to WP-Admin?

This is a very simple question but I have made great effort to find it already addressed on the stack. Basically I'm creating a new user role for a freelance web developer and trying to figure out ...
12
votes
2answers
15k 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 ...
0
votes
0answers
30 views

How to change the capabilities from upper case to lower case, while inserting onto database?

I am trying to insert custom user roles like Student, Teacher and Parent. While inserting the capabilities into the database, it is displaying the role in uppercase. I am not able to fetch the user ...
0
votes
0answers
54 views

Getting Cheatin' Uh error when attempting to do anything theme related

I'm getting the "Cheatin'uh" error message when I try to preview or customise themes in any way, which is really rather annoying! I have done (or rather my techie husband has!) the following, based ...
4
votes
1answer
51 views

Hide specific admin users' posts

I'm currently trying to modify my WordPress site so that Authors can not see a specific Admin's posts while editing, but are still able to see each other's posts (as well as the other Admins). With ...
2
votes
1answer
41 views

Create user role restricted to specific CPT

I am trying to create a role that can create and submit to a CPT only. When I take away edit_post from the role, it revokes the ability to create and edit any of the assigned and registered CPTs as ...
0
votes
1answer
1k views

Plugin permissions for Editor role

I've added a plugin called Orbisius Simple Notice but I notice this applied to several plugins I have installed. The plugin works fine when logged in as an Admin. However, my clients who manage the ...
6
votes
1answer
191 views

Create custom user role (client) that can create another custom user role (employee) of that client

Bit of a long question, but I do believe this situation will occur for other people in other contexts. Our company needs to create an Employee Assistance Program MU subdirectory network site where ...
0
votes
2answers
54 views

Disable plugin per user role

I must disable a discount plugin for certain user role, I have wrote this and put in the child-theme functions.php global $woocommerce; get_currentuserinfo(); global $current_user; if ($...
0
votes
0answers
40 views

How to bulk change user role to “No role for this site”

If I edit an individual user, the role dropdown menu has the option "— No role for this site —" (<option value="">— No role for this site —</option>): However this option doesn't exist ...
0
votes
0answers
10 views

Editor user role can't publish pages

I need the editor role to be able to publish pages, I've added this to my functions.php $editor = get_role('editor'); $editor->add_cap('edit_theme_options'); $editor->add_cap('tools_import'); $...
0
votes
2answers
40 views

Get Sticky User in user loop based on user role

I have this shortcode to display a loop of user avatars with order by registration date. function Profiles() { $args = array( 'orderby' => 'registered', 'order' => 'DESC', '...
0
votes
3answers
3k views

Allow a user to edit their own page and profile only

I am creating a WP site that has a list of members, where each member (about 20) has their own page. Each member page is created by an admin, but now i am stuck. I would like the content of each ...
5
votes
1answer
519 views

How to allow an user role to create a new user under a role which lower than his level only?

I have three extra roles in my site. Doctor Receptionist Guest those roles are added by following code: * adding Doctor role */ $doctor_role = add_role('Doctor', __('Doctor'), array('read'=>'...
-1
votes
0answers
20 views

Custom role first in role dropdown menu at user-new.php

I created custom role "team/Team Member" using famous plugin "User Role Editor" free version, It would be great if the role comes up at top in dropdown menu at Add a new user (user-new.php) page , ...
2
votes
1answer
1k views

How to remove “Super Admin” from All Users for those that are not a “Super Admin”?

I would like to remove the filter at the top that says "Super Admin" for users that are not a "Super Admin". How do I go about doing this? This screenshot shows what I am talking about:
0
votes
1answer
574 views

Allow editors access to added plugins

I created a custom plugin which i want Users who are Editors to be able to use the plugin. I found a link here to allow access for editors to allow editors to edit menusallow editors to edit menus? ...
3
votes
1answer
703 views

Deactivate plugin for a specific user group

I would like to deactivate a plugin for a specific user. I'm using the following code inside a the wp-content/plugin-mu plugin file: add_filter( 'option_active_plugins', 'bo_disable_apm_plugin' ); ...
25
votes
4answers
12k views

Getting a List of Currently Available Roles on a WordPress Site?

When writing WordPress plugins there is often a need to set up options for which roles on the site have access to certain functionality or content. To do this a plugin dev needs to fetch the list of ...
1
vote
1answer
30 views

How to get all capabilities of an existing user role

How can I get ALL the capabilities of an existing user role (eg. Author) ? I'll be using it to quickly duplicate an existing user role, then create a new role then assign or remove capabilities to a ...
-1
votes
1answer
448 views

Multiple authors for single post without plugin

I'm new to using WordPress and so, apologies in advance if this seems like a very basic question. I want to have multiple authors for single post. I had seen Co-Author. But I don't have to use plugin ...
1
vote
1answer
184 views

Remove admin AND editor from the “change role to” menu in user listing

I have a snippet in my functions.php that removes the admin role from the "change role to" drop down menu in the users listing screen, so that editors who can list users and manage roles won't be ...
0
votes
1answer
20 views

Change users.php WP_User_Query

A client has requested to have two kinds of custom user roles, and have those users displayed in an Admin Menu Page of its own. So far, I've achieved that using WP_List_Table with success. Now, the ...
3
votes
2answers
66 views

wp_insert_user role not working

I have be trying this all day but it is not working how do I set a role for the current user I am inserting with the wp_insert_user() function $userdata = array( 'user_login' => $username, '...
1
vote
4answers
1k views

Capability to edit own posts and not others

What is the capability that let users to edit their own posts and not others? I am trying to enable the post authors to avail a plugin function only on the posts they own. The permission to access ...
5
votes
2answers
91 views

How to update user role without logout

I am working on a wordpress project with the following plugins : Woocommerce Woocommerce product vendors WP Job Manager Wp Job Manager products I am trying to upgrade the user role after adding a ...
5
votes
3answers
2k views

How to let contributors to create a new revision(draft) editing their published posts

I'm using a custom post type to let contributors have a personal page on the site. Any time a user registers on my site a script creates a custom type post that has the registering user as the author....
0
votes
0answers
14 views

Limit editing capabilities to one page [duplicate]

I have one user on WP website. I want to give him editor role because he need to edit pages and as I see - edit_pages capability requires user to be at least editor. The problem is that i want to ...
1
vote
2answers
46 views

Role can edit just one page [closed]

I've built a site for a client, only ten pages, nothing especially big, and created a role for the group members called Blogger, as the staff need to all be able to both blog and access a couple of ...
0
votes
0answers
14 views

Multisite - custom user role assigned to user in all sites

I have a user A which should have following capabilities: site 1 / the main blog page= custom user role ("calendar only") site 2 = editor But the problem is that if I assign the custom role on the ...
1
vote
0answers
19 views

Add custom capabilities to existing custom post type

The only way I can find to associate post types with custom capabilities is during the register_post_type function. I'm looking to add a capability for a certain role (my_role) for a post type that ...
0
votes
1answer
462 views

add user role selection to registration form [duplicate]

I need to add a select box or something like that into registration form in order to let my users to select custom roles I have defined.
1
vote
0answers
33 views

Add additional 'description' field for defined roles / role metadata?

Is it possible to add an additional field for "description" to each defined role? (Administrator, Editor etc, plus custom roles). I'm using Justin Tadlock's Members Plugin and have created some ...
1
vote
1answer
55 views

How To Remove Dashboard Menu Items for Multisite Users?

I'm trying to remove some menu items in the Dashboard of Multisite users. For example my domain name is xyz.com, his site will be xyz.com/user. When he logs in to WP Dashboard under xyz.com/user/wp-...
0
votes
2answers
52 views

If user is logged in and has a role echo statement

I currently have a dive set up which I would like to display different bits of information when the user is logged in and has a specific role. I have three roles 'administrator' 'adoption-agency' ...
0
votes
0answers
37 views

Restrict access to shop pages for user role subscriber

im realizing an member area with the plugin WP-Members. I have to add an shop in this member area. My problem now is that i have just one user with the role of subscriber to enter the blocked content. ...