Names for a set of user capabilities.

learn more… | top users | synonyms (1)

-1
votes
0answers
4 views

How can I create a separate grouping of user roles (much like bbPress)?

I want to have two user role groups...so that users can be assigned two roles (one in each group). I'm looking for code that I could integrate into an existing theme or plugin. Any suggestions?
0
votes
0answers
10 views

Best way to assign role to user across entire multisite?

We have a content editor role that allows only editing pages/posts, but this user should be able to edit posts/pages on ANY site in the network. The problem is that these users don't have a role on ...
0
votes
0answers
12 views

Assign user to blog and role on signup (Multisite)

This is the code I have, but I think I may be using the wrong hook, or perhaps it has to do with the whole activation mechanism, but it's not actually doing it. The role picker does show up, but after ...
0
votes
0answers
7 views

Author could only see users created by himself

I am not sure if this is an easy way to see own users in wp admin users list. For example i have multiple users with author role. and i want each author to create a user with a special role ...
1
vote
1answer
27 views

Stop users of author role from editing already pending posts

I want to stop authors from being able to constantly edit posts that are already pending review from editors. To clarify; I already have code in my theme that sets live posts to pending and that ...
0
votes
0answers
19 views

Allow users to change author of post

I want to allow people to ghost-write for other people. This is why I've made a custom taxononomy in my custom post types called Author filled with all the author names. Now I realize it's probably ...
0
votes
0answers
5 views

Created blog but did not visit the site: roles not defined

I am encountering a problem. I am on a multisite setting and I would like to create a blog and then before visiting them want to count how many users with certain roles are included in that site. So, ...
0
votes
0answers
9 views

Limit access to pages based on role

I'm looking for recommendations on how to limit page access by role on the front end. No plugins please, i'm looking for most robust code approach. I'm considering using a page meta field to store ...
0
votes
1answer
13 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? ...
0
votes
1answer
24 views

Manage Roles and Capabilities on Multi-site

I am trying to enable some features for Subscriber user role in a eCommerce theme where originally had be set for Admin role and I like to modify that. I tried AAM plugin but for this specific site ...
0
votes
1answer
11 views

Editor Widget Role

i need to give to editor role the access on widget (or if possibile on a specific widget). I use the code on this question and function but i have a problem. The editor can see the widget and also ...
0
votes
1answer
26 views

Is there a way to set the user Role based on email domain

For example if a user registered with the email domain: example@gmail.com They will be set as a contributer. but if any other email such as example@hotmail.com they will be set as a subscriber? ...
0
votes
0answers
14 views

Change user's capabilities at runtime

I've been tasked with limiting who can moderate comments based on a custom defined user field. We basically have a two tier "roles" system, one being the standard WordPress roles, the second being a a ...
0
votes
0answers
8 views

Admin user with just “read” permissions

How can I have a user level who can see everything a normal admin sees, but who can't edit anything? Basically a read only admin. To let a client have a look at the control panel but without letting ...
0
votes
2answers
37 views

Wordpress multisite, allow non super admins to create sites

I'm creating a wordpress multisite for at costumer to uses with his own customers. He need to be able to create a site when he get a new customer, and his customer should be able to control the the ...
0
votes
0answers
23 views

How to Reset Upload Count of User as Admin AND User?

In direct connection to - Set a maximum upload count for users on a specific user role The user, gmazzap, answered the question above by using the following PHP code: add_filter( ...
0
votes
1answer
28 views

Admin Post List Only Show One Category

I want a user to only be able to view a single category type when clicking "posts" in admin. I've tried messing with list_terms_exclusions, but that only seems to be effecting the category management ...
0
votes
1answer
13 views

Disallow “contributors” to edit their own posts once they've been set to “Pending Review”

My question is exactly what is in the title: how can I disallow "contributors" to edit their own posts once they've been set to "Pending Review"? I can't seem to find any documentation on how to do ...
0
votes
0answers
38 views

Restrict Editing by Category

I've tried every possible user role plugin for this, but each of them no longer work with the latest edition of Wordpress (Role Scraper, Restrict Categories, Advanced Access Manager, etc). If a plugin ...
0
votes
0answers
40 views

Allow Contributors to View/Edit Other Contributors' Pending Posts

I'm using the User Role Editor plugin to modify my user group permissions, but it doesn't quite have everything I need. Does anyone know a way to restrict contributors from viewing/editing any posts ...
0
votes
0answers
11 views

wp_dropdown_roles in a page

I have a question, I have been trying to create a page in which the admin can change the roles of a user from a dropdown menu. Just like we do in the user settings in dashboard. I have been trying the ...
0
votes
1answer
22 views

Different email notifications (about pending posts) to different users

I looking for something like this: I have two (or more) groups of users. Each group is responsible to different person. So e.g. if someone from group A send draft, person responsible to group A get ...
1
vote
1answer
32 views

Toggle User Roles with button

I don't know if this is possible, but I've got two user roles: Hero and Legend. When people subscribe to my website, they're assigned the Hero user role. I would like to be able to toggle users to ...
0
votes
0answers
37 views

Translate in wp-login.php page

I'm trying to add a form for the user to register, to choose a role that can edit pages. The code I used is as follows: <?php function my_register_form() { global $wp_roles; ?> <p> ...
0
votes
1answer
55 views

How to sync user database with “user role editor” plugin enabled

I already know how to sync user database for multiple wp installations from this answer. I don't know how to sync user database with custom user roles. Thanks in Advance! :)
1
vote
1answer
42 views

Disable posts, only allow to edit existing pages, not create new ones (create_posts)

I am trying to limit a user role to only be able to edit existing pages, but not create new ones or do anything else like anything with posts. I have read this: Is there an existing capability to ...
0
votes
0answers
39 views

Search results show only content by admin post authors

In my current wordpress project there is an issue with search results. The project includes users of a custom role competitor who are able to upload images in the media library. Since ...
1
vote
0answers
22 views

Get the User ID Who Owns a Given Blog ID in Multisite

I am working on creating a function that will take a $blog_id and return the corresponding $user_id of the user who owns/created the blog in a multi site network. public function ...
0
votes
1answer
57 views

Restrict access to options-*.php pages

I have a custom role named manager with manage_options and read capabilities , i want to restrict him not to access Settings menu, you may say remove manage_options capability but that's not the case ...
0
votes
1answer
27 views

Include administrator in author list

I have this code that is displaying my last active authors. I also would like it to display WP administrators in this list. The code is: $authors = array(); $count = 0; $args=array( 'post_type' ...
0
votes
0answers
20 views

Administrator role missing from Roles list - how to recreate

I used AAM to create different users with different roles. I mistakenly deleted an admin and recreated it. Unfortunately, I cannot create another admin now, as Administrator does not show up in the ...
0
votes
0answers
20 views

edit_theme_options - menus option doesn't appear

I would like to grant access to editors to create/edit or delete menus. If I set up in functions.php the edit_theme_options capability (above), the editor can access the header and background but not ...
0
votes
0answers
34 views

How to show featured image block in custom post type for Author?

I made a custom post type "Dream". Here is the code: //Add custom post type by Akash add_action( 'init', 'create_post_type'); function create_post_type() { register_post_type( ...
0
votes
0answers
35 views

Add user role and add capability to view the plugin from that role

I have created a different user role. I want that role to view my plugin. I have tried adding the capabilities to that role. But it doesn't show up on their dashboard. What to do?
0
votes
0answers
119 views

Failed to Register WordPress Custom User Role via Ajax Submit Form

I edited my WordPress site custom registration page. I've added 2 new user roles: Employer Agent I renamed default WordPress Subscriber role to Job Seeker. And, this Job Seeker role has all the ...
1
vote
1answer
36 views

How change user type from contributor to author

I have 2058 users who are contributors. I need to convert their role to author. How can do it by SQL?
0
votes
0answers
11 views

Why all contributor that have post not have page

I have problem when moved from drupal to wordpress. Now i have user in contributor that have post in my site. This user cannot see his post in my site in homepage. To solved it i convert him to ...
0
votes
0answers
14 views

site roles manage wordpress

Need three users: Admin, Coach, Participant - Participants are under a single coach. - Coaches control multiple participants - Admin sees everyone I have created these three users using add_role(). ...
0
votes
0answers
28 views

How can show all Contributors' Posts

When Contributor add new post in my site, and i approve it, The problem is when any user click in Contributor name to show all posts of this Contributors. It shows me 404 error. So i need a way to ...
0
votes
0answers
81 views

Error: How to allow the “contributor” to upload media in wordpress

am facing a problem with my wordpress site.In my site I prevent/disallow the "contributor" to upload media files. But I want them to upload only the featured image. So what is the trick in that ...
0
votes
1answer
55 views

Bind custom role to admin page

I've made an admin page showing some records accessible from WP admin via www.xyz.com/wp-admin/admin.php?page=show-records-handle. how can I define a new user role bonded to this page? So users ...
0
votes
0answers
33 views

approve need for contributor only not for subscriber

in my site i have one two type of user registration. one is subscribe (general user) and another one contributor. so when register it assign auto this two role. by default wordpress setting admin no ...
0
votes
0answers
34 views

Automatically assign visitor to be a subscriber

I would like to automatically assign every visitor to be a subscriber when they visit my webpage, however they don't need access to the wordpress backend. Is this even possible? I think it is because ...
0
votes
0answers
23 views

How to create a dedicated folder for specific role via registration

I need to include an option in registration page so that user can enter a name for the folder that we can create for them (like this: http://MyDomain.com/User_named_folder or page). I saw this in ...
0
votes
0answers
180 views

How to create child/sub user under parent user

I've created two custom roles called "Parent" and "Child" and want to have the "Parent" user to create multiple "child" users which are nested under that "Parent".
0
votes
0answers
13 views

Roles, groupes or somthing else?

I'm trying to set up a multi-user WordPress website for a couple of hundreds of users. Well divided in 'categories'. And I just don't get it.. How do groups work (plugin), how do Roles work, how does ...
3
votes
2answers
262 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
0answers
38 views

Allow Multisite admin to edit users

i am using wordpress multisite. and i was looking for solution to allow sites admin to edit users that belongs to their website. as i understand, i need to give this permission to site admin to edit ...
0
votes
1answer
25 views

Display based on specific user

I'm struggling to work this out, but can anyone help me on how to write a statement to display a line of text IF the author of a post is equal to a specific USERID? So for example IF THE CURRENT ...
0
votes
1answer
52 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' ...