Names for a set of user capabilities.

learn more… | top users | synonyms (1)

1
vote
2answers
567 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 '...
1
vote
1answer
46 views

Add conditional custom option to 'Display name publicly as' dropdown

Besides the built-in "Display name publicly as" options, I would like to add a custom "name + nickname + surname" option to the dropdown. This custom option should be determined by two conditions: ...
2
votes
1answer
31 views

Allow users to set a post author

I have a website owned by myself that allows people to submit work for us to publish. I have a team of staff who need to create posts..etc I have assigned users the author role which allows them to ...
7
votes
4answers
7k views

Why are my roles not visible in a Multi-site/Network?

My network is showing roles in some sites and not in others. For some reason that I can't explain, when I add a new user, I have no role to choose from on the drop down box of a sub-site in my ...
-3
votes
1answer
21 views

Why User Management Plugins

What are some primary advantages of user management plugins over the standard WordPress system with roles? I think the latter is all I need, as the application only has to log users in and grant them ...
0
votes
0answers
32 views

A user role to view only draft posts

I would like users with the role 'revisor' to see posts in draft status. I've tried the below, but I get a 404 error. What do I need to change? function draft_post_revisor( $query ) { $role = ...
-3
votes
0answers
11 views

ACF required only for specified role

I have a custom field (on a custom post type) that should be required for one role, but optional for another role, from within WP admin. How can this be implemented? Thanks, DC
1
vote
1answer
3k views

Allow editors to post iframes [duplicate]

I just found out that editors are not allowed to post iframes (e.g. YouTube videos). Is it possible to allow it somehow? I use WP Multisite.
1
vote
1answer
412 views

Display User Role Next To Comment

I've search around but I can't seem to find exactly what I'm looking for and for the first time I don't even know where to start. How do I display the user role (Admin, Editor, Author Contributor, ...
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 ...
0
votes
2answers
519 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 ...
-1
votes
0answers
12 views

Topic tags deleted by other participants in bbpress

I am running bbpress(Version 2.5.9) + buddypress(Version 2.5.3) on wordpress version > 4.5.1. In bbpress there are users with Forum Role as Participant and site role as Participant. I have observed ...
0
votes
1answer
27 views

Add new post only in assigned category

Is there any possibility or plugin, that alows me to add a user (example author role) who could add posts but only in one category?
-1
votes
1answer
70 views

Zigconnect Plugin: Allowing editors to remove connections

I'm using the ZigConnect plugin to set relationships between different types of posts. It appears that editors do not have the ability to remove connections, although this works fine for admins. How ...
2
votes
1answer
1k views

Allow contributors to add categories, but not delete

I used a plugin called "User Role Editor" to allow contributors to add categories, but it also lets them delete categories. Any suggestions?
4
votes
2answers
777 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' ); ...
3
votes
1answer
53 views

How to hide post content/meta from everyone except the post author and admin

I'm trying to start myself off here but I can't get my heard around it... How can I hide and author's post content/meta from everyone except the post author and admin? This is my scenario... Schools ...
0
votes
1answer
509 views

Allow an editor to change the author

I am using WordPress multi user and have a set of users set up as Editors who wish to ghost write for another user who is an author. How can they change who the author of the posts is without the ...
0
votes
1answer
538 views

User role editor - Add download files capability

I've got User Role Editor plugin installed and i want to add a capability for download files. I've got some downloads in a custom post type called 'products'. I want only people who are logged in to ...
0
votes
1answer
25 views

Restrict backend but allow to use post.php?action=delete&post=POSTID from front-end

Restrict backend. add_action( 'init', 'blockusers_init' ); function blockusers_init() { if ( is_admin() && ! current_user_can( 'administrator' ) && !( defined( 'DOING_AJAX' ) &...
1
vote
1answer
41 views

Do not execute If User is login as Administrator or any Specific Role

How can I not execute some <script> </script> if the user is an administrator or any specific role? Basically I need to do something like this: <?php if( !User( 'Administrator', '...
0
votes
0answers
11 views

How to loop through all sites and programmatically set auth to roles

I've tried this and googled around, but I don't understand where the problem is. This is for a network with small NGO sites, where you mostly have only one contributor per site, that is admin for that ...
0
votes
6answers
10k views

How can I restore admin capabilities?

So yeah, I'm a genius. I managed delete all my admin capabilities (thank you very much Membership plugin). I could restore them, ...if I had admin access, lol. Anywhoo, how can I give all my ...
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 ...
0
votes
1answer
25 views

How to allow users to view pending posts of a specific custom post type?

I have a form on the front end that allows users to post a custom post type. The posts enters the database as pending for later moderation, how do I allow users to view these posts on the front end? ...
0
votes
0answers
16 views

Create a role specifically for creating and editing a custom post type

I am creating a theme for a business. Using the WCK plugin I have created the custom post type 'teammembers' in which each post is a member of the team (name, role, image). I would like to make it ...
0
votes
1answer
651 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? ...
-1
votes
0answers
7 views

How can I give a user the right to edit pages, which however need to be approved first?

I'm trying to give a user the right to edit pages. However the standard "editor" role in Wordpress give the user the right to publish such changes immediately. Is it possible to let someone edit pages,...
7
votes
2answers
286 views

Remove update nags for non-admins

I'm trying to remove or hide the update nags for non-admin users. As an admin, I see: The popular answer I've seen to handle this says to use: function hide_update_nag() { if ( !...
0
votes
1answer
21 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
27 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
57 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
291 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
1answer
633 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
0answers
18 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
21 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
1answer
16 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
32 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
54 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
46 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 ...
6
votes
1answer
246 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
57 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
45 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
46 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', '...
5
votes
1answer
581 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'=>'...