Names for a set of user capabilities.

learn more… | top users | synonyms (1)

0
votes
1answer
69 views

Display posts from multiple user roles

I have created a custom loop to show only admin posts, but now I would like it to display posts from both admins and contributors. Any help is GREATLY appreciated! Here is what I have so far: ...
0
votes
2answers
109 views

Prevent from deleting any user role but subscriber

In the administration of my blog, I would like to prevent anyone (admin included) from deleting any user unless it is a simple subscriber. Basicaly, in the "users" section of the administration, I ...
3
votes
1answer
53 views

How to not allow custom roles to edit published custom post types?

I have a WP site with a custom role (revisor) and a custom post type (events). What I would like to do is allow my revisors to add new events, but not edit existing. I'm already using the Members ...
1
vote
1answer
45 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 ...
4
votes
1answer
3k views

If current user is admin or editor

How can I check to see if the current logged in user is an admin or an editor? I know how to do each singularly <?php if( current_user_can('editor')) { ?> stuff here for editors ...
0
votes
0answers
50 views

WordPress Custom Post Type Delete Permissions

We've been developing a site recently that is going to have a lot of users and varying levels of permissions for those users. For this we went with Role Scoper but it seems to have a few issues in ...
3
votes
2answers
107 views

User profiles and object associations

I'm coming over from Drupal and I'm very used to the way Drupal handles users and objects (called nodes over there.) I have to learn how WordPress handles these same situations. Since we're going to ...
0
votes
0answers
39 views

Cannot Save User Roles - Set a Role, says Updated, but no Change

thanks for reading my question. I have a Wordpress Site with Delicious Magazine Theme installed. In Users --> Edit User, I want to change a specific user's role to Contributor. When I make the ...
0
votes
0answers
69 views

Set permissions to view custom admin pages by Role, not Capability

When using add_submenu_page(), Is there a way of specifying a Role instead of a Capability? I have added a menu to the WP admin area which has 4x sub-menu pages. The level of access to three of these ...
0
votes
2answers
218 views

Restrict Access in Admin Panel

I want to restrict access to certain plugin pages / normal WP Pages. I've found a way to Hide these pages from the menu but currently not restrict them. For instance, I have an editor and I don't want ...
1
vote
2answers
52 views

Getting a user role from the user login name

The question might be simple. Since I need to fix it soon I had to ask. Currently I am modifying a free plugin. In that I am having the user login string. How can I get the role for that login? ...
0
votes
1answer
13 views

How to stop displaying the Id without losing the functionality

I am using a custom code to make certain plugin's functionality available only with particular capabilities. Here is the code: <?php // Check if User can Edit // Set permission to false = 'not ...
0
votes
1answer
35 views

New Roles and Capabilities in WordPress

I am creating a new role in WordPress, and I would like it to be simlar to an 'author' role, except that this new role only allows 'working with' a specific category (in other words, it allows ...
0
votes
0answers
25 views

Linking a user with a specific post type they are allowed to modify and hide the rest

I've looked everything on internet but didn't found the answer to my problem. Here is my situation. I'm using, for a college website, Wordpress 3.8 and the amazing plugin Advance custom field and CPT ...
0
votes
1answer
69 views

How to change a user role after registering in multisite?

New users who create their own blog in WP Multisite get administrator privilages after registration. However, I don't want them to have so many privilages. I know there is a way to change their role ...
0
votes
0answers
43 views

Compare revisions on pending posts doesn't work for authors and lower

I'm using map meta cap to allow extra permissions (edit/publish/edit_others/read_private/edit_private) if the user and post share a category. Comparing revisions doesn't work beyond the first ...
0
votes
1answer
430 views

the_author_meta('user_url', $author->ID) not working properly. how can I solve this?

I have 2 authors and an admin on my blog. I am using the following code in my contributors.php function contributors() { global $wpdb; $authors = $wpdb->get_results("SELECT ID, ...
0
votes
0answers
101 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
0answers
41 views

Listing comment author role code problem

I use the following code on comments template: <?php $user = get_userdata($comment->user_id); echo $user->roles[0]; ?> But the weird thing is that it is ...
0
votes
1answer
277 views

allow edit of custom post type but not regular posts?

Is it possible to set the capabilities of a role to allow editing of a custom content type but not editing of the regular post types? If so, how would I go about doing that? Thanks!
0
votes
0answers
20 views

How can I update the role of a newly added user when displaying the registration form with a shortcode?

Basically I have a shortcode that includes a registration form(among other things). The custom form itself is also included on wp-login.php and user-new.php if the default role is set to ...
0
votes
1answer
16 views

disable trashability for certain pages

Im building a wp site, that has some pages that only shows when a form has been completed. (think of "thank you for gettin in touch, we'll get back to you as soon as possible" - type pages). I have ...
0
votes
0answers
273 views

Add a user role from a registration form

Is there a way to add/create a Wordpress user role from the woocommerce registration form? I use a plugin called members that allows creation of new roles, but only from the admin page. I want to add ...
0
votes
0answers
141 views

Custom User Role: Upload and edit images, but not edit posts - any other way?

I have a question pretty similar to this one: Why does my custom WP role need edit_posts to edit images? but I couldn't make their solution work. And I couldn't comment there because I don't have ...
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
2answers
41 views

Given multiple admin accounts, how can I make it so that only admin with X username can edit posts

My question is pretty much in the title. I have 2 or more administrators, but I only want the admin with X username to edit the title of the posts while others can only view them. Feel free ...
0
votes
3answers
202 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 ...
2
votes
1answer
115 views

How can I let users to access plugin functions based on roles?

I use a plugin called "Live Edit" to let authors and editors edit the content front-end. But the issue is that the plugin lets any logged in users to edit the content. I want the edit(specified by ...
0
votes
2answers
257 views

WordPress Multisite and S2Member - How to add new users to all blogs?

We have WordPress setup to run as Multisite and are using the S2Member plugin. We are also using a modified version of the 'Multisite User Management' plugin. The Multisite User Management has a ...
0
votes
2answers
108 views

How should I setup the “Users” area to hand over to a client?

We're about to hand over a Wordpress site to a client; this is the first one we've built from scratch. Our "Users" area just consists boringly of the admin login with my work email like so: . ...
1
vote
1answer
278 views

Limit a user to have access to only specified pages?

I have several users that I would like to put in user groups. The reason for this is each user group will have access to a specific set of pages or a specific custom post type. I would like to be able ...
0
votes
0answers
24 views

Allow editor to manage part of the admin settings

I'm using a plugin called Business Hours. I want the editor role to be able to manage the settings for the plugin which are situated in the Settings menu. I know how to allow editors to access all the ...
0
votes
1answer
53 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: ...
0
votes
0answers
134 views

Limit posts/pages in admin to user roles

I'd like to limit the posts and pages listed in the admin area to certain roles. There are plugins out there that can do some of what I need but they aren't granular enough for my needs. For example ...
0
votes
1answer
94 views

Removing or Restricting Access to Page Templates for Editor Role

I have a question about restricting access to page templates for blog editors who may create new pages in the future. During my buildout, I had to create specific templates to add custom features for ...
0
votes
1answer
280 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
1answer
35 views

current-user_can not working in loop

I am using the following loop to show the-content for only contributors as well as Google visitors. But somehow it is not working. <?php if (have_posts()) : while (have_posts()) : ...
0
votes
0answers
48 views

Plugins and user roles

Alot of plugins only allow for Admins to edit, and i want other roles to edit those as well. I have a wp site running WooCommerce which has a user role "shop manager" and i have a plugin that users ...
0
votes
1answer
510 views

Give Editor Access to Custom Theme Options

I have a theme-options.php file and am trying to grant Editor users access to edit it. I've managed to give them access to the page itself by modifying the parameters in this function to include ...
0
votes
0answers
92 views

The capability edit_theme_options is not giving capabilities to add an item to menu

I want to give a user the capability to add pages to the menu. So I gave him the edit_theme_options capability using the User Role Editor plugin. This gives him the capability to see Appearance - ...
0
votes
1answer
88 views

Display and Allow users to edit their own profiles

I'm working on a site that would have different categories of users, and each user will have his own user profile page with a vanity URL, which he can share with others. The users are divided into ...
1
vote
1answer
97 views

How to integrate external user tables with WP?

I have about 10K+ users that I get from a company feed (LDAP). I can authenticate WP via SSO based on someone's username matching on the WP user table. I would like to take the user table I have and ...
0
votes
1answer
31 views

Is there any way to give all users access to one blog in a multisite network without using a plugin?

I know there are various plugins out there to help with multisite user management, but we have a policy of avoiding plugins for a) overzealous security policies, and b) interfering with our already ...
0
votes
0answers
11 views

Create and Assign Page on Signup

I would like users to be able to have a personal page that they can edit when they sign up for an account. I know of WP-MU, but I don't want a blog for each user, just a page of a specific post-type. ...
2
votes
1answer
504 views

Woocommerce: change user role after completing order

:) I'm using wordpress with woocommerce, and I would like to automate the following step. When an order is completed, I would like to change the user role associated with that order id from ...
0
votes
1answer
94 views

Authorize users for specific pages and/or categories

I am managing a Wordpress website for a local sports club, the navigation is something like this: home division archery soccer youth senior volleyball ... I want to enable the people in charge ...
0
votes
1answer
105 views

How to add more than 1 user role to sub-menu pages

I create a plugin with 6 submenu pages. I need 4 of them to be accessible by administrator and a custom user role i created say 'coach' user. Then the 2 of them to be accessible by administrator and ...
2
votes
2answers
280 views

Set a maximum upload count for users on a specific user role

For users with the Contributor user role, I want to restrict the total amount of images that they are allowed to upload. I found this code posted on an answer here: add_filter( 'wp_handle_upload', ...
0
votes
0answers
53 views

Capabilities for custom post type visible in backend but not working

In my plugin I have created a custom post type and defined capabilities for both the subscriber and the administrator role. When I go into the backend and look at the capabilities that are in the ...
0
votes
1answer
393 views

Assigning multiple or additional capabilities to specific users or how to create additional roles like bbpress roles?

even though I think I understand the hierarchy of roles in WordPress, I never really bothered creating my own user roles or custom capabilities. What I need to achieve is to assign a few capabilities ...