Names for a set of user capabilities.

learn more… | top users | synonyms (1)

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
66 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
40 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
370 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
91 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
39 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
240 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
238 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
129 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
184 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
111 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
229 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
93 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
251 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
50 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
126 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
87 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
245 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
34 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
47 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
444 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
81 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
85 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
87 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
26 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
454 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
89 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
99 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
259 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
48 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
366 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 ...
0
votes
0answers
44 views

Showing registration errors on same user role registration page

I have a custom user role eg. abc123 and I created a different registration page having few more fields than original one at ?action=register which opens at ?action=register&role=abc123 like ...
2
votes
1answer
56 views

Users with custom roles can't read each other's comments

My site has a custom role ("coach") with its own set of capabilities (via map_meta_cap along with a few built-in roles). Each user is assigned a page on the site that they "own" and can edit (via a ...
1
vote
1answer
55 views

how to give a user a role?

How possible give a user the 'adminstrator' role? for example I made a user with wp_insert_user(array(..., 'role' => 'Administrator') but it doesn't effect on role of user. thanks.
4
votes
2answers
3k views

Send user activation email when programmatically creating user

I wondered if someone here might be able to help. Basically, I've created a custom registration form that when validated, inserts a user to the user table. function _new_user($data) { // ...
0
votes
1answer
27 views

Subscription list function

I have created a function which automatically adds users with the role of contributor to a list in which they will receive forum (modified mingleforum plugin) updates by email. My problem is that the ...
0
votes
0answers
15 views

How to hide user posts? [duplicate]

I installed 'User Role Editor' plugin in a student journal site where students can submit their assignments and projects. The problem is if someone creates a new user, by default, posts by other users ...
0
votes
1answer
271 views

Restrict custom post content to specific user

I've created a custom post type called Students with custom fields like ID #, Name, year, age, etc. With this, I have also created one "Student" post for each student in a school. What I want to do ...
1
vote
0answers
36 views

User levels and post visibility

I'm having a bit of trouble detecting the view-ability of post types. I've created a front end plugin which lists posts/pages by the author. Testing if a user can edit a certain post type is easy but ...
1
vote
0answers
37 views

Allow user role “salesman” to view only “client” role users

I have created two new roles in my theme, salesman and client. I want, when "salesman" is logged in to be able to view and edit only "client" users. I am trying this code (taken from an answer in this ...
0
votes
2answers
199 views

Editor role cannot save custom theme options

There's a few questions on this site referencing this issue and I've read them and applied the proposed solutions to no avail. I've made a very simple theme options page that appears for the Editor ...
0
votes
1answer
85 views

Get users with different roles and call function on each of them (user_meta)

First of all, I have a custom function in functions.php that gets some author information. This works on great on single posts with a single author. <?php function the_author_box() { ?> <div ...
0
votes
0answers
63 views

Assign specific editor with custom user meta “A” to all authors with custom user meta “A” and exclude all other author access

I am looking to do the following: Logic/layout/cores: All contributors select a school in a custom user profile meta field All contributors also select a club in a custom user profile meta field ...
1
vote
0answers
111 views

Featured image not working, because of custom user role?

I've got a weird issue. My post thumbnails aren't working with a custom role. Images can be uploaded, and when viewing the media uploader they show as attached to the relevant post. However, when ...